![]() |
VR-Forces Developer's Guide
|
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.

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 |
| makVrf::DtSimulatedObjectStateComponent::DtSimulatedObjectStateComponent | ( | DtStateData * | ) |
Constructs the interface and associates it with the given state data.
| sd | The state data object this component belongs to. |
|
inlinestatic |
Returns the static state component type identifier for simulated objects.
References makVrf::DtStateComponent::SimulatedObjectStateComponent.
|
inlinestatic |
Returns the string type name used for identification purposes.
|
inlinevirtual |
Returns true if this main component is managed through the Legion framework.
Reimplemented in makVrf::DtMetocServiceStateComponent, and makVrf::DtOrbatStateComponent.
|
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.
|
mutable |
Emitted when the marking text changes; parameters are old text, new text, and simulation state ID.
|
mutable |
Emitted when the force type changes; parameters are old force index, new force index, and simulation state ID.
|
mutable |
Emitted when the simulation engine address changes; parameters are old address, new address, and simulation state ID.