19#include <vrfmodel/launcherController.h>
51 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
80 virtual const char*
type()
const override;
89 virtual void tick()
override;
101 static DtSimComponent*
creator(
const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
102 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
virtual void onRestore() override
Handles component restoration.
virtual void tick() override
Updates the controller state each simulation frame.
virtual void preFirstTickInit() override
Performs initialization before the first simulation tick.
virtual DtVreMessageResult handleDetachMissile(DtVreMessage *msg)
Detaches the missile so another one can be fired.
virtual DtSimResource * lookupEquipmentResource()
Looks up the appropriate equipment resource.
const DtVreLauncherController & operator=(const DtVreLauncherController &orig)=delete
Assignment operator (deleted)
virtual const char * type() const override
Gets the type identifier for this component.
DtVreLauncherController(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Constructor.
virtual ~DtVreLauncherController() override
Virtual destructor.
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Factory method to create a new instance of this component.
DtVreLauncherController(const DtVreLauncherController &orig)=delete
Copy constructor (deleted)
DtVreLauncherController()=delete
Default constructor (deleted)
DtSimResource * myEquipmentResource
Pointer to the equipment resource being monitored.
Definition vreLauncherController.h:129
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
DtVreSimComponent(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition vreSimComponent.h:63
Weapon controller descriptor for VREngage.
Definition vreWeaponControllerDescriptor.h:35
Defines export macros for the vreVrfmodel library.
#define VREVRFMODEL_DLL
Definition export.h:22
!
Definition glsVreMessageUtil.h:50
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
const char * DtVreLauncherControllerType
Type identifier for the VRE launcher controller component.
Definition vreLauncherController.h:28
Defines the base class for all VREngage messages.
Base template class for VR-Engage simulation components.