VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
splitMessageKey.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1999-2001 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: splitMessageKey.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
11
12
#ifndef DtSplitMessageKey_H_
13
#define DtSplitMessageKey_H_
14
15
#include "
vrfutil/vrfutilDefines.h
"
16
17
#include <vlpi/simulationAddress.h>
18
21
23
class
DT_DLL_vrfutil
DtSplitMessageKey
24
{
25
public
:
26
DtSplitMessageKey
();
27
DtSplitMessageKey
(
const
DtSimulationAddress& senderAddr,
int
msgId);
28
29
virtual
~
DtSplitMessageKey
();
30
31
bool
operator==
(
const
DtSplitMessageKey
& other)
const
;
32
bool
operator<(
const
DtSplitMessageKey
& other)
const
;
33
34
inline
const
DtSimulationAddress&
senderAddr
()
const
{
return
mySenderAddr;}
35
inline
void
setSenderAddr
(
const
DtSimulationAddress& addr){mySenderAddr = addr;}
36
37
inline
int
messageId
()
const
{
return
myMessageId;}
38
inline
void
setMessageId
(
int
val){myMessageId = val;}
39
40
protected
:
41
DtSimulationAddress
mySenderAddr
;
42
int
myMessageId
;
43
};
44
45
#endif
46
47
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)