![]() |
VR-Forces 5.0.2 Developer's Guide
|
DtDynamicFeaturesContoller; creates dynamic features from entities.
DtDynamicFeaturesContoller

Protected Attributes | |
| const DtSimObject * | myObject |
| DtObjectType | 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 boost::shared_ptr < DtDynamicFeature > | Ptr |
| typedef boost::shared_ptr < const DtDynamicFeature > | CPtr |
Public Types inherited from MAKVRinTerra::DtFeature | |
| typedef boost::shared_ptr < DtFeature > | Ptr |
| typedef boost::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::auto_ptr< DtFeature > | CreateEmptyFeature () |
| static std::auto_ptr< DtFeature > | CreateGeometryFeature (const DtFeatureGeometry &) |
| static std::auto_ptr< DtFeature > | CreateGeometryFeature (const DtFeatureGeometry &, unsigned char red, unsigned char green, unsigned char blue) |
| static std::auto_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 |
|
virtual |
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.
|
virtual |
Calls the provided callback on each attribute.
Reimplemented from MAKVRinTerra::DtFeature.
|
virtual |
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.
Get attribute at a certain key.
Reimplemented from MAKVRinTerra::DtFeature.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |