VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
reflectedEmitterSystemDIS.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 DtReflectedEmitterSystem_H_
11
#define DtReflectedEmitterSystem_H_
12
13
#if DtDIS
14
15
16
#include "
emitterSystemRepository.h
"
17
#include "
reflectedObjectDIS.h
"
18
#include "
systemHashKey.h
"
19
20
class
DT_DLL_VL
DtReflectedEmitterSystem
;
21
24
typedef
void (*
DtEmitterSystemCallbackFunction
)(
25
DtReflectedEmitterSystem
* obj,
void
* userData);
26
27
32
class
DT_DLL_VL
DtReflectedEmitterSystem
:
public
DtReflectedObject
33
{
34
public
:
35
37
typedef
DtEmitterSystemRepository
* (*DtStateRepCreator)();
38
39
public
:
40
42
DtReflectedEmitterSystem
(
DtExerciseConn
* conn,
43
const
DtGlobalObjectDesignator
& emittingEntity,
44
DtU8
systemNumber);
45
47
virtual
~
DtReflectedEmitterSystem
();
48
50
virtual
DtEmitterSystemRepository
* emitterSysRep()
const
;
51
53
virtual
DtEmitterSystemRepository
* esr()
const
;
54
58
virtual
DtStateRepository
*
stateRep
()
const
;
59
62
virtual
void
processStateMessage
(
const
DtStateMsg
& msg);
63
65
virtual
DtReflectedEmitterSystem
*
next
()
const
;
66
68
virtual
DtReflectedEmitterSystem
*
prev
()
const
;
69
72
virtual
DtReflectedEmitterSystem
*
wrapNext
()
const
;
73
76
virtual
DtReflectedEmitterSystem
*
wrapPrev
()
const
;
77
79
virtual
void
addPostUpdateCallback(
80
DtEmitterSystemCallbackFunction
cb,
void
* userData);
81
82
virtual
void
removePostUpdateCallback(
83
DtEmitterSystemCallbackFunction
cb,
void
* userData);
84
86
virtual
const
DtBaseHashKey
&
hashKey
()
const
;
87
89
virtual
DtString
idString
()
const
;
90
93
virtual
const
DtGlobalObjectDesignator
&
globalId
()
const
;
94
95
public
:
96
98
static
void
setStateRepCreator(DtStateRepCreator creator);
99
static
DtStateRepCreator stateRepCreator(
void
);
100
101
protected
:
102
104
DtReflectedEmitterSystem
(
const
DtReflectedEmitterSystem
& orig);
105
107
DtReflectedEmitterSystem
&
operator=
(
108
const
DtReflectedEmitterSystem
& orig);
109
110
protected
:
111
112
DtString
myIdString
;
113
DtEmitterSystemRepository
*
myStateRepository
;
114
DtSystemHashKey
myHashKey
;
115
protected
:
116
117
static
DtStateRepCreator
theStateRepCreator
;
118
119
};
120
121
122
#endif
123
#endif
124
Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)