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 | Protected Member Functions | Protected Attributes
makVrf::DtEntityLocationStateComponentImplementation Class Reference

4) Define the state component that will contain the wrappers to the next and current frame states that reference the data storage that is created when this class is created.

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

Public Member Functions

 DtEntityLocationStateComponentImplementation (DtStateData *sd)
 
bool isDoubleBuffered ()
 
const DtFrameStateInterfacecurrentFrameState () const
 
virtual DtFrameStateInterfacenextFrameState ()
 
virtual const
DtFrameStateInterface
nextFrameState () const
 
virtual void setCoordinateSystem (const Coordinate_System *)
 
virtual bool forceAdvance ()
 
void updateDataStorage ()
 
void updateStateData (DtStateData *sd)
 
virtual void aboutToBeDeleted () override
 
virtual void initializeFromParameters (const DtVrfObjectParameters *params)
 
- Public Member Functions inherited from makVrf::DtDoubleBufferedStateComponent< DtEntityLocationStateComponent >
 DtDoubleBufferedStateComponent (DtStateData *sd)
 
virtual void setId (UInt64 id)
 
virtual void setStateData (DtStateData *sd)
 
virtual bool isDoubleBuffered () const
 
virtual void advanceFrame ()
 
- Public Member Functions inherited from makVrf::DtStateComponent
 DtStateComponent (DtStateData *)
 
virtual ~DtStateComponent ()
 
virtual StateComponentType typeWithCreator () const =0
 
virtual StateComponentType componentType () const =0
 
virtual void setPublishingOnLegionNetwork (bool)
 
bool publishingOnLegionNetwork () const
 
virtual void setIsRemoteComponent (bool b)
 
virtual void convertToRemote ()
 
virtual void convertToLocal ()
 
bool isRemoteComponent () const
 
virtual void completeSetup ()
 
virtual UInt64 id () const
 
bool advancedFrame () const
 
virtual void firstFrameAdvance ()
 
UInt64 stateId () const
 
UInt64 legionGlobalId () const
 
const DtStateDatastateData () const
 
bool cleared () const
 
DtStateDatastateData ()
 
const Coordinate_SystemcoordinateSystem () const
 
virtual Legion::WriteStateInstance writeStateInstance ()
 
virtual void addAdditionalStateComponents ()
 
virtual void removeAdditionalStateComponents ()
 
virtual const charstringType () const =0
 

Protected Member Functions

virtual void hostWasDeleted ()
 

Protected Attributes

DtEntityLocationStateComponentCurrentFrame myCurrentFrameState
 
DtEntityLocationStateComponentNextFrame myNextFrameState
 
DtEntityLocationStateComponentmyLastAttachedToLocationStateComponent
 
DtStateDatamyLastAttachedTo
 
boost::signals2::scoped_connection myHostWasDeletedConnection
 
- Protected Attributes inherited from makVrf::DtStateComponent
UInt64 myId
 
DtStateDatamyStateData
 
const Coordinate_SystemmyCoordinateSystem
 
bool myIsRemoteComponent
 
bool myCleared
 
bool myPublishingOnLegionNetwork
 
bool myAdvancedFrame
 

Additional Inherited Members

- Public Types inherited from makVrf::DtStateComponent
enum  StateComponentTypeEnum {
  Undefined = -1, SimulatedObjectStateComponent = 0, EntityStateComponent = SimulatedObjectStateComponent, EnvironmentalStateComponent = SimulatedObjectStateComponent,
  AggregateStateComponent = SimulatedObjectStateComponent, MetocServiceStateComponent = SimulatedObjectStateComponent, AerodromeStateComponent = SimulatedObjectStateComponent, LocationStateComponent = 1,
  EntityLocationStateComponent = LocationStateComponent, EnvironmentalLocationStateComponent = LocationStateComponent, StaticLocationStateComponent = LocationStateComponent, HumanStateComponent = 2,
  ArticulatedPartStateComponent = 3, VrfStateComponent = 4, StatePropertiesStateComponent = 5, VrfGeometryStateComponent = 6,
  SubordinateManagerStateComponent = 7, RangeItemsStateComponent = 8, CloudLayerStateComponent = 9, TimeAndDateStateComponent = 10,
  WeatherStateComponent = 11, LaserDesignatorStateComponent = 12, EmitterSystemStateComponent = 13, IffStateComponent = 14,
  ActiveSonarStateComponent = 15, UnderwaterAcousticsStateComponent = 16, SensorFieldOfViewStateComponent = 17, RadioTransmitterStateComponent = 18,
  TaskVisualizationStateComponent = 19, TacticalSmokeStateComponent = 20, DynamicTerrainStateComponent = 21, RadioReceiverStateComponent = 22,
  WindCorridorStateComponent = 23, AirTurbulenceStateComponent = 24, NavAidRadioTransmitterStateComponent = 25, AisDataStateComponent = 26,
  AircraftLightingStateComponent = 27, LandSurfaceStateComponent = 28, WaterSurfaceStateComponent = 29, TroposphereStateComponent = 30,
  SubsurfaceStateComponent = 31, GroundVehicleLightingStateComponent = 32, UserStateComponent = 64
}
 
typedef unsigned int StateComponentType
 
- Static Public Member Functions inherited from makVrf::DtDoubleBufferedStateComponent< DtEntityLocationStateComponent >
static void registerLegionComponent (Legion::SimulationDatabase *)
 
static void addAdditionalTableColumns (Legion::SimulationDatabase *)
 
- Public Attributes inherited from makVrf::DtStateComponent
boost::signals2::signal< void(DtStateComponent *)> signal_stateComponentAboutToBeDeleted
 
boost::signals2::signal< void(DtStateComponent *)> signal_componentModified
 

Constructor & Destructor Documentation

makVrf::DtEntityLocationStateComponentImplementation::DtEntityLocationStateComponentImplementation ( DtStateData sd)

Member Function Documentation

bool makVrf::DtEntityLocationStateComponentImplementation::isDoubleBuffered ( )
inline
const DtFrameStateInterface* makVrf::DtEntityLocationStateComponentImplementation::currentFrameState ( ) const
inlinevirtual

Reimplemented from makVrf::DtStateComponent.

virtual DtFrameStateInterface* makVrf::DtEntityLocationStateComponentImplementation::nextFrameState ( )
inlinevirtual

Reimplemented from makVrf::DtStateComponent.

virtual const DtFrameStateInterface* makVrf::DtEntityLocationStateComponentImplementation::nextFrameState ( ) const
inlinevirtual

Reimplemented from makVrf::DtStateComponent.

virtual void makVrf::DtEntityLocationStateComponentImplementation::setCoordinateSystem ( const Coordinate_System )
virtual

Sets the coordinate system into the current and next frame states.

Reimplemented from makVrf::DtStateComponent.

virtual bool makVrf::DtEntityLocationStateComponentImplementation::forceAdvance ( )
virtual

If we are attached and the world position of our parent has changed then we need to advance.

Reimplemented from makVrf::DtDoubleBufferedStateComponent< DtEntityLocationStateComponent >.

void makVrf::DtEntityLocationStateComponentImplementation::updateDataStorage ( )
virtual

Implement to update data storage. Called from advanceFrame.

Implements makVrf::DtDoubleBufferedStateComponent< DtEntityLocationStateComponent >.

void makVrf::DtEntityLocationStateComponentImplementation::updateStateData ( DtStateData )
inlinevirtual

Implement to update data storage to the new state data.

Implements makVrf::DtDoubleBufferedStateComponent< DtEntityLocationStateComponent >.

virtual void makVrf::DtEntityLocationStateComponentImplementation::aboutToBeDeleted ( )
inlineoverridevirtual
virtual void makVrf::DtEntityLocationStateComponentImplementation::initializeFromParameters ( const DtVrfObjectParameters )
virtual

If this component implements it, initialize from the given vrf object parameters. Will only be called if there are parameters to initialize from.

Reimplemented from makVrf::DtStateComponent.

virtual void makVrf::DtEntityLocationStateComponentImplementation::hostWasDeleted ( )
protectedvirtual

Member Data Documentation

DtEntityLocationStateComponentCurrentFrame makVrf::DtEntityLocationStateComponentImplementation::myCurrentFrameState
protected
DtEntityLocationStateComponentNextFrame makVrf::DtEntityLocationStateComponentImplementation::myNextFrameState
protected
DtEntityLocationStateComponent* makVrf::DtEntityLocationStateComponentImplementation::myLastAttachedToLocationStateComponent
protected
DtStateData* makVrf::DtEntityLocationStateComponentImplementation::myLastAttachedTo
protected
boost::signals2::scoped_connection makVrf::DtEntityLocationStateComponentImplementation::myHostWasDeletedConnection
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)