34 virtual DtObjectType objectType()
const;
35 virtual std::string objectName()
const;
36 virtual std::string objectUuid()
const;
67 virtual const char*
type()
const;
74 virtual void verticesChanged();
76 virtual boost::shared_ptr<DtVrfObjectFeature> createFeature();
77 virtual bool isChanged()
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
std::string myObjectTypeString
Definition: dynamicFeaturesController.h:42
Key used to lookup attributes. The DtFeature interface is a dictionary that maps Key objects to attri...
Definition: feature.h:68
DtDynamicFeaturesContoller; creates dynamic features from entities.
Definition: dynamicFeaturesController.h:20
const DtControllerComponent & operator=(const DtControllerComponent &orig)
assignment operator
Feature object representing a dynamic feature.
Definition: dynamicFeature.h:21
DtObjectType myObjectType
Definition: dynamicFeaturesController.h:41
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
DtFeature * clone() const
Definition: dynamicFeature.h:51
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
void forEachAttribute(ForEachFunction func) const
Definition: dynamicFeature.h:62
Definition: dynamicFeaturesController.h:47
virtual bool init() override
Calls setRadio()
boost::function< void(const Key &, const Attribute &)> ForEachFunction
Callback used to iterating through attributes with ForEachAttribute.
Definition: feature.h:151
unsigned numberOfAttributes(const typename Key::String &name) const
Definition: dynamicFeature.h:68
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
End User Description: DtControllerComponent is the base class for all controllers components...
Definition: controllerComponent.h:31
DtVector myLastPosition
Definition: dynamicFeaturesController.h:44
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:88
boost::optional< Attribute > attribute(const Key &k) const
Definition: dynamicFeature.h:84
Case insensitive string.
Definition: feature.h:71
MAKVRinTerra::DtDynamicFeature< MAKVRinTerra::DtFeature > Base
Definition: dynamicFeaturesController.h:23
Represents a GIS feature. Features consist of a DtFeatureGeometry (2.5D geometric vector data) and a ...
Definition: feature.h:37
const DtSimObject * myObject
Definition: dynamicFeaturesController.h:40
boost::shared_ptr< DtVrfObjectFeature > myFeature
Definition: dynamicFeaturesController.h:79
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86
bool hasAttribute(const Key &k) const
Definition: dynamicFeature.h:76