VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvUtil
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
30
class
DT_DLL_VRVUTIL
DtMessageClient
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
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)