58 virtual bool createPSR();
61 virtual const char*
type()
const;
71 static void requestIndirectArtilleryInformationCallback(
const DtVrfObjectMessage* msg,
void* usr);
74 virtual void deactivate();
78 virtual void setCoords(
DtTime t);
80 static void modifyCallBack (
DtSimMessage * msg,
void * usr);
83 virtual void processRequestIndirectArtilleryInformation(
const DtVrfObjectMessage* msg);
86 virtual void sendCurrentState ();
92 virtual void createDetonation(
const DtVector& position,
double altitudeAboveGround);
93 virtual void createFlare(
const DtVector& position,
double altitudeAboveGround);
96 virtual bool onFlareList(
const DtObjectType& detonationType)
const;
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
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:129
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtVector myCenter
The center of the ellipse.
Definition: indirectArtilleryComponent.h:117
Definition: readerWriterRegistry.h:39
End User Description: DtActuator is the base class for all actuator model components. Developer Description: The DtActuator base class caches a pointer to the entity's radio for convenience. Derived classes may have articulated parts that are configured from the DtActuatorComponentDescriptor's DtSimArtPartDescriptorList. For each articulated part in the list a DtArticulatedPartStateRepository will be created to store the data for the part such as it's location, rotation and so forth. These are created in the entity's DtVrfObjectStateRepository createParts() function. This call creates all the attached parts for all the actuators. These articulated state repositories are managed by the DtAttachmentManager. They are cached by their partType which is the DIS Enumeration describing the part from the disEnums.h file and was specified in the actuator's DtActuatorComponentDescriptor as descriped above. The partType is used as the category of the DtObjectType used to look up articulated parts in the DtAttachementManager. When an actuator needs access to a particular articulated part it looks it up by the part's object type.
Definition: actuatorComponent.h:47
Definition: indirectArtilleryPSR.h:23
DtTacticalGraphicLocalObjectFacade myTacticalGraphicLocalObjectFacade
Definition: indirectArtilleryComponent.h:130
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:114
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtVector myMinor
The minor axis of the ellipse, acctually the orthoganal axis.
Definition: indirectArtilleryComponent.h:123
End User Description: This actuator is used on indirect artillery objects, typically ellipses...
Definition: indirectArtilleryComponent.h:30
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
bool myWarned
Definition: indirectArtilleryComponent.h:127
DtVrfOverlayObjectStateRepository * myOverlayStateRepository
Definition: indirectArtilleryComponent.h:125
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
Data container for Indirect Artillery. Should contain nothing but mutators, accessors and data...
Definition: ifModifyIndirectArtilleryObject.h:28
bool myDataModified
Flag to indicate if data has been modified.
Definition: indirectArtilleryComponent.h:103
DtVector myMajor
The major axis of the ellipse, actually just the first axis.
Definition: indirectArtilleryComponent.h:120
std::vector< DtVector > myVertices
Copy of vertices stored in the ellipse. We use these to test whether we need to recompute our basis v...
Definition: indirectArtilleryComponent.h:107
Definition: vrfOverlayObjectStateRepository.h:30
bool myDataInitialized
Flag to indicate if sumlation has started.
Definition: indirectArtilleryComponent.h:100
DtIndirectArtilleryPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: indirectArtilleryComponent.h:111
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86