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() override;
31 
34  virtual const char* type() const override;
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
DtAerodromeLocalObjectFacade myAerodromeLocalObjectFacade
Definition: aerodromeSetController.h:86
const DtSetController & operator=(const DtSetController &orig)
assignment operator; not implemented
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
virtual bool init() override
Calls setRadio()
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:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
Setting
Definition: aerodromeSetController.h:38
Uses Descriptor Type: DtComponentDescriptor.
Definition: aerodromeSetController.h:16
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)