![]() |
VR-Forces Developer's Guide
|
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)

Public Member Functions | |
| DtIffStateComponent (DtStateData *sd) | |
| virtual const DtIffModeSetting * | modeSetting (int) const |
| virtual DtIffModeSetting * | modeSetting (int) |
| virtual void | setEnabledModes (const std::vector< DtModeType > &) |
| virtual std::vector< DtModeType > | enabledModes () const |
| virtual bool | anyModeIsOn () const |
| virtual bool | modeIsOn (DtModeType) const |
| virtual bool | hasModeSetting (DtModeType) const |
| 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 () |
Additional Inherited Members | |
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 () |
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 |
|
inline |
Constructs the IFF state interface with the given state data pointer.
| sd | Pointer to the owning state data. |
|
inlinevirtual |
Returns a const pointer to the mode setting for the given mode index.
Reimplemented in makVrf::DtIffStateComponentCurrentFrame, and makVrf::DtIffStateComponentNextFrame.
|
inlinevirtual |
Returns a mutable pointer to the mode setting for the given mode index.
Reimplemented in makVrf::DtIffStateComponentNextFrame.
|
inlinevirtual |
Enables the specified IFF modes.
Reimplemented in makVrf::DtIffStateComponentNextFrame.
|
inlinevirtual |
Returns the list of currently enabled IFF mode types.
Reimplemented in makVrf::DtIffStateComponentCurrentFrame, and makVrf::DtIffStateComponentNextFrame.
|
inlinevirtual |
Returns true if any IFF mode is currently on.
Reimplemented in makVrf::DtIffStateComponentCurrentFrame, and makVrf::DtIffStateComponentNextFrame.
|
inlinevirtual |
Returns true if the specified IFF mode is currently on.
Reimplemented in makVrf::DtIffStateComponentCurrentFrame, and makVrf::DtIffStateComponentNextFrame.
|
inlinevirtual |
Returns true if a mode setting for the specified mode type exists.
Reimplemented in makVrf::DtIffStateComponentCurrentFrame, and makVrf::DtIffStateComponentNextFrame.
|
inlinevirtual |
Unimplemented accessor/mutator for the host entity UUID; throws if called on the base interface.
Unimplemented accessor for the mode settings list; throws if called on the base interface. Returns true if mode codes can be set for the given mode type.
| modeType | The IFF mode type to check. |
References CAN_HAVE_CODES_SET.