![]() |
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)

Public Member Functions | |
| DtArticulatedPartStateComponent (DtStateData *storage) | |
| virtual DtArticulatedPart & | attachPartToListIfMissing (DtArtPartType partType) |
| virtual DtArticulatedPartStateRepository * | attachPart (DtArtPartType partType) |
| virtual bool | artPartListModified () const |
| virtual void | addParameterType (int partType, int parameterType) |
| virtual void | detachPartIfAttached (DtArtPartType partType) |
| virtual void | detachPart (DtArtPartType partType) |
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 () |
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 |
| DtStateData * | myStateData |
|
inline |
|
inlinevirtual |
Reimplemented in makVrf::DtArticulatedPartStateComponentNextFrame.
|
inlinevirtual |
Reimplemented in makVrf::DtArticulatedPartStateComponentNextFrame.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in makVrf::DtArticulatedPartStateComponentNextFrame.
|
inlinevirtual |
Reimplemented in makVrf::DtArticulatedPartStateComponentNextFrame.
|
inlinevirtual |
Reimplemented in makVrf::DtArticulatedPartStateComponentNextFrame.