VR-Forces 5.0.3 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 
13 
16 {
17 
18 public:
19 
23  DtLocalObject* owner,
24  DtSimulationServices* 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  DtLocalObject* owner,
52  DtSimulationServices* simManager,
53  DtComponentDescriptor* desc = 0,
54  DtReaderWriterRegistry* parentRegistry = 0);
55 
56 protected:
60 
63 
67 
68 protected:
70  virtual void initializeSetsToRegister();
71 };
72 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
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
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
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. Type values are defined in compTypes...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
DtTacticalGraphicSetController is a controller that handles all DtSetDataRequest messages for an envi...
Definition: tacticalGraphicSetController.h:26
const DtTacticalGraphicSetController & operator=(const DtTacticalGraphicSetController &orig)
assignment operator
Uses Descriptor Type: DtComponentDescriptor.
Definition: aerodromeSetController.h:15
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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)