VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCloudLayerElement.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrl/vrvVrl.h>
14 
15 #include <vrvCore/DtUniqueID.h>
16 
17 namespace makVrv
18 {
19  class DtExternalCloudLayerAgent;
20 
21  namespace DT_PROTOCOL_NAMESPACE
22  {
23  class DtCloudLayerStateListener;
24  class DtVrlinkConnection;
25 
32  {
33  public:
34 
37 
39  virtual ~DtCloudLayerElement();
40 
44  virtual void initialize();
45 
47  inline DtElementID elementID() const
48  {
49  return myElementId;
50  }
51 
52  protected:
53 
60  virtual void slot_cloudLayerUpdated();
61 
65  virtual void sendAll();
66 
67  private:
70 
72  DtCloudLayerElement& operator=(const DtCloudLayerElement& rhs);
73 
76 
77  protected:
81  DtExternalCloudLayerAgent* myExternalCloudLayerAgent;
83  };
84  }
85 }
86 
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
DtElementID elementID() const
Get the element ID of the element. The element ID is also the unique id of the listener.
Definition: DtCloudLayerElement.h:47
#define DL_DLL_IGCONVRLINK
Definition: dllExport.h:26
#define DT_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:17
DtVrlinkConnection & myConnection
Definition: DtCloudLayerElement.h:78
DtSignalConnectionManager myConnections
Definition: DtCloudLayerElement.h:82
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtCloudLayerStateListener & myCloudLayerListener
Definition: DtCloudLayerElement.h:79
The CloudLayer state listener is a factory-created DtVrlinkTacticalGraphicStateListener. When a DtReflectedControlObject is discovered, this listener will be created. It provides the interface to the Control Object State Repository, extracting data on calls to update(); camparing old and new values; and raising a signal when the cloud layer is updated. Because of the way that Silverlining clouds need to managed and updated, it tracks three types of changes; changes to layer properties such as type, density, and size; changes to position (including altitude); and changes to the enabled state. A reference to each instance of DtCloudLayerStateListener is provide to each corresponding DtCloudLayerElement.
Definition: DtCloudLayerStateListener.h:42
Base class to provide boost signal/slot management.
Contains makVrv::DtUniqueID type.
DtElementID myElementId
Definition: DtCloudLayerElement.h:80
The CloudLayer element is an object that manages the interface between the Cloud Layer State Listener...
Definition: DtCloudLayerElement.h:31
Contains DLL export macros.
DtExternalCloudLayerAgent * myExternalCloudLayerAgent
Definition: DtCloudLayerElement.h:81

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)