VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfGuiSidcRequestor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfGuiCore/vrfGuiCore.h"
14 #include <boost/signals2.hpp>
15 
16 class DtSimMessage;
17 
18 namespace makVrv
19 {
20  class DtDe;
21 }
22 
23 namespace makVrf
24 {
26 
28  {
29  public:
32 
34  virtual ~DtVrfGuiSidcRequestor();
35 
36  static DtVrfGuiSidcRequestor& instance(makVrv::DtDe&);
37  static void registerInstance(makVrv::DtDe&, DtVrfGuiSidcRequestor*);
38 
41  {
42  return mySidcMappings;
43  }
44 
46  bool hasInformation() const
47  {
48  return myHasInformation;
49  }
50 
52  virtual void requestSidcInformation();
53 
54  public:
55  boost::signals2::signal<void ()> signal_sidcInformationReceived;
56 
57  protected:
58  virtual void processMsdlSidcMessage(DtSimMessage* m);
59 
60  protected:
62 
66  };
67 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtMsdlHierarchyPropertyMappings mySidcMappings
Definition: vrfGuiSidcRequestor.h:65
bool myHasInformation
Definition: vrfGuiSidcRequestor.h:64
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
makVrv::DtDe & myDe
Definition: vrfGuiSidcRequestor.h:61
Contains makVrv::DtVirtualBaseClass class.
This class will request sidc information and keep the latest request. Call hasInformation() to see if...
Definition: vrfGuiSidcRequestor.h:27
Definition: msdlHierarchyPropertyMappings.h:56
File: simMsg.h.
Definition: simMessage.h:35
boost::signals2::signal< void()> signal_sidcInformationReceived
Definition: vrfGuiSidcRequestor.h:55
const DtMsdlHierarchyPropertyMappings & sidcMappings() const
Accessor for mappings.
Definition: vrfGuiSidcRequestor.h:40
int myRequestId
Definition: vrfGuiSidcRequestor.h:63
bool hasInformation() const
Accessor for whether or not this class has sidc information.
Definition: vrfGuiSidcRequestor.h:46
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:70

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)