57 virtual bool createPSR();
60 virtual const char*
type()
const;
70 static void requestIndirectArtilleryInformationCallback(
const DtVrfObjectMessage* msg,
void* usr);
73 virtual void deactivate();
77 virtual void setCoords(
DtTime t);
79 static void modifyCallBack (
DtSimMessage * msg,
void * usr);
82 virtual void processRequestIndirectArtilleryInformation(
const DtVrfObjectMessage* msg);
85 virtual void sendCurrentState ();
91 virtual void createDetonation(
const DtVector& position,
double altitudeAboveGround);
92 virtual void createFlare(
const DtVector& position,
double altitudeAboveGround);
95 virtual bool onFlareList(
const DtObjectType& detonationType)
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
const DtActuatorComponent & operator=(const DtActuatorComponent &orig)
assignment operator
virtual bool init()
Overridden to cache a pointer to the entity's radio in this class.
const DtIndirectArtilleryDescriptor * myDescriptor
Definition: indirectArtilleryComponent.h:128
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
DtVector myCenter
The center of the ellipse.
Definition: indirectArtilleryComponent.h:116
Definition: readerWriterRegistry.h:39
End User Description: DtActuator is the base class for all actuator model components.
Definition: actuatorComponent.h:48
Definition: indirectArtilleryPSR.h:23
Definition: objectType.h:27
Definition: indirectArtilleryDescriptor.h:15
std::vector< double > myBurstTimes
The exact times of the bursts. Equal to startTime + N * period + DtRand() * spreadTime.
Definition: indirectArtilleryComponent.h:113
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component.
DtVector myMinor
The minor axis of the ellipse, acctually the orthoganal axis.
Definition: indirectArtilleryComponent.h:122
End User Description: This actuator is used on indirect artillery objects, typically ellipses...
Definition: indirectArtilleryComponent.h:29
The base class for all messages to/from a specific DtVrfObject.
Definition: vrfObjectMessage.h:30
bool myWarned
Definition: indirectArtilleryComponent.h:126
DtVrfOverlayObjectStateRepository * myOverlayStateRepository
Definition: indirectArtilleryComponent.h:124
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
Data container for Indirect Artillery.
Definition: ifModifyIndirectArtilleryObject.h:28
bool myDataModified
Flag to indicate if data has been modified.
Definition: indirectArtilleryComponent.h:102
DtVector myMajor
The major axis of the ellipse, actually just the first axis.
Definition: indirectArtilleryComponent.h:119
std::vector< DtVector > myVertices
Copy of vertices stored in the ellipse.
Definition: indirectArtilleryComponent.h:106
Definition: vrfOverlayObjectStateRepository.h:29
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
bool myDataInitialized
Flag to indicate if sumlation has started.
Definition: indirectArtilleryComponent.h:99
DtIndirectArtilleryPSR * myProcessState
Container for state data associated with this component.
Definition: indirectArtilleryComponent.h:110
virtual const char * type() const =0
Returns a string identifies the class type of component.