VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfEntityElementProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
14 #include <vrfutil/rwUUID.h>
15 
16 #include <boost/unordered_map.hpp>
17 
20 
21 namespace makVrv
22 {
23  class DtEntityStateListener;
24 }
25 
26 namespace makVrf
27 {
28  namespace VRF_PROTOCOL_NAMESPACE
29  {
33  {
34  public:
37 
39  virtual ~DtVrfEntityElementProcessor();
40 
45 
46  virtual void onEntityDiscovered(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityStateListener& listener);
47 
48  virtual void onEntityToBeDestroyed(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityStateListener& listener);
49 
50  protected:
51  virtual void hookPublishedListener(makVrv::DtEntityStateListener& listener);
52  virtual void uuidFrom(DtExtEntityStateRepository*, DtUUID&) const;
53 
54  protected:
55  typedef boost::unordered_map<DtUUID, makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityStateListener*> ListenersByUUID;
56 
60  };
61  }
62 }
63 
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
ListenersByUUID myOrbatListenersByVrfUUID
Definition: vrfEntityElementProcessor.h:58
#define VRF_PROTOCOL_EXPORT
Definition: vrfProtocol.h:24
Contains makVrv::DtEntityElementProcessor class.
The main class for the remote control interface to VR-Forces.
Definition: vrfRemoteController.h:204
#define VRF_PROTOCOL_NAMESPACE
Definition: vrfDis.h:18
DtExtEntityStateRepository class extends the DtExtEntityBaseStateRepository to be able to handle exte...
Definition: extEntityStateRepository.h:25
boost::unordered_map< DtUUID, makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityStateListener * > ListenersByUUID
Definition: vrfEntityElementProcessor.h:55
int myRetryCount
Definition: vrfEntityElementProcessor.h:59
The DtEntityElementProcessor will connect to the DtEntityExistenceListener and handle the creation of...
Definition: DtEntityElementProcessor.h:44
ListenersByUUID myPublishedListenersByUUID
Definition: vrfEntityElementProcessor.h:57
Handle creation of entity elements such that they can be associated with orbat items, or, handle differently if they are orbat items.
Definition: vrfEntityElementProcessor.h:32
DtEntityStateListener.
Definition: DtEntityStateListener.h:44

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)