VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
DtAggregateVrfObjectFeature Class Reference

DtAggregateDynamicFeaturesContoller; creates dynamic features from entities. More...

Inheritance diagram for DtAggregateVrfObjectFeature:
Inheritance graph
[legend]

Public Member Functions

 DtAggregateVrfObjectFeature (const DtVrfObject *object)
 
virtual boost::optional< doublepercentComplete () const
 
virtual boost::optional< boolisBreached () const
 
- Public Member Functions inherited from DtVrfObjectFeature
 DtVrfObjectFeature (const DtVrfObject *object)
 
MAKVRinTerra::DtFeatureclone () const
 Return a pointer to an object which represents the current feature. More...
 
void forEachAttribute (ForEachFunction) const
 Calls the provided callback on each attribute. More...
 
unsigned numberOfAttributes (const Key::String &) const
 Number of attributes with a given key. More...
 
bool hasAttribute (const Key &) const
 Check to see if this feature has an attribute of a specific type. More...
 
boost::optional< Attributeattribute (const Key &) const
 Get attribute at a certain key. More...
 
virtual DtObjectType objectType () const
 
virtual std::string objectName () const
 
virtual std::string objectUuid () const
 
virtual DtVector position () const
 
- Public Member Functions inherited from MAKVRinTerra::DtDynamicFeature< MAKVRinTerra::DtFeature >
 DtDynamicFeature (DtFeatureGeometry geom=DtFeatureGeometry())
 
 ~DtDynamicFeature ()
 
DtFeatureclone () const
 Return a pointer to an object which represents the current feature. More...
 
DtFeatureGeometry geometry () const
 Get the geometry associated with this feature. More...
 
void forEachAttribute (ForEachFunction func) const
 Calls the provided callback on each attribute. More...
 
unsigned numberOfAttributes (const typename Key::String &name) const
 
bool hasAttribute (const Key &k) const
 Check to see if this feature has an attribute of a specific type. More...
 
boost::optional< Attributeattribute (const Key &k) const
 Get attribute at a certain key. More...
 
DetachCallback addDeleteCallback (const DeleteCallback &callback) const
 Add a user supplied callback to the feature to be called when the feature is deleted. More...
 
bool isDeleted () const
 Check to see if feature has been deleted. More...
 
void setDeleted ()
 
- Public Member Functions inherited from MAKVRinTerra::DtFeature
 DtFeature ()
 
virtual ~DtFeature ()
 Virtual destructor. More...
 
template<typename T >
boost::optional< T > attributeAs (const Key &k) const
 Return attribute as a specific type using build in conversion methods. More...
 
 DtFeature (const DtFeature &)
 

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
 boost::variant type for accessing attributes. More...
 
typedef boost::function< void(const
Key &, const Attribute &)> 
ForEachFunction
 Callback used to iterating through attributes with ForEachAttribute. More...
 
typedef boost::function< void()> DetachCallback
 Callback used to detach the user from a feature so the users callback is not called anymore. More...
 
typedef boost::function< void()> DeleteCallback
 User supplied callback called when feature is deleted. More...
 
- Static Public Member Functions inherited from MAKVRinTerra::DtFeature
template<typename T >
static boost::optional< T > ConvertAttribute (const Attribute &attr)
 Convert an attribute to a type using iostream. More...
 
static std::string TypeOfAttribute (const Attribute &)
 String type description of an attribute's type. More...
 
static std::auto_ptr< DtFeatureCreateEmptyFeature ()
 Factory function for creating features with no data. More...
 
static std::auto_ptr< DtFeatureCreateGeometryFeature (const DtFeatureGeometry &)
 Create a feature with the given geometry and no attributes. More...
 
static std::auto_ptr< DtFeatureCreateGeometryFeature (const DtFeatureGeometry &, unsigned char red, unsigned char green, unsigned char blue)
 Create a feature with the given geometry and an integer RGB color attribute which will be used by the features debug drawer. More...
 
static std::auto_ptr< DtFeatureCreateCopy (const DtFeature &feature)
 Create a copy of a feature. More...
 
static bool Equal (const Attribute &, const Attribute &)
 Attribute compare attributes with intelligent conversions. More...
 
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
 
- Protected Attributes inherited from DtVrfObjectFeature
const DtVrfObjectmyObject
 
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
 

Detailed Description

DtAggregateDynamicFeaturesContoller; creates dynamic features from entities.

Constructor & Destructor Documentation

DtAggregateVrfObjectFeature::DtAggregateVrfObjectFeature ( const DtVrfObject object)
explicit

Member Function Documentation

virtual boost::optional<double> DtAggregateVrfObjectFeature::percentComplete ( ) const
virtual
virtual boost::optional<bool> DtAggregateVrfObjectFeature::isBreached ( ) const
virtual

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)