VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrf::DtIffStateComponent 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::DtIffStateComponent:
Inheritance graph
[legend]

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
 

Constructor & Destructor Documentation

makVrf::DtIffStateComponent::DtIffStateComponent ( DtStateData *  sd)
inline

Constructs the IFF state interface with the given state data pointer.

Parameters
sdPointer to the owning state data.

Member Function Documentation

virtual const DtIffModeSetting* makVrf::DtIffStateComponent::modeSetting ( int  ) const
inlinevirtual

Returns a const pointer to the mode setting for the given mode index.

Reimplemented in makVrf::DtIffStateComponentCurrentFrame, and makVrf::DtIffStateComponentNextFrame.

virtual DtIffModeSetting* makVrf::DtIffStateComponent::modeSetting ( int  )
inlinevirtual

Returns a mutable pointer to the mode setting for the given mode index.

Reimplemented in makVrf::DtIffStateComponentNextFrame.

virtual void makVrf::DtIffStateComponent::setEnabledModes ( const std::vector< DtModeType > &  )
inlinevirtual

Enables the specified IFF modes.

Reimplemented in makVrf::DtIffStateComponentNextFrame.

virtual std::vector<DtModeType> makVrf::DtIffStateComponent::enabledModes ( ) const
inlinevirtual

Returns the list of currently enabled IFF mode types.

Reimplemented in makVrf::DtIffStateComponentCurrentFrame, and makVrf::DtIffStateComponentNextFrame.

virtual bool makVrf::DtIffStateComponent::anyModeIsOn ( ) const
inlinevirtual

Returns true if any IFF mode is currently on.

Reimplemented in makVrf::DtIffStateComponentCurrentFrame, and makVrf::DtIffStateComponentNextFrame.

virtual bool makVrf::DtIffStateComponent::modeIsOn ( DtModeType  ) const
inlinevirtual

Returns true if the specified IFF mode is currently on.

Reimplemented in makVrf::DtIffStateComponentCurrentFrame, and makVrf::DtIffStateComponentNextFrame.

virtual bool makVrf::DtIffStateComponent::hasModeSetting ( DtModeType  ) const
inlinevirtual

Returns true if a mode setting for the specified mode type exists.

Reimplemented in makVrf::DtIffStateComponentCurrentFrame, and makVrf::DtIffStateComponentNextFrame.

virtual bool makVrf::DtIffStateComponent::canHaveModeCodeSet ( DtModeType  modeType) const
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.

Parameters
modeTypeThe IFF mode type to check.
Returns
True if mode codes may be set on the specified mode.

References CAN_HAVE_CODES_SET.


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)