VR-Forces 4.10 Class Documentation
 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 
13 
16 {
17 
18 public:
19 
23  DtVrfObject* owner,
24  DtSimManager* simManager,
25  DtComponentDescriptor* desc = 0,
26  DtReaderWriterRegistry* parentRegistry = 0);
27 
29  virtual ~DtAerodromeSetController();
30 
33  virtual const char* type() const;
34 
35  virtual void processSetAerodromeLights(DtSimMessage* msg);
36  virtual void processSetRunwaySurfaceCondition(DtSimMessage* msg);
37 
38  virtual void forwardMessageToRunways(DtSimMessage* msg);
39 
40  virtual void updateAerodromeLights(const std::string& lightGroup, float intensity);
41  virtual void updateAllAerodromeLights(float intensity);
42 
43 public:
44  static void setAerodromeLightsCallback(DtSimMessage* msg, void* usrData);
45  static void setRunwaySurfaceConditionCallback(DtSimMessage* msg, void* usrData);
46 
50  static DtSimComponent* creator(const DtString& name,
51  DtVrfObject* owner,
52  DtSimManager* simManager,
53  DtComponentDescriptor* desc = 0,
54  DtReaderWriterRegistry* parentRegistry = 0);
55 
56 protected:
60 
63 
67 
68 protected:
70  virtual void initializeSetsToRegister();
71 };
72 
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
File: simMsg.h.
Definition: simMessage.h:35
virtual void initializeSetsToRegister()
Override to register (or remove) sets to be registered.
virtual const char * type() const
Returns a string identifies the class type of component.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
DtTacticalGraphicSetController is a controller that handles all DtSetDataRequest messages for an envi...
Definition: tacticalGraphicSetController.h:27
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
const DtTacticalGraphicSetController & operator=(const DtTacticalGraphicSetController &orig)
assignment operator
Uses Descriptor Type: DtComponentDescriptor.
Definition: aerodromeSetController.h:15

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)