![]() |
VR-Forces 5.0.1 Developer's Guide
|
This subclass of DtObjectDataInterface accesses data from a VR-Forces object from the network. The basic level of data from DIS or RPR FOM is available, as well as the DtExtendedStateData dictionary.
Classes derived from this class provide access to more type-specific data.
Resources will be requested when the sim state view is set. A signal will be sent when the resources are received or changed

Public Attributes | |
| boost::signals2::signal< void()> | signal_resourcesChanged |
Public Attributes inherited from makVrf::DtObjectDataInterface | |
| boost::signals2::signal< void()> | signal_dataUpdated |
| boost::signals2::signal< void()> | signal_dataRemoved |
Protected Member Functions | |
| virtual void | slot_onResourcesChanged () |
| virtual void | slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &) |
| virtual void | slot_onStateViewUpdated () |
Protected Member Functions inherited from makVrf::DtObjectDataInterface | |
| virtual DtVector | geocentricVectorToLocalVector (const DtVector &localLocation, const DtVector &geocVector) const |
Protected Attributes | |
| makVrv::DtStateView < makVrv::DtVrlinkSimulatedBaseState > * | myVrlinkStateView |
| makVrv::DtStateView < DtVrfObjectDataState > * | myObjectDataState |
| makVrv::DtStateView < DtExtendedStateData > * | myExtendedStateData |
| DtVrfDataInterraceResourceRequestor | myResources |
| DtUUID | myUUID |
Protected Attributes inherited from makVrf::DtObjectDataInterface | |
| makVrv::DtDe & | myDe |
| makVrv::DtStateView < makVrv::DtSimState > * | myStateView |
Additional Inherited Members | |
Public Types inherited from makVrf::DtObjectDataInterface | |
| enum | Representation { Local = 0, World = 1 } |
Static Public Member Functions inherited from makVrf::DtObjectDataInterface | |
| template<typename T_ObjectDataInterfaceType > | |
| static DtBoost::shared_ptr < T_ObjectDataInterfaceType > | cast (DtBoost::shared_ptr< DtObjectDataInterface > dataInterface) |
| makVrf::DtVrfVrlinkDataInterface::DtVrfVrlinkDataInterface | ( | makVrv::DtDe & | ) |
|
virtual |
|
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.
Reimplemented from makVrf::DtObjectDataInterface.
Reimplemented in makVrf::DtEntityDataInterface, makVrf::DtAggregateDataInterface, and makVrf::DtTacticalGraphicDataInterface.
|
inline |
|
inline |
|
inline |
|
virtual |
Extended state data, if exists. This is data that is added that is not necessarily sent over the network and is not part of the extendedData member of state repositories.
| DtVrfDataInterraceResourceRequestor& makVrf::DtVrfVrlinkDataInterface::resourceRequestor | ( | ) |
Use this class to control the update rate of resources.
|
virtual |
Requests resources for this item. Connect to signal to be notified when resources are available.
|
virtual |
Returns the name (marking text) of the object.
|
virtual |
Returns the label of the object.
Reimplemented in makVrf::DtEntityDataInterface.
|
virtual |
Returns extended data as supplied on the network.
Reimplemented in makVrf::DtTacticalGraphicDataInterface, and makVrf::DtAggregateDataInterface.
Returns extended labels.
|
virtual |
|
virtual |
Returns the type of the object.
|
virtual |
Returns the objects entity id.
|
virtual |
Returns the objects global id.
|
virtual |
Returns if object is currently tasked.
|
virtual |
Returns if executing a plan.
|
virtual |
Returns if has a plan.
|
virtual |
If avaiable returns the location of the object. For multi-point objects will return the geometric center of the object.
Reimplemented in makVrf::DtEntityDataInterface, and makVrf::DtTacticalGraphicDataInterface.
| const DtVrfDataInterraceResourceRequestor::ResourceMap& makVrf::DtVrfVrlinkDataInterface::resources | ( | ) | const |
| const DtUUID& makVrf::DtVrfVrlinkDataInterface::uuid | ( | ) | const |
|
protectedvirtual |
Slot called when resources have changed. Will send out resourcesChanged signal.
|
protectedvirtual |
Slot that is called when the state view is destroyed. Will mark this item as removed by clearing out internal pointers.
Reimplemented from makVrf::DtObjectDataInterface.
Reimplemented in makVrf::DtEntityDataInterface, makVrf::DtTacticalGraphicDataInterface, and makVrf::DtAggregateDataInterface.
|
protectedvirtual |
Update UUID if not set.
Reimplemented from makVrf::DtObjectDataInterface.
| boost::signals2::signal<void ()> makVrf::DtVrfVrlinkDataInterface::signal_resourcesChanged |
Signal sent when resources have changed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |