VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
missileSetController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 
10 class DtVrfObjectMessage;
11 
15 {
16 
17 public:
18 
21  DtMissileSetController(const DtString& name,
22  DtLocalObject* owner,
23  DtSimulationServices* simManager,
24  DtComponentDescriptor* desc = 0,
25  DtReaderWriterRegistry* parentRegistry = 0);
26 
28  virtual ~DtMissileSetController() override;
29 
32  virtual const char* type() const override;
33 
34 
38  static DtSimComponent * creator(const DtString& name,
39  DtLocalObject* owner,
40  DtSimulationServices* simManager,
41  DtComponentDescriptor* desc = 0,
42  DtReaderWriterRegistry* parentRegistry = 0);
43 
44  virtual bool init() override;
45 
46 protected:
47  virtual void processSetWarheadInfo(DtSimMessage * msg);
48  static void setWarheadInfoCallback(DtSimMessage * msg, void * usr);
49 
50  static void disconnectMissileFromLauncherRequest(const DtVrfObjectMessage* msg, void* usr);
51  virtual void processDisconnectMissileFromLauncher(const DtUUID& receiver, const DtUUID& sender);
52 
53 private:
57 
60 
63 
64 protected:
66  virtual void initializeSetsToRegister() override;
67 };
68 
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
Contains the DtLocalEntitySetController class declaration.
DtMissileSetController extends the DtLocalEntitySetController for missile specific sets...
Definition: missileSetController.h:14
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
File: simMsg.h.
Definition: simMessage.h:35
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
The base class for all messages to/from a specific DtVrfObject. Various subclasses of this class will...
Definition: vrfObjectMessage.h:30
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
virtual bool init() override
calls createPSR()
const DtLocalEntitySetController & operator=(const DtLocalEntitySetController &orig)
assignment operator
virtual void initializeSetsToRegister()
Sets up the myRegisterSets map with sets to register for this controller.
A locally simulated VRF object.
Definition: localObject.h:98
DtLocalEntitySetController is a controller that handles all DtSetDataRequest messages for an entity a...
Definition: localEntitySetController.h:26

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)