VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cruiseMissileLaunchController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 
17 
32 
35 {
36 private:
43 
44 public:
45 
49  DtSimManager* simManager, DtComponentDescriptor* compDesc = 0,
50  DtReaderWriterRegistry* parentRegistry = 0);
51 
54 
57  virtual const char* type() const;
58 
60  virtual bool init();
61 
63  virtual void setComponentDescriptor(DtComponentDescriptor *compDesc);
64 
68  virtual void tick();
69 
73  static DtSimComponent * creator(const DtString& name,
74  DtVrfObject* owner,
75  DtSimManager* simManager,
76  DtComponentDescriptor* desc = 0,
77  DtReaderWriterRegistry* parentRegistry = 0);
78 
79 protected:
81  virtual void registerTaskMsgCallbacks();
82 
83  virtual void getMunitionResources(std::list<DtString>& resourceList);
84 
86  virtual void setMunitionWarheadData(const DtVrfObject* munition,
87  DtEventId& eventId);
88 
91  virtual DtIfPlan createMunitionPlan(const DtUUID& missile);
92 
93  virtual DtUUID getTargetFromTaskMessage(const DtTaskMessage *tm) const;
94 
95 protected:
97 };
98 
class DtIfPlan:
Definition: ifPlan.h:61
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual void tick()
Tick Function.
DtCruiseMissileLaunchController models launch of a cruise missile.
Definition: cruiseMissileLaunchController.h:34
virtual const char * type() const
Returns a string identifies the class type of component.
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual void setMunitionWarheadData(DtVrfObject *munition, DtEventId &eventId)
Sets parameters of the warhead in a SetDataRequestMessage.
DtIndirectWeaponComponentInterface * myWeaponComponentInterface
Definition: cruiseMissileLaunchController.h:96
virtual void registerTaskMsgCallbacks()
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual DtIfPlan createMunitionPlan(const DtUUID &munition)
Creates a new plan for the munition using the task saved in this controller.
Definition: readerWriterRegistry.h:39
DtMunitionLaunchController models launch of a munition.
Definition: munitionLaunchController.h:44
virtual DtUUID getTargetFromTaskMessage(const DtTaskMessage *tm) const
Gets the target name from the task message.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
Represents the interface between the DtIndirectFireController and an indirect fire weapon system...
Definition: indirectWeaponComponentInterface.h:24
virtual bool init()
Initialize the component.
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
virtual void setComponentDescriptor(DtComponentDescriptor *compDesc)
Overridden to get the specialized DtMunitionLaunchControllerDescriptor.
DtMunitionLaunchController & operator=(const DtMunitionLaunchController &orig)
Not implemented.
A DtTaskMsg is a DtRadioMsg with a pointer to a task.
Definition: taskMessage.h:19

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)