![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtAggregateDataInterface class is a wrapper around state views to give access to convenience methods which will allow developers to more easily access data about those objects. More...

Public Member Functions | |
| DtAggregateDataInterface (makVrv::DtDe &) | |
| virtual | ~DtAggregateDataInterface () |
| virtual void | setStateView (const makVrv::DtStateView< makVrv::DtSimState > *) |
| Called to set the state view this data will wrap. | |
| virtual makVrv::DtElementEntry::ElementType | type () const |
| Returns the type of this object. Used for dynamic casting to proper sub-class. | |
| virtual std::vector < makVrv::DtElementID > | subordinates () const |
| Returns a list of all subordinates this object. | |
| virtual std::string | formation () const |
| Returns the current formation of this object. | |
| virtual DtVector | dimensions () const |
| Returns the aggregate dimensions. | |
| makVrv::DtStateView < DtVrlinkSimulatedAggregateState > * | aggregateStateView () const |
| Returns the state view of this class. | |
Protected Member Functions | |
| virtual void | slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &) |
| Slot that is called when the state view is destroyed. Will mark this item as removed by clearing out internal pointers. | |
Protected Attributes | |
| makVrv::DtStateView < DtVrlinkSimulatedAggregateState > * | myAggregateStateView |
The DtAggregateDataInterface class is a wrapper around state views to give access to convenience methods which will allow developers to more easily access data about those objects.
It will also provide some basic manipulation for that object
| virtual makVrf::DtAggregateDataInterface::~DtAggregateDataInterface | ( | ) | [virtual] |
| virtual void makVrf::DtAggregateDataInterface::setStateView | ( | const makVrv::DtStateView< makVrv::DtSimState > * | ) | [virtual] |
Called to set the state view this data will wrap.
Subclasses are responsible for providing interface to access the specific data, however, you can access the data through the state() members of the contained state views. Overridden to cast to appropriate type
Reimplemented from makVrf::DtEntityDataInterface.
| virtual makVrv::DtElementEntry::ElementType makVrf::DtAggregateDataInterface::type | ( | ) | const [virtual] |
Returns the type of this object. Used for dynamic casting to proper sub-class.
Reimplemented from makVrf::DtEntityDataInterface.
| virtual std::vector<makVrv::DtElementID> makVrf::DtAggregateDataInterface::subordinates | ( | ) | const [virtual] |
Returns a list of all subordinates this object.
| virtual std::string makVrf::DtAggregateDataInterface::formation | ( | ) | const [virtual] |
Returns the current formation of this object.
| virtual DtVector makVrf::DtAggregateDataInterface::dimensions | ( | ) | const [virtual] |
Returns the aggregate dimensions.
| makVrv::DtStateView<DtVrlinkSimulatedAggregateState>* makVrf::DtAggregateDataInterface::aggregateStateView | ( | ) | const [inline] |
Returns the state view of this class.
| virtual void makVrf::DtAggregateDataInterface::slot_simObjectEntryAboutToBeRemoved | ( | makVrv::DtSimObjectEntry & | ) | [protected, virtual] |
Slot that is called when the state view is destroyed. Will mark this item as removed by clearing out internal pointers.
Reimplemented from makVrf::DtEntityDataInterface.
makVrv::DtStateView<DtVrlinkSimulatedAggregateState>* makVrf::DtAggregateDataInterface::myAggregateStateView [protected] |