VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtMessageClient.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtMessageClient.h,v $ $Revision: 1.18 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtMessageClient_H_
14 #define DtMessageClient_H_
15 
16 #include <vrvUtil/vrvUtil.h>
17 #include <string>
18 #include <vector>
19 
20 namespace makVrv
21 {
22 
23  class DtMessage;
24 
25 
31  {
32  public:
33 
35 
37  DtMessageClient(const std::string& clientName);
38 
40  virtual ~DtMessageClient();
41 
43  virtual void deliver(DtMessage& msg) = 0;
44 
45  typedef std::vector<DtMessage*> MessageList;
46 
49  virtual void getServerMessages(MessageList&) = 0;
50 
53  typedef unsigned short IGIInterfaceID;
54 
56  virtual const std::string& name() const;
57 
58  protected:
59 
60  //Quick lookup map for Interface IDs.
61  std::vector<IGIInterfaceID> myInterfaceMap;
62 
63  std::string myName;
64 
65  };
66 
67 }
68 
69 #endif
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
The IGI Message.
Definition: DtMessage.h:33
std::string myName
Definition: DtMessageClient.h:63
unsigned short IGIInterfaceID
The IGIInterfaceID type.
Definition: DtMessageClient.h:53
Contains DLL export macros.
std::vector< DtMessage * > MessageList
Definition: DtMessageClient.h:45
IGI Client is responsible for delivering IGI messages to other remote managers.
Definition: DtMessageClient.h:30
std::vector< IGIInterfaceID > myInterfaceMap
Definition: DtMessageClient.h:61

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)