VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRunwayLightSignaler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
15 #include <vrvUtil/signalslib.h>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  enum class DtRunwayLightsEnum : unsigned int;
21 
27  {
28  public:
31 
33  virtual ~DtRunwayLightSignaler();
34 
37 
39  DtRunwayLightSignaler& operator=(const DtRunwayLightSignaler&) = delete;
40 
42  static DtRunwayLightSignaler& instance(DtDe& de);
43 
44  public:
45 
47  makVrv::vrvSignalsLib::signal<void(std::string airportName, std::string runwayName, DtRunwayLightsEnum lightType, float intensity)> signal_runwayLightsChanged;
48  };
49 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtRunwayLightsEnum
Enumeration for light types placed on runways. Note that all are associated with logical runways exce...
Definition: DtLightGroupNameManager.h:22
makVrv::vrvSignalsLib::signal< void(std::string airportName, std::string runwayName, DtRunwayLightsEnum lightType, float intensity)> signal_runwayLightsChanged
Signal that runway lights have changed. Intensity is a value from 0. to 1.
Definition: DtRunwayLightSignaler.h:47
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
A singleton signaler for changes to runway lights. This signaler is used by the DtRunwayLightingUpdat...
Definition: DtRunwayLightSignaler.h:26
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Contains DLL export macros.

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)