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 Attributes | Private Types
DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame > Class Template Reference
Inheritance diagram for DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >:
Inheritance graph
[legend]

Public Member Functions

 DtStateComponentImplementationTemplate (makVrf::DtStateData *sd)
 
bool isDoubleBuffered ()
 
const
makVrf::DtFrameStateInterface
currentFrameState () const
 
virtual
makVrf::DtFrameStateInterface
nextFrameState ()
 
virtual const
makVrf::DtFrameStateInterface
nextFrameState () const
 
virtual void setIsRemoteComponent (bool b) override
 
void updateDataStorage ()
 
virtual void updateStateData (makVrf::DtStateData *sd) override
 
virtual void aboutToBeDeleted () override
 
- Public Member Functions inherited from makVrf::DtDoubleBufferedStateComponent< T_BaseComponent >
 DtDoubleBufferedStateComponent (DtStateData *sd)
 
virtual void setId (UInt64 id)
 
virtual void setStateData (DtStateData *sd)
 
virtual bool isDoubleBuffered () const
 
virtual bool forceAdvance ()
 
virtual void advanceFrame ()
 
- Public Member Functions inherited from makVrf::DtStateComponent
 DtStateComponent (DtStateData *)
 
virtual ~DtStateComponent ()
 
virtual void setCoordinateSystem (const Coordinate_System *)
 
virtual StateComponentType typeWithCreator () const =0
 
virtual StateComponentType componentType () const =0
 
virtual void setPublishingOnLegionNetwork (bool)
 
bool publishingOnLegionNetwork () const
 
virtual void convertToRemote ()
 
virtual void convertToLocal ()
 
bool isRemoteComponent () const
 
virtual void initializeFromParameters (const DtVrfObjectParameters *)
 
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 Attributes

U_CurrentFrame myCurrentFrameState
 
V_NextFrame myNextFrameState
 
- Protected Attributes inherited from makVrf::DtStateComponent
UInt64 myId
 
DtStateDatamyStateData
 
const Coordinate_SystemmyCoordinateSystem
 
bool myIsRemoteComponent
 
bool myCleared
 
bool myPublishingOnLegionNetwork
 
bool myAdvancedFrame
 

Private Types

typedef
makVrf::DtDoubleBufferedStateComponent
< T_BaseComponent
ParentType
 

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< T_BaseComponent >
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
 

Member Typedef Documentation

template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
typedef makVrf::DtDoubleBufferedStateComponent<T_BaseComponent> DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::ParentType
private

Constructor & Destructor Documentation

template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::DtStateComponentImplementationTemplate ( makVrf::DtStateData sd)
inline

Member Function Documentation

template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
bool DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::isDoubleBuffered ( )
inline
template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
const makVrf::DtFrameStateInterface* DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::currentFrameState ( ) const
inlinevirtual

Reimplemented from makVrf::DtStateComponent.

template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
virtual makVrf::DtFrameStateInterface* DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::nextFrameState ( )
inlinevirtual

Reimplemented from makVrf::DtStateComponent.

template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
virtual const makVrf::DtFrameStateInterface* DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::nextFrameState ( ) const
inlinevirtual

Reimplemented from makVrf::DtStateComponent.

template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
virtual void DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::setIsRemoteComponent ( bool  b)
inlineoverridevirtual
template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
void DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::updateDataStorage ( )
inlinevirtual

Implement to update data storage. Called from advanceFrame.

Implements makVrf::DtDoubleBufferedStateComponent< T_BaseComponent >.

template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
virtual void DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::updateStateData ( makVrf::DtStateData )
inlineoverridevirtual

Implement to update data storage to the new state data.

Implements makVrf::DtDoubleBufferedStateComponent< T_BaseComponent >.

template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
virtual void DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::aboutToBeDeleted ( )
inlineoverridevirtual

Member Data Documentation

template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
U_CurrentFrame DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::myCurrentFrameState
protected
template<typename T_BaseComponent , typename U_CurrentFrame , typename V_NextFrame >
V_NextFrame DtStateComponentImplementationTemplate< T_BaseComponent, U_CurrentFrame, V_NextFrame >::myNextFrameState
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)