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 | Static Public Member Functions | Public Attributes
makVrf::DtSimulatedObjectStateComponent Class Reference

The DtSimulatedObjectStateComponent is an interface that all main components (those that are considered simulatable object) must subclass from in order to give a common interface for items that are common to all of these components.

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

Public Member Functions

 DtSimulatedObjectStateComponent (DtStateData *)
 
virtual bool mainComponentOnLegion () 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 ()
 

Static Public Member Functions

static
DtStateComponent::StateComponentType 
ComponentType ()
 
static const char * StringType ()
 

Public Attributes

boost::signals2::signal< void(const
DtUUID &, const DtUUID
&, makVrf::SimStateID)> 
signal_uuidChanged
 
boost::signals2::signal< void(const
DtString &, const DtString
&, makVrf::SimStateID)> 
signal_markingTextChanged
 
boost::signals2::signal< void(int
oldForce, int newForce,
makVrf::SimStateID)> 
signal_forceChanged
 
boost::signals2::signal< void(const
DtSimulationAddress
&oldAddress, const
DtSimulationAddress
&newAddress,
makVrf::SimStateID)> 
signal_simEngineAddressChanged
 
- 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
 

Constructor & Destructor Documentation

makVrf::DtSimulatedObjectStateComponent::DtSimulatedObjectStateComponent ( DtStateData *  )

Constructs the interface and associates it with the given state data.

Parameters
sdThe state data object this component belongs to.

Member Function Documentation

static DtStateComponent::StateComponentType makVrf::DtSimulatedObjectStateComponent::ComponentType ( )
inlinestatic

Returns the static state component type identifier for simulated objects.

References makVrf::DtStateComponent::SimulatedObjectStateComponent.

static const char* makVrf::DtSimulatedObjectStateComponent::StringType ( )
inlinestatic

Returns the string type name used for identification purposes.

virtual bool makVrf::DtSimulatedObjectStateComponent::mainComponentOnLegion ( ) const
inlinevirtual

Returns true if this main component is managed through the Legion framework.

Reimplemented in makVrf::DtMetocServiceStateComponent, and makVrf::DtOrbatStateComponent.

Member Data Documentation

boost::signals2::signal<void (const DtUUID&, const DtUUID&, makVrf::SimStateID)> makVrf::DtSimulatedObjectStateComponent::signal_uuidChanged
mutable

Global identifier string for this simulated object.

Sidc code used only for visuals. If a blank code is specified visual default will be used Whether this object is locally owned and simulated. Whether name reservation should be checked when assigning or changing the marking text. Universally unique identifier (UUID) for this object. Marking text (callsign/label) displayed on the entity. Force affiliation (friendly, opposing, neutral, etc.) of this object. DIS/HLA appearance bit-field encoding the visual state of the entity. DIS entity type (kind/domain/country/category/subcategory/specific/extra) of this object. DIS entity identifier (site/application/entity number) assigned to this object. Application-defined 64-bit user data associated with this object. Order of battle (ORBAT) identifier for this object. Resolved object type; may differ from entityType for aggregate objects. Network address of the simulation engine that owns this object. Emitted when the UUID changes; parameters are old UUID, new UUID, and simulation state ID.

boost::signals2::signal<void (const DtString&, const DtString&, makVrf::SimStateID)> makVrf::DtSimulatedObjectStateComponent::signal_markingTextChanged
mutable

Emitted when the marking text changes; parameters are old text, new text, and simulation state ID.

boost::signals2::signal<void (int oldForce, int newForce, makVrf::SimStateID)> makVrf::DtSimulatedObjectStateComponent::signal_forceChanged
mutable

Emitted when the force type changes; parameters are old force index, new force index, and simulation state ID.

boost::signals2::signal<void (const DtSimulationAddress& oldAddress, const DtSimulationAddress& newAddress, makVrf::SimStateID)> makVrf::DtSimulatedObjectStateComponent::signal_simEngineAddressChanged
mutable

Emitted when the simulation engine address changes; parameters are old address, new address, and simulation state ID.


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)