![]() |
VR-Forces Developer's Guide
|
3) Define the current frame class. This will be used for read access.

Public Member Functions | |
| DtVrfStateComponentCurrentFrame (DtStateData *) | |
| virtual | ~DtVrfStateComponentCurrentFrame () override |
| const DtVrfStateComponentData & | frameState () const |
| virtual const bool | isVrfSimulatedObject () const override |
| virtual const DtString | label () const override |
| virtual const DtString | overlay () const override |
| virtual const bool | independentlyTasked () const override |
| virtual const bool & | isRemoteAttachedObject () const override |
| virtual const DtString | engagementRules () const override |
| virtual const bool | isSubordinateOfForceLevel () const override |
| virtual const bool | isTasked () const override |
| virtual const bool | underFire () const override |
| virtual const bool | executingPlan () const override |
| virtual const bool | hasPlan () const override |
| virtual const bool | sensorsKilled () const override |
| virtual const DtEchelonId & | echelonId () const override |
| virtual const int | sessionId () const override |
| virtual const int | vrfMessageVersionSupported () const override |
| virtual const ExtendedData & | extendedData () const override |
| virtual bool | activated () const override |
| bool | readComponentValid () const |
| virtual ExtendedData | extendedDataMap () const override |
| virtual bool | hasExtendedData (const DtString &) const override |
| virtual const DtString & | extendedData (const DtString &key) const override |
| virtual bool | findReadComponent () |
| void | handleExtendedDataUpdated (const std::vector< UInt32 > &attributesUpdated) |
Public Member Functions inherited from makVrf::DtVrfStateComponent | |
| DtVrfStateComponent (DtStateData *storage) | |
| virtual void | setExtendedData (const DtString &key, const DtString &value) |
| virtual void | clearExtendedData () |
| virtual void | removeExtendedData (const DtString &key) |
Public Member Functions inherited from makVrf::DtFrameStateInterface | |
| DtFrameStateInterface (DtStateData *) | |
| virtual | ~DtFrameStateInterface () |
| void | setIsWritable (bool b) |
| bool | isWritable () const |
| UInt64 | stateId () const |
| UInt64 | legionGlobalId () const |
| void | setLegionGlobalId (UInt64 d) |
| virtual bool | isModified () const |
| virtual void | clearModified () |
| virtual void | markModified () |
| virtual DtStateComponent::StateComponentType | type () const |
| virtual DtStateComponent::StateComponentType | componentType () const =0 |
| virtual const char * | stringType () const =0 |
| void | setId (UInt64 id) |
| virtual UInt64 | id () const |
| virtual void | updateStateData (DtStateData *sd) |
| virtual Legion::ReadStateInstance | readStateInstance () const |
| virtual Legion::WriteStateInstance | writeStateInstance () |
| void | emitComponentUpdated () |
| bool | cleared () const |
| bool | advancedFrame () const |
| virtual void | frameAdvanced () |
| virtual void | convertToRemote () |
| virtual void | convertToLocal () |
| virtual void | aboutToBeDeleted () |
Protected Attributes | |
| VRF::ReadVrfStateComponentRepository | myReadVrfStateComponentRepository |
| ExtendedData | myExtendedData |
| unsigned int | myCallbackHandle |
| DtVrfStateComponentData | myData |
Protected Attributes inherited from makVrf::DtFrameStateInterface | |
| bool | myIsModified |
| UInt64 | myId |
| UInt64 | myStateId |
| UInt64 | myLegionId |
| bool | myIsWritable |
| bool | myCleared |
| bool | myAdvancedFrame |
| DtStateData * | myStateData |
Private Member Functions | |
| void | updateExtendedData (const ExtendedData &) |
| void | advanceFrame (const DtVrfStateComponentData &data) |
Friends | |
| class | DtVrfStateComponentImplementation |
Additional Inherited Members | |
Public Types inherited from makVrf::DtVrfStateComponent | |
| typedef std::map< DtString, DtString > | ExtendedData |
Public Attributes inherited from makVrf::DtVrfStateComponent | |
| boost::signals2::signal< void(const DtFrameStateInterface *)> | signal_extendedDataModified {} |
Public Attributes inherited from makVrf::DtFrameStateInterface | |
| boost::signals2::signal< void(DtFrameStateInterface *)> | signal_stateComponentAboutToBeDeleted |
| boost::signals2::signal< void(const DtFrameStateInterface *)> | signal_componentModified |
Protected Member Functions inherited from makVrf::DtFrameStateInterface | |
| virtual void | makeWritable () |
| virtual void | makeReadOnly () |
| makVrf::DtVrfStateComponentCurrentFrame::DtVrfStateComponentCurrentFrame | ( | DtStateData * | ) |
|
overridevirtual |
|
inline |
Current frame state only can access current frame buffers. This ensures thread safety.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
| bool makVrf::DtVrfStateComponentCurrentFrame::readComponentValid | ( | ) | const |
|
overridevirtual |
Reimplemented from makVrf::DtVrfStateComponent.
|
overridevirtual |
Reimplemented from makVrf::DtVrfStateComponent.
|
overridevirtual |
Reimplemented from makVrf::DtVrfStateComponent.
|
virtual |
| void makVrf::DtVrfStateComponentCurrentFrame::handleExtendedDataUpdated | ( | const std::vector< UInt32 > & | attributesUpdated | ) |
|
private |
|
inlineprivate |
|
friend |
|
protected |
|
protected |
|
protected |