VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes
makVrf::DtVrfStateComponent Class Reference

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)

Inheritance diagram for makVrf::DtVrfStateComponent:
Inheritance graph
[legend]

Public Types

typedef std::map< DtString,
DtString > 
ExtendedData
 

Public Member Functions

 DtVrfStateComponent (DtStateData *storage)
 
virtual void setExtendedData (const DtString &key, const DtString &value)
 
virtual const DtString & extendedData (const DtString &key) const
 
virtual void clearExtendedData ()
 
virtual void removeExtendedData (const DtString &key)
 
virtual ExtendedData extendedDataMap () const
 
virtual bool hasExtendedData (const DtString &) 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 ()
 

Public Attributes

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
 

Additional Inherited Members

- 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
 

Member Typedef Documentation

Map of key-value string pairs used to store extended simulation data.

Constructor & Destructor Documentation

makVrf::DtVrfStateComponent::DtVrfStateComponent ( DtStateData *  storage)
inline

Constructs the VRF state component interface with the given state data storage.

Parameters
storagePointer to the state data storage backing this component.

Member Function Documentation

virtual void makVrf::DtVrfStateComponent::setExtendedData ( const DtString &  key,
const DtString &  value 
)
inlinevirtual
virtual const DtString& makVrf::DtVrfStateComponent::extendedData ( const DtString &  key) const
inlinevirtual
virtual void makVrf::DtVrfStateComponent::clearExtendedData ( )
inlinevirtual
virtual void makVrf::DtVrfStateComponent::removeExtendedData ( const DtString &  key)
inlinevirtual
virtual ExtendedData makVrf::DtVrfStateComponent::extendedDataMap ( ) const
inlinevirtual
virtual bool makVrf::DtVrfStateComponent::hasExtendedData ( const DtString &  ) const
inlinevirtual

Member Data Documentation

boost::signals2::signal<void (const DtFrameStateInterface*)> makVrf::DtVrfStateComponent::signal_extendedDataModified {}
mutable

Signal sent when the extended data has been modified – sent on advanceFrame.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)