VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aerodromeSetController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
14 
17 {
18 
19 public:
20 
24  DtLocalObject* owner,
25  DtSimulationServices* simManager,
26  DtComponentDescriptor* desc = 0,
27  DtReaderWriterRegistry* parentRegistry = 0);
28 
30  virtual ~DtAerodromeSetController();
31 
34  virtual const char* type() const;
35 
36  virtual void processSetAerodromeLights(DtSimMessage* msg);
37 
38  enum Setting
39  {
40  Condition = 0,
43  Damaged
44  };
45 
47  virtual void processSetRunwayCondition(DtSimMessage* msg, Setting setting = Condition);
48  virtual void processSetAerodromeUndercarriageInspectionSystem(DtSimMessage* msg);
49 
50  virtual bool init() override;
51 
55  static DtSimComponent* creator(const DtString& name,
56  DtLocalObject* owner,
57  DtSimulationServices* simManager,
58  DtComponentDescriptor* desc = 0,
59  DtReaderWriterRegistry* parentRegistry = 0);
60 
61 protected:
62  static void setAerodromeLightsCallback(DtSimMessage* msg, void* usrData);
63  static void setRunwaySurfaceConditionCallback(DtSimMessage* msg, void* usrData);
64  static void setArrestorGearCallback(DtSimMessage* msg, void* usrData);
65  static void setRunwayActiveCallback(DtSimMessage* msg, void* usrData);
66  static void setRunwayDamagedCallback(DtSimMessage* msg, void* usrData);
67  static void setAerodromeUndercarriageInspectionSystemCallback(DtSimMessage* msg, void* usrData);
68 
69 protected:
73 
76 
80 
81 protected:
83  virtual void initializeSetsToRegister();
84 
85 protected:
87 };
88 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool init()
Calls setRadio()
DtAerodromeLocalObjectFacade myAerodromeLocalObjectFacade
Definition: aerodromeSetController.h:86
const DtSetController & operator=(const DtSetController &orig)
assignment operator; not implemented
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
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
This class will define a basic set controller that will allow for adding sets of that can be register...
Definition: setController.h:21
Definition: aerodromeSetController.h:42
Definition: aerodromeSetController.h:41
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:95
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
Setting
Definition: aerodromeSetController.h:38
Uses Descriptor Type: DtComponentDescriptor.
Definition: aerodromeSetController.h:16
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)