![]() |
VR-Forces Developer's Guide
|
In order to be a well defined state component, you must:
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)

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 articulated part state component, associating it with the given state data storage.
| storage | Pointer to the state data storage. |
|
inlinevirtual |
Attaches a part of the given type to the collection if not already present, and returns a reference to it.
| partType | The articulated part type to attach. |
Reimplemented in makVrf::DtArticulatedPartStateComponentNextFrame.
|
inlinevirtual |
Attaches a part of the given type and returns its state repository.
| partType | The articulated part type to attach. |
Reimplemented in makVrf::DtArticulatedPartStateComponentNextFrame.
|
inlinevirtual |
Returns true if the articulated part list has been modified since last cleared.
Reimplemented in makVrf::DtArticulatedPartStateComponentCurrentFrame, and makVrf::DtArticulatedPartStateComponentNextFrame.
|
inlinevirtual |
Adds a parameter metric type for the specified articulated part type.
| partType | The articulated part type. |
| parameterType | The parameter metric type to add. |
Reimplemented in makVrf::DtArticulatedPartStateComponentNextFrame.
|
inlinevirtual |
Detaches the part of the given type if it is currently attached; a no-op if not present.
| partType | The articulated part type to detach. |
Reimplemented in makVrf::DtArticulatedPartStateComponentNextFrame.
|
inlinevirtual |
Detaches the part of the given type.
| partType | The articulated part type to detach. |
Reimplemented in makVrf::DtArticulatedPartStateComponentNextFrame.