VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
activeSonarElementProcessor.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 {
21  {
22  class DtVrlinkConnection;
23  }
24 }
25 
26 namespace makVrf
27 {
28  namespace VRF_PROTOCOL_NAMESPACE
29  {
30  class DtActiveSonarExistenceListener;
31  class DtVrlinkActiveSonarStateListener;
32 
39  {
40  public:
43 
46  static void registerInstance(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection& conn,
48 
51 
54 
56  DtVrlinkActiveSonarStateListener* findListener( const makVrv::DtElementID& elementId );
57 
58  protected:
59 
61  virtual void onActiveSonarDiscovered(DtVrlinkActiveSonarStateListener* listener);
62 
64  virtual void onActiveSonarToBeDestroyed(DtVrlinkActiveSonarStateListener* listener);
65 
66  protected:
69 
70  typedef boost::unordered_map<makVrv::DtElementID, DtVrlinkActiveSonarStateListener*> ActiveSonarListenerMap;
71 
73  };
74  }
75 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)