VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
javelinLauncherController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 
16 
29 {
30 private:
37 
38 public:
39 
43  DtSimulationServices* simManager, DtComponentDescriptor* compDesc = nullptr,
44  DtReaderWriterRegistry* parentRegistry = nullptr);
45 
47  virtual ~DtJavelinLauncherController() override;
48 
51  virtual const char* type() const override;
52 
54  virtual bool init() override;
55 
59  static DtSimComponent * creator(const DtString& name,
60  DtLocalObject* owner,
61  DtSimulationServices* simManager,
62  DtComponentDescriptor* desc = nullptr,
63  DtReaderWriterRegistry* parentRegistry = nullptr);
64 
65 protected:
66 
67  virtual DtSimTask* createFireTask(const DtRwLocationReference& locRef) const override;
68 
69 };
70 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=nullptr, DtReaderWriterRegistry *parentRegistry=nullptr)
Holds a position of some form. May be an absolute position, or a reference to another object...
Definition: rwLocationReference.h:25
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
DtLauncherController is a controller that accepts input from a target sensor, and provides ammunition...
Definition: launcherController.h:63
const DtLauncherController & operator=(const DtLauncherController &orig)=delete
assignment operator; not implemented
virtual DtSimTask * createFireTask(const DtRwLocationReference &locRef) const
virtual bool init() override
Overridden to initialize values obtained from the descriptor.
DtJavelinLauncherController; models launch of a javelin missile.
Definition: javelinLauncherController.h:28
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)