VR-Forces 4.8 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 
16 
31 
34 {
35 private:
42 
43 public:
44 
48  DtSimManager* simManager, DtComponentDescriptor* compDesc = 0,
49  DtReaderWriterRegistry* parentRegistry = 0);
50 
53 
56  virtual const char* type() const;
57 
61  virtual void tick();
62 
66  static DtSimComponent * creator(const DtString& name,
67  DtVrfObject* owner,
68  DtSimManager* simManager,
69  DtComponentDescriptor* desc = 0,
70  DtReaderWriterRegistry* parentRegistry = 0);
71 
72 protected:
74  virtual void registerTaskMsgCallbacks();
75 
77  virtual void setMunitionWarheadData(const DtVrfObject* munition,
78  DtEventId& eventId);
79 
82  virtual DtIfPlan createMunitionPlan(const DtUUID& missile);
83 
84  virtual DtUUID getTargetFromTaskMessage(const DtTaskMessage *tm) const;
85 };
86 
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:33
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.
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
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)