VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRunwayStatusSignaler.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 #include <vrvCore/DtUniqueID.h>
14 
16 #include <vrvUtil/signalslib.h>
17 
18 namespace makVrv
19 {
20  class DtDe;
21  enum class DtRunwayCondition : unsigned int;
22 
28  {
29  public:
32 
34  virtual ~DtRunwayStatusSignaler();
35 
38 
40  DtRunwayStatusSignaler& operator=( const DtRunwayStatusSignaler& ) = delete;
41 
43  static DtRunwayStatusSignaler& instance(DtDe& de );
44 
45  public:
46 
49  boost::signalslib::signal<void(DtUniqueID runwayId, unsigned int runwayIndex, const std::string& airportName, const std::string& runwayName, bool isActive)> signal_runwayActiveStateChanged;
50 
53  boost::signalslib::signal<void(DtUniqueID runwayId, const std::string& airportName, const std::string& runwayName, DtRunwayCondition cond)> signal_runwayConditionChanged;
54 
57  boost::signalslib::signal<void(DtUniqueID runwayId, const std::string& airportName, const std::string& runwayName, bool isDamaged)> signal_runwayDamageStateChanged;
58 
61  boost::signalslib::signal<void(DtUniqueID runwayId, unsigned int runwayIndex, const std::string& airportName, const std::string& runwayName, bool hasArrestorsUp)> signal_runwayArrestorStateChanged;
62  };
63 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
boost::signalslib::signal< void(DtUniqueID runwayId, unsigned int runwayIndex, const std::string &airportName, const std::string &runwayName, bool isActive)> signal_runwayActiveStateChanged
Signal that runway active state has changed. The signal includes both the runwayId assigned by the ae...
Definition: DtRunwayStatusSignaler.h:49
Contains makVrv::DtVirtualBaseClass class.
A singleton signaler for changes to runway status. This signaler is used by the DtRunwayStatusUpdater...
Definition: DtRunwayStatusSignaler.h:27
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
boost::signalslib::signal< void(DtUniqueID runwayId, unsigned int runwayIndex, const std::string &airportName, const std::string &runwayName, bool hasArrestorsUp)> signal_runwayArrestorStateChanged
Signal that runway arrestor state has changed. The signal includes both the runwayId assigned by the ...
Definition: DtRunwayStatusSignaler.h:61
boost::signalslib::signal< void(DtUniqueID runwayId, const std::string &airportName, const std::string &runwayName, DtRunwayCondition cond)> signal_runwayConditionChanged
Signal that runway wet/dry state has changed. The signal includes both the runwayId assigned by the a...
Definition: DtRunwayStatusSignaler.h:53
DtRunwayCondition
Definition: DtAerodromeStatusManager.h:30
Contains makVrv::DtUniqueID type.
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:72
Contains DLL export macros.
boost::signalslib::signal< void(DtUniqueID runwayId, const std::string &airportName, const std::string &runwayName, bool isDamaged)> signal_runwayDamageStateChanged
Signal that runway damage state has changed. The signal includes both the runwayId assigned by the ae...
Definition: DtRunwayStatusSignaler.h:57

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)