MAK RTIspy API Documentation for HLA Evolved
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
RTI
deleteMsg.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1998 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: deleteMsg.h,v $ $Revision: 1.18 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtDeleteMsg_H_
13
#define DtDeleteMsg_H_
14
15
#include "
rtiMsConfig.h
"
16
#include "
rtiMsg.h
"
17
18
class
DtConnectionMgr
;
19
class
DtDeleteMsg
;
20
typedef
void (*
DtDeleteCb
)(
const
DtDeleteMsg
& inter,
void
* usr);
21
22
24
class
DT_DLL_LRC
DtDeleteMsg
:
public
DtRtiMsg
25
{
26
public
:
27
29
DtDeleteMsg
(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
30
32
virtual
~
DtDeleteMsg
();
33
35
virtual
void
setId(
DtObjectInstanceHandle
id
) = 0;
36
virtual
DtObjectInstanceHandle
id()
const
= 0;
37
39
#ifdef DtIFSPEC1516
40
virtual
void
setTag(
rti1516::VariableLengthData
const
& tag);
41
virtual
rti1516::VariableLengthData
const
& tag()
const
;
42
#elif defined(DtIFSPEC1516E)
43
virtual
void
setTag(
rti1516e::VariableLengthData
const
& tag);
44
virtual
rti1516e::VariableLengthData
const
& tag()
const
;
45
#else
46
virtual
void
setTag(
char
const
* tag);
47
virtual
char
const
* tag()
const
;
48
#endif
49
50
protected
:
51
53
virtual
void
setTagSize(
int
size) = 0;
54
virtual
int
tagSize()
const
= 0;
55
57
virtual
char
* tagPtr() = 0;
58
60
virtual
int
tagFieldSize()
const
;
61
63
virtual
DtDeleteMsg
*
self
()
const
;
64
65
protected
:
66
#ifdef DtIFSPEC1516
67
rti1516::VariableLengthData
* myTag;
68
#elif defined(DtIFSPEC1516E)
69
rti1516e::VariableLengthData
* myTag;
70
#else
71
char
*
myTag
;
72
#endif
73
};
74
75
76
inline
DtDeleteMsg
*
DtDeleteMsg::self
()
const
77
{
78
return
const_cast<
DtDeleteMsg
*
>
( this );
79
}
80
81
#endif
82
Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)