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

Public Member Functions | |
| DtIffStateComponentNextFrame (DtStateData *storage) | |
| virtual const DtIffModeSetting * | modeSetting (int) const override |
| virtual DtIffModeSetting * | modeSetting (int) override |
| virtual void | setEnabledModes (const std::vector< DtModeType > &) override |
| virtual std::vector< DtModeType > | enabledModes () const override |
| virtual bool | anyModeIsOn () const override |
| virtual bool | modeIsOn (DtModeType) const override |
| virtual bool | hasModeSetting (DtModeType) const override |
| const DtIffStateComponentData & | frameState () const |
| DtIffStateComponentData & | frameState () |
| virtual const DtUUID & | hostId () const override |
| virtual void | setHostId (const DtUUID &) override |
| virtual const DtIffModeSettingsList & | modeSettings () const override |
| virtual void | makeWritable () override |
| virtual void | makeReadOnly () override |
Public Member Functions inherited from makVrf::DtIffStateComponent | |
| DtIffStateComponent (DtStateData *sd) | |
| virtual bool | canHaveModeCodeSet (DtModeType modeType) const |
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 () |
| void | setMarkedForRemoval (bool b) |
| bool | markedForRemoval () const |
| bool | cleared () const |
| bool | advancedFrame () const |
| virtual void | frameAdvanced () |
| virtual void | convertToRemote () |
| virtual void | convertToLocal () |
| virtual void | aboutToBeDeleted () |
Protected Attributes | |
| DtIffStateComponentData | myData |
Protected Attributes inherited from makVrf::DtFrameStateInterface | |
| bool | myIsModified |
| UInt64 | myId |
| UInt64 | myStateId |
| UInt64 | myLegionId |
| bool | myIsWritable |
| bool | myCleared |
| bool | myAdvancedFrame |
| bool | myMarkedForRemoval = false |
| DtStateData * | myStateData |
Additional Inherited Members | |
Public Attributes inherited from makVrf::DtFrameStateInterface | |
| boost::signals2::signal< void(DtFrameStateInterface *)> | signal_stateComponentAboutToBeDeleted |
| boost::signals2::signal< void(const DtFrameStateInterface *)> | signal_componentModified |
| makVrf::DtIffStateComponentNextFrame::DtIffStateComponentNextFrame | ( | DtStateData * | storage | ) |
Constructs the next-frame state component with the given state data pointer.
| storage | Pointer to the owning state data. |
|
overridevirtual |
Returns a const pointer to the mode setting for the given mode index.
Reimplemented from makVrf::DtIffStateComponent.
|
overridevirtual |
Returns a mutable pointer to the mode setting for the given mode index, creating it if needed.
Reimplemented from makVrf::DtIffStateComponent.
|
overridevirtual |
Enables the specified IFF modes on the next frame.
Reimplemented from makVrf::DtIffStateComponent.
|
overridevirtual |
Returns the list of currently enabled IFF mode types.
Reimplemented from makVrf::DtIffStateComponent.
|
overridevirtual |
Returns true if any IFF mode is currently on.
Reimplemented from makVrf::DtIffStateComponent.
|
overridevirtual |
Returns true if the specified IFF mode is currently on.
Reimplemented from makVrf::DtIffStateComponent.
|
overridevirtual |
Returns true if a mode setting for the specified mode type exists.
Reimplemented from makVrf::DtIffStateComponent.
|
inline |
Next frame access write access. Ensure this is only used in a single thread (i.e.a controller thread)
|
inline |
|
overridevirtual |
Returns the host entity UUID for the next frame.
|
overridevirtual |
Sets the host entity UUID, marking the component modified if changed.
| v | The new host entity UUID. |
|
overridevirtual |
Returns a const reference to the IFF mode settings list for the next frame.
|
inlineoverridevirtual |
Override to make component writable.
Reimplemented from makVrf::DtFrameStateInterface.
|
inlineoverridevirtual |
Override to make component read-only.
Reimplemented from makVrf::DtFrameStateInterface.
|
protected |
The writable IFF state data for the next frame.