#include <vos/metaobjects/property/property.hh>
Inheritance diagram for Property:
The Property classes store this data in two forms: decoded and raw. The raw data is the data as it exists within the VOS system. This data may be decoded according to its datatype before being read out of this class (then cached). The read(), getLength(), and getDataType() methods are for the decoded data and final (usually, MIME) type. The readRaw(), getRawLength() and getRawDataType() methods are for the raw data. Data is decoded using the TypeChain class.
Definition at line 60 of file property.hh.
|
Definition at line 77 of file property.hh. |
|
Definition at line 81 of file property.cc. |
|
|
|
Add a new property listener to this property. This listener's methods will be called when the property is modified.
Reimplemented in LocalProperty, and RemoteProperty. Definition at line 560 of file property.cc. Referenced by RemoteProperty::addPropertyListener(), LocalProperty::addPropertyListener(), and main(). |
|
Download property and call notifyPropertyWrite when done.
Reimplemented in RemoteProperty. Definition at line 175 of file property.cc. |
|
Download property and call notifyPropertyReplaced when done.
Reimplemented in RemoteProperty. Definition at line 162 of file property.cc. |
|
Decodes data if need be.
Reimplemented in RemoteProperty. Definition at line 95 of file property.cc. Referenced by RemoteProperty::checkDecoded(), getDataType(), getLength(), and read(). |
|
Reimplemented in ExtrapolatedProperty. Definition at line 598 of file property.cc. Referenced by ExtrapolatedProperty::doExcise(). |
|
Definition at line 619 of file property.cc. |
|
Definition at line 433 of file property.cc. |
|
|
|
Definition at line 399 of file property.cc. |
|
Definition at line 421 of file property.cc. |
|
Definition at line 446 of file property.cc. |
|
Definition at line 453 of file property.cc. Referenced by getFloatProperty(), A3DL::Texture::getTransparency(), A3DL::Material::getTransparency(), and VOSGUI::NumericInput::getValue(). |
|
Parse contents of property named 'name' into a vector of doubles.
Definition at line 498 of file property.cc. Referenced by Avatar3D::getPointerPosition(). |
|
Definition at line 370 of file property.cc. |
|
Definition at line 360 of file property.cc. |
|
Definition at line 350 of file property.cc. |
|
Definition at line 339 of file property.cc. Referenced by getIntProperty(), and VOSGUI::SelectValue::getRadioSize(). |
|
Get length (bytes) of decoded data.
Reimplemented in ExtrapolatedProperty, ExtrapolatedLocalProperty, ExtrapolatedRemoteProperty, and RemoteProperty. Definition at line 106 of file property.cc. Referenced by BufferedLocalProperty::flush(), RemoteProperty::getLength(), and BufferedLocalProperty::replace(). |
|
Definition at line 328 of file property.cc. |
|
Definition at line 321 of file property.cc. Referenced by getFloatVectorProperty(), VOSGUI::Container::getLayout(), getProperty(), VOSGUI::SelectValue::getRadioOrientation(), and VOSGUI::SelectValue::getStyle(). |
|
Return type of raw, undeocded data (a typechain string).
Reimplemented in RemoteProperty. Definition at line 214 of file property.cc. Referenced by RemoteProperty::getRawDataType(), LocalProperty::readHandler(), and LocalProperty::replaceHandler(). |
|
Get length (bytes) of undecoded, raw data.
Reimplemented in ExtrapolatedProperty, ExtrapolatedLocalProperty, ExtrapolatedRemoteProperty, FileProperty, and RemoteProperty. Definition at line 135 of file property.cc. Referenced by LocalProperty::getLengthHandler(), RemoteProperty::getRawLength(), and readRaw(). |
|
Return MetaObject type, "property".
Reimplemented in ExtrapolatedProperty. Definition at line 90 of file property.cc. |
|
Reimplemented in ExtrapolatedProperty. Definition at line 580 of file property.cc. Referenced by ExtrapolatedProperty::notifyObjectExcise(). |
|
Return substring of decoded data, possibly performing decode if necesary.
Definition at line 129 of file property.cc. |
|
Return decoded data, possibly performing decode if necesary.
Definition at line 123 of file property.cc. Referenced by LocalProperty::addPropertyListener(), asyncRead(), BufferedLocalProperty::flush(), LocalProperty::getLengthHandler(), RemoteProperty::read(), read(), ExtrapolatedRemoteProperty::read(), ExtrapolatedLocalProperty::read(), LocalProperty::readHandler(), LocalProperty::replace(), BufferedRemoteProperty::replace(), BufferedLocalProperty::replace(), LocalProperty::replaceHandler(), LocalProperty::startListeningHandler(), LocalProperty::write(), BufferedRemoteProperty::write(), BufferedLocalProperty::write(), LocalProperty::writeHandler(), and writeToFile(). |
|
Read a substring of decoded data into target, possibly performing decode if necesary.
Reimplemented in ExtrapolatedProperty, ExtrapolatedLocalProperty, ExtrapolatedRemoteProperty, FileProperty, and RemoteProperty. Definition at line 115 of file property.cc. |
|
|
Read data from file into this property.
Definition at line 512 of file property.cc. |
|
Return substring of raw, undecoded data.
Definition at line 156 of file property.cc. |
|
|
Read substring of raw data into target. This is the fundamental method which the other read() methods are based on, so you only have to override this.
Reimplemented in ExtrapolatedProperty, ExtrapolatedLocalProperty, ExtrapolatedRemoteProperty, FileProperty, and RemoteProperty. Definition at line 143 of file property.cc. |
|
Read raw, undecoded data into target.
Definition at line 139 of file property.cc. |
|
Register property type with factory.
Reimplemented in BufferedLocalProperty, BufferedRemoteProperty, DBProperty, ExtrapolatedProperty, FileProperty, GPSPosition, and PGDBProperty. Definition at line 218 of file property.cc. Referenced by main(). |
|
Remove the property listener 'pl' from this property.
Reimplemented in RemoteProperty. Definition at line 569 of file property.cc. Referenced by notifyObjectExcise(), RemoteProperty::removePropertyListener(), and LocalProperty::stopListeningHandler(). |
|
Completely change the value and type of data stored in this property.
Reimplemented in BufferedLocalProperty, BufferedRemoteProperty, DBProperty, ExtrapolatedLocalProperty, FileProperty, LocalProperty, and RemoteProperty. Definition at line 199 of file property.cc. Referenced by main(), readFromFile(), LocalProperty::replace(), FileProperty::replace(), BufferedRemoteProperty::replace(), BufferedLocalProperty::replace(), A3DL::PolygonMesh::setNormals(), A3DL::PolygonMesh::setPolygons(), setPropertyWithReturn(), A3DL::PolygonMesh::setTexels(), A3DL::PolygonMesh::setTextureSpaces(), A3DL::PolygonMesh::setVertices(), and ExtrapolatedProperty::update(). |
|
Definition at line 475 of file property.cc. Referenced by VOSGUI::Container::setCompact(), VOSGUI::Widget::setEnabled(), A3DL::Texture::setShaded(), VOSGUI::SliderNumericInput::setShowLabels(), and VOSGUI::Widget::setVisible(). |
|
Definition at line 469 of file property.cc. |
|
Definition at line 462 of file property.cc. Referenced by A3DL::Texture::setTransparency(), and A3DL::Material::setTransparency(). |
|
Definition at line 485 of file property.cc. Referenced by Avatar3D::setPointerPosition(). |
|
Definition at line 389 of file property.cc. |
|
Definition at line 381 of file property.cc. Referenced by setIntProperty(), and VOSGUI::SelectValue::setRadioSize(). |
|
Set a subproperty, creating it if necesary named 'propname' of 'on', to 'propval'.
Definition at line 285 of file property.cc. |
|
|
Set a subproperty on an object, returning relation between object and property.
Definition at line 294 of file property.cc. |
|
Set a subproperty on an object, returning relation between object and property.
Definition at line 249 of file property.cc. |
|
Write newdata into property value, starting at byte position start.
Reimplemented in BufferedLocalProperty, BufferedRemoteProperty, DBProperty, ExtrapolatedLocalProperty, FileProperty, LocalProperty, and RemoteProperty. Definition at line 190 of file property.cc. Referenced by main(), A3DL::PolygonMesh::setNormal(), A3DL::PolygonMesh::setPolygon(), A3DL::PolygonMesh::setTexel(), A3DL::PolygonMesh::setTextureSpace(), A3DL::PolygonMesh::setVertex(), LocalProperty::write(), BufferedRemoteProperty::write(), and BufferedLocalProperty::write(). |
|
Write raw, undecoded property data to file
Definition at line 547 of file property.cc. |
|
Definition at line 312 of file property.hh. |
|
write contents of s to a file named filename.
Definition at line 530 of file property.cc. Referenced by writeRawToFile(), and writeToFile(). |
|
Write decoded property value of p to a file named filename. if offset and length are supplied, write substring.
Definition at line 540 of file property.cc. |
|
Definition at line 300 of file property.hh. |
|
Definition at line 68 of file property.hh. Referenced by RemoteProperty::asyncRead(), checkDecoded(), RemoteProperty::clearCache(), and read(). |
|
Definition at line 70 of file property.hh. Referenced by checkDecoded(), RemoteProperty::clearCache(), and getLength(). |
|
Definition at line 69 of file property.hh. Referenced by checkDecoded(), RemoteProperty::clearCache(), and getDataType(). |
|
Definition at line 71 of file property.hh. Referenced by checkDecoded(), RemoteProperty::clearCache(), replace(), and write(). |
|
Definition at line 79 of file property.hh. Referenced by RemoteProperty::addPropertyListener(), addPropertyListener(), RemoteProperty::asyncRead(), asyncRead(), doExcise(), BufferedLocalProperty::flush(), RemoteProperty::getRawLength(), notifyObjectExcise(), RemoteProperty::readRaw(), RemoteProperty::removePropertyListener(), removePropertyListener(), LocalProperty::replace(), BufferedRemoteProperty::replace(), BufferedLocalProperty::replace(), LocalProperty::replaceHandler(), LocalProperty::stopListeningHandler(), LocalProperty::write(), BufferedRemoteProperty::write(), BufferedLocalProperty::write(), and LocalProperty::writeHandler(). |
|
Definition at line 65 of file property.hh. Referenced by RemoteProperty::clearCache(), LocalProperty::LocalProperty(), readRaw(), replace(), write(), and ExtrapolatedLocalProperty::write(). |
|
Definition at line 66 of file property.hh. Referenced by checkDecoded(), RemoteProperty::clearCache(), RemoteProperty::getRawDataType(), getRawDataType(), LocalProperty::LocalProperty(), and replace(). |
|
Definition at line 67 of file property.hh. Referenced by RemoteProperty::clearCache(), getRawLength(), LocalProperty::LocalProperty(), replace(), and write(). |