VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Types
DtVrfObjectFeature Class Reference
Inheritance diagram for DtVrfObjectFeature:
Inheritance graph
[legend]

Public Member Functions

 DtVrfObjectFeature (DtSimObjectReference object)
 
virtual MAKVRinTerra::DtFeatureclone () 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< doublepercentComplete () const
 
virtual boost::optional< boolisBreached () const
 
- Public Member Functions inherited from MAKVRinTerra::DtDynamicFeature< MAKVRinTerra::DtFeature >
 DtDynamicFeature (DtFeatureGeometry geom=DtFeatureGeometry())
 
 ~DtDynamicFeature ()
 
DtFeatureclone () 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< Attributeattribute (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< DtFeatureCreateEmptyFeature ()
 
static std::unique_ptr< DtFeatureCreateGeometryFeature (const DtFeatureGeometry &)
 
static std::unique_ptr< DtFeatureCreateGeometryFeature (const DtFeatureGeometry &, unsigned char red, unsigned char green, unsigned char blue)
 
static std::unique_ptr< DtFeatureCreateCopy (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 charTypeName
 
- Protected Types inherited from MAKVRinTerra::DtDynamicFeature< MAKVRinTerra::DtFeature >
typedef tbb::spin_rw_mutex Mutex
 
typedef
boost::signals2::signal< void()> 
DeleteSignal
 
typedef std::map< Key, AttributeAttributeMap
 

Member Typedef Documentation

Constructor & Destructor Documentation

DtVrfObjectFeature::DtVrfObjectFeature ( DtSimObjectReference  object)
explicit

Member Function Documentation

virtual MAKVRinTerra::DtFeature* DtVrfObjectFeature::clone ( ) const
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.

virtual void DtVrfObjectFeature::forEachAttribute ( ForEachFunction  f) const
overridevirtual

Calls the provided callback on each attribute.

Reimplemented from MAKVRinTerra::DtFeature.

virtual unsigned DtVrfObjectFeature::numberOfAttributes ( const Key::String ) const
overridevirtual

Number of attributes with a given key.

Reimplemented from MAKVRinTerra::DtFeature.

virtual bool DtVrfObjectFeature::hasAttribute ( const Key k) const
overridevirtual

Check to see if this feature has an attribute of a specific type.

Reimplemented from MAKVRinTerra::DtFeature.

virtual boost::optional<Attribute> DtVrfObjectFeature::attribute ( const Key ) const
overridevirtual

Get attribute at a certain key.

Reimplemented from MAKVRinTerra::DtFeature.

virtual DtEntityType DtVrfObjectFeature::objectType ( ) const
virtual
virtual std::string DtVrfObjectFeature::objectName ( ) const
virtual
virtual std::string DtVrfObjectFeature::objectUuid ( ) const
virtual
virtual DtVector DtVrfObjectFeature::position ( ) const
virtual
virtual boost::optional<double> DtVrfObjectFeature::percentComplete ( ) const
virtual
virtual boost::optional<bool> DtVrfObjectFeature::isBreached ( ) const
virtual

Member Data Documentation

DtSimObjectReference DtVrfObjectFeature::myObject
protected
DtEntityType DtVrfObjectFeature::myObjectType
protected
std::string DtVrfObjectFeature::myObjectTypeString
protected
DtVector DtVrfObjectFeature::myLastPosition
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)