13 #include <vl/hostStructs.h>
45 virtual const char*
type()
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
DtBallisticGun provides a simple model of a ballistic gun.
Definition: ballisticGun.h:44
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
virtual const char * type() const
Returns a string identifies the class type of component.
const DtBallisticGun & operator=(const DtBallisticGun &orig)
assignment operator; not implemented
DtHumanGunActuatorDescriptor * myHumanGunDescriptor
Definition: humanGunActuator.h:84
DtHumanGunActuator provides a simple model of a hand held gun.
Definition: humanGunActuator.h:26
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual bool aimGun()
Aims the gun based on input ports.
virtual void tick()
Update the gun elevation.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
DtHumanGunActuatorDescriptor; a descriptor for the DtHumanGunActuator component.
Definition: humanGunActuatorDescriptor.h:19
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtAnalogInputPort * myAimAzimuthInputPort
Input Port Name: aim-azimuth Input Port Description: Azimuth at which to aim, in radians.
Definition: humanGunActuator.h:93
virtual bool createPorts()
Overridden to create local ports.