VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simCommandDistributor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
9 
12 
14 #include <vrfplan/simCommand.h>
16 
24 {
25 
26 public:
28  typedef DtSimCommandCallbackList::DtCallbackFunctionType DtSimCommandCallbackFcn;
29  typedef std::map<DtSimCommandMessageType, DtSimCommandCallbackList> DtSimCallbackListMap;
30 
33 
35  virtual ~DtSimCommandDistributor();
36 
38  void addCallback(DtSimCommandMessageType cmdType,
39  DtSimCommandCallbackFcn fcn, void* usrData);
40 
42  void removeCallback(DtSimCommandMessageType cmdType,
43  DtSimCommandCallbackFcn fcn, void* usrData);
44 
47  void invokeCallbacks(const DtSimCommand& simCmd);
48 
49 protected:
50 
53 
55  DtSimCommandDistributor& operator=(const DtSimCommandDistributor& orig);
56 
57 protected:
58 
60 };

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)