VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
javelinLauncherActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
11 #pragma once
12 
14 
15 
17 
19 {
20 
21 public:
22 
26  DtLocalObject* owner,
27  DtSimulationServices* simManager,
28  DtComponentDescriptor* desc = 0,
29  DtReaderWriterRegistry* parentRegistry = 0);
30 
32  virtual ~DtJavelinLauncherActuator() override;
33 
36  virtual const char* type() const override;
37 
39  virtual void preFirstTickInit() override;
40 
44  virtual void prePutSelf() override;
45 
49  static DtSimComponent* creator(const DtString& name,
50  DtLocalObject* owner,
51  DtSimulationServices* simManager,
52  DtComponentDescriptor* desc = 0,
53  DtReaderWriterRegistry* parentRegistry = 0);
54 
55 protected:
56 
58  virtual bool createPSR() override;
59 
63  DtVrfLocalObjectCreateInformation& createdInfo) override;
64 
65 protected:
66 
69 
72 
75  orig);
76 
77 protected:
78 
80 };
DtJavelinLauncherPSR * myJavelinLauncherPSR
Definition: javelinLauncherActuator.h:79
virtual void prePutSelf()
Called before either version of put self (file or environment). Default is no-op. ...
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool createPSR()
Creates #myProcessState data member, and adds it to our process state repository manager. Passes in the name and type specified in the component descriptor (if they exist) to the DtVrfProcessStateRepository::createRepository factory method. If name and/or type is not specified, uses the appropriate default strings defined in psrTypes.h.
DtLauncherActuator is a simple model of a missile launcher.
Definition: launcherActuator.h:39
virtual DtCreateObjectHandle createMissile(DtVrfLocalObjectCreateInformation &createdInfo)
Creates the missile and returns the new create handle to it. Will use information on the ports and th...
Handle returned from Create Object Service calls.
Definition: createObjectHandle.h:12
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
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
The DtLocalObjectCreateInformation class is a subset of the information used in the DtIfCreateVrfObje...
Definition: vrfLocalObjectCreateInformation.h:26
const DtLauncherActuator & operator=(const DtLauncherActuator &orig)
assignment operator; not implemented
Definition: javelinLauncherActuator.h:18
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
Maintains the attack mode state (top attack or direct attack) for a Javelin launcher.
Definition: javelinLauncherPSR.h:19
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)