VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
removeEntRPdu.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
9
10
#ifndef DtRemoveEntityRPdu_H_
11
#define DtRemoveEntityRPdu_H_
12
13
#if DtDIS
14
15
#include "
hostStructs.h
"
16
#include "
simanPdu.h
"
17
#include "
packets/removeEntRP.h
"
18
#include "
exerciseConn.h
"
19
20
21
class
DT_DLL_VL
DtRemoveEntityRPdu
;
22
24
typedef
void (*
DtRemoveEntityRPduCb
)(
DtRemoveEntityRPdu
* pdu,
void
* usr);
25
29
class
DT_DLL_VL
DtRemoveEntityRPdu
:
public
DtSimanPdu
30
{
31
public
:
32
34
DtRemoveEntityRPdu
(
DtBufferPtr
buffer =
DtUSE_INTERNAL_BUFFER
);
35
DtRemoveEntityRPdu
(
const
DtNetRemoveEntityRPdu
* initial,
36
DtBufferPtr
buffer =
DtUSE_INTERNAL_BUFFER
);
37
DtRemoveEntityRPdu
(
const
DtEntityIdentifier
& to,
38
const
DtEntityIdentifier
& from,
39
DtBufferPtr
buffer =
DtUSE_INTERNAL_BUFFER
);
40
DtRemoveEntityRPdu
(
const
DtRemoveEntityRPdu
& orig);
41
43
virtual
~
DtRemoveEntityRPdu
();
44
46
DtRemoveEntityRPdu
&
operator=
(
const
DtRemoveEntityRPdu
& orig);
47
49
virtual
void
setReqRelService(
DtRequiredReliabilityService
value);
50
virtual
DtRequiredReliabilityService
reqRelService()
const
;
51
53
virtual
void
setRequestId(
int
id
);
54
virtual
int
requestId()
const
;
55
57
virtual
void
printData
()
const
;
58
60
virtual
void
printDataToStream
(std::ostream& stream)
const
;
61
62
public
:
65
static
DtPdu
* create(
const
DtNetPacket
* initial,
66
DtBufferPtr
buffer =
DtUSE_INTERNAL_BUFFER
);
67
70
static
void
addCallback(
DtExerciseConn
* conn,
71
DtRemoveEntityRPduCb
cb,
void
* usr);
72
static
void
removeCallback(
DtExerciseConn
* conn,
73
DtRemoveEntityRPduCb
cb,
void
* usr);
74
75
protected
:
77
virtual
DtPduKind
internalGetPduKind
()
const
;
78
79
protected
:
80
81
static
const
int
theStaticSize
;
82
83
};
84
85
inline
DtPduKind
DtRemoveEntityRPdu::internalGetPduKind
()
const
86
{
87
return
DtRemoveEntityRPduKind
;
88
}
89
90
#endif
91
#endif
92
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)