![]() |
VR-Forces Developer's Guide
|

Public Member Functions | |
| DtVrfObjectFeature (DtSimObjectReference object) | |
| virtual MAKVRinTerra::DtFeature * | clone () const override |
| virtual void | forEachAttribute (ForEachFunction) const override |
| virtual unsigned | numberOfAttributes (const Key::String &) const override |
| virtual bool | hasAttribute (const Key &) const override |
| virtual boost::optional < Attribute > | attribute (const Key &) const override |
| virtual DtEntityType | objectType () const |
| virtual std::string | objectName () const |
| virtual std::string | objectUuid () const |
| virtual DtVector | position () const |
| virtual boost::optional< double > | percentComplete () const |
| virtual boost::optional< bool > | isBreached () const |
Public Member Functions inherited from MAKVRinTerra::DtDynamicFeature< MAKVRinTerra::DtFeature > | |
| DtDynamicFeature (DtFeatureGeometry geom=DtFeatureGeometry()) | |
| ~DtDynamicFeature () | |
| DtFeature * | clone () const |
| DtFeatureGeometry | geometry () const |
| void | forEachAttribute (ForEachFunction func) const |
| unsigned | numberOfAttributes (const typename Key::String &name) const |
| bool | hasAttribute (const Key &k) const |
| boost::optional< Attribute > | attribute (const Key &k) const |
| DetachCallback | addDeleteCallback (const DeleteCallback &callback) const |
| bool | isDeleted () const |
| void | setDeleted () |
Public Member Functions inherited from MAKVRinTerra::DtFeature | |
| DtFeature () | |
| virtual | ~DtFeature () |
| template<typename T > | |
| boost::optional< T > | attributeAs (const Key &k) const |
| DtFeature (const DtFeature &) | |
Protected Attributes | |
| DtSimObjectReference | myObject |
| DtEntityType | myObjectType |
| std::string | myObjectTypeString |
| DtVector | myLastPosition |
Protected Attributes inherited from MAKVRinTerra::DtDynamicFeature< MAKVRinTerra::DtFeature > | |
| Mutex | myMutex |
| bool | myDeletedFlag |
| DeleteSignal | myDeleteSignal |
| DtFeatureGeometry | myGeometry |
| AttributeMap | myAttributes |
Private Types | |
| typedef MAKVRinTerra::DtDynamicFeature < MAKVRinTerra::DtFeature > | Base |
Additional Inherited Members | |
Public Types inherited from MAKVRinTerra::DtDynamicFeature< MAKVRinTerra::DtFeature > | |
| typedef MAKVRinTerra::DtFeature::ForEachFunction | ForEachFunction |
| typedef MAKVRinTerra::DtFeature::Key | Key |
| typedef MAKVRinTerra::DtFeature::Attribute | Attribute |
| typedef MAKVRinTerra::DtFeature::DeleteCallback | DeleteCallback |
| typedef MAKVRinTerra::DtFeature::DetachCallback | DetachCallback |
| typedef std::shared_ptr < DtDynamicFeature > | Ptr |
| typedef std::shared_ptr< const DtDynamicFeature > | CPtr |
Public Types inherited from MAKVRinTerra::DtFeature | |
| typedef std::shared_ptr < DtFeature > | Ptr |
| typedef std::shared_ptr< const DtFeature > | CPtr |
| typedef boost::variant < std::string, long long, bool, double > | Attribute |
| typedef boost::function< void(const Key &, const Attribute &)> | ForEachFunction |
| typedef boost::function< void()> | DetachCallback |
| typedef boost::function< void()> | DeleteCallback |
Static Public Member Functions inherited from MAKVRinTerra::DtFeature | |
| template<typename T > | |
| static boost::optional< T > | ConvertAttribute (const Attribute &attr) |
| static std::string | TypeOfAttribute (const Attribute &) |
| static std::unique_ptr< DtFeature > | CreateEmptyFeature () |
| static std::unique_ptr< DtFeature > | CreateGeometryFeature (const DtFeatureGeometry &) |
| static std::unique_ptr< DtFeature > | CreateGeometryFeature (const DtFeatureGeometry &, unsigned char red, unsigned char green, unsigned char blue) |
| static std::unique_ptr< DtFeature > | CreateCopy (const DtFeature &feature) |
| static bool | Equal (const Attribute &, const Attribute &) |
| static bool | NotEqual (const Attribute &, const Attribute &) |
| static bool | Less (const Attribute &, const Attribute &) |
| static bool | LessOrEqual (const Attribute &, const Attribute &) |
| static bool | Greater (const Attribute &, const Attribute &) |
| static bool | GreaterOrEqual (const Attribute &, const Attribute &) |
| static bool | Regex (const Attribute &text, const Attribute &pattern) |
Static Public Attributes inherited from MAKVRinTerra::DtFeature | |
| static const char * | TypeName |
Protected Types inherited from MAKVRinTerra::DtDynamicFeature< MAKVRinTerra::DtFeature > | |
| typedef tbb::spin_rw_mutex | Mutex |
| typedef boost::signals2::signal< void()> | DeleteSignal |
| typedef std::map< Key, Attribute > | AttributeMap |
|
explicit |
|
overridevirtual |
Return a pointer to an object which represents the current feature. In order to enable paging and efficient representation of features, this method should return a pointer to feature which contains all the same data as the current feature but may be a different object. This allows DtFeature objects to be created on the stack and to not create the actual heap allocated and page tracked object until the point at which it is needed.
Reimplemented from MAKVRinTerra::DtFeature.
|
overridevirtual |
Calls the provided callback on each attribute.
Reimplemented from MAKVRinTerra::DtFeature.
|
overridevirtual |
Number of attributes with a given key.
Reimplemented from MAKVRinTerra::DtFeature.
Check to see if this feature has an attribute of a specific type.
Reimplemented from MAKVRinTerra::DtFeature.
|
overridevirtual |
Get attribute at a certain key.
Reimplemented from MAKVRinTerra::DtFeature.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |