VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
iffElementProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vrvCore/DtUniqueID.h>
16 #include <boost/unordered_map.hpp>
17 
18 namespace makVrv
19 {
20  namespace DT_PROTOCOL_NAMESPACE
21  {
22  class DtVrlinkConnection;
23  }
24 }
25 
26 namespace makVrf
27 {
28  namespace VRF_PROTOCOL_NAMESPACE
29  {
30  class DtIffExistenceListener;
31  class DtVrlinkIffStateListener;
32 
39  {
40  public:
43 
46  static void registerInstance(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection& conn,
47  DtIffElementProcessor* instance);
48 
51 
53  virtual ~DtIffElementProcessor();
54 
56  DtVrlinkIffStateListener* findListener( const makVrv::DtElementID& elementId );
57 
58  protected:
59 
61  virtual void onIffDiscovered(DtVrlinkIffStateListener& listener);
62 
64  virtual void onIffToBeDestroyed(DtVrlinkIffStateListener& listener);
65 
66  protected:
69 
70  typedef boost::unordered_map<makVrv::DtElementID, DtVrlinkIffStateListener*> IffListenerMap;
71 
73  };
74  }
75 }
Virtual base class.
Definition: DtVirtualBaseClass.h:19
makVrv::DtSignalConnectionManager myConnections
Definition: iffElementProcessor.h:68
#define VRF_PROTOCOL_EXPORT
Definition: vrfProtocol.h:24
makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection & myConnection
Definition: iffElementProcessor.h:67
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
IffListenerMap myListeners
Definition: iffElementProcessor.h:72
Contains makVrv::DtVirtualBaseClass class.
#define VRF_PROTOCOL_NAMESPACE
Definition: vrfDis.h:18
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
#define DT_PROTOCOL_NAMESPACE
Make VR-Vantage VRLink code export with library #ifdef DL_DLL_IGCONVRLINK #undef DL_DLL_IGCONVRLINK #...
Definition: export.h:32
Base class to provide boost signal/slot management.
boost::unordered_map< makVrv::DtElementID, DtVrlinkIffStateListener * > IffListenerMap
Definition: iffElementProcessor.h:70
Contains makVrv::DtUniqueID type.
The DtIffElementProcessor will connect to the DtIffExistenceListener and handle the creation of DtIff...
Definition: iffElementProcessor.h:38

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)