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
class
DT_DLL_VL
DtEmitterSystemStateDecoder
;
22
25
typedef
void (*
DtEmitterSystemCallbackFunction
)(
26
DtReflectedEmitterSystem
* obj,
void
* userData);
27
28
33
class
DT_DLL_VL
DtReflectedEmitterSystem
:
public
DtReflectedObject
34
{
35
public
:
36
38
typedef
DtEmitterSystemRepository
* (*DtStateRepCreator)();
39
40
public
:
41
43
DtReflectedEmitterSystem
(
DtExerciseConn
* conn,
44
const
DtGlobalObjectDesignator
& emittingEntity,
45
DtU8
systemNumber);
46
48
virtual
~
DtReflectedEmitterSystem
();
49
51
virtual
DtEmitterSystemRepository
* emitterSysRep()
const
;
52
54
virtual
DtEmitterSystemRepository
* esr()
const
;
55
59
virtual
DtStateRepository
*
stateRep
()
const
;
60
63
virtual
void
processStateMessage
(
const
DtStateMsg
& msg);
64
66
virtual
DtReflectedEmitterSystem
*
next
()
const
;
67
69
virtual
DtReflectedEmitterSystem
*
prev
()
const
;
70
73
virtual
DtReflectedEmitterSystem
*
wrapNext
()
const
;
74
77
virtual
DtReflectedEmitterSystem
*
wrapPrev
()
const
;
78
80
virtual
void
addPostUpdateCallback(
81
DtEmitterSystemCallbackFunction
cb,
void
* userData);
82
83
virtual
void
removePostUpdateCallback(
84
DtEmitterSystemCallbackFunction
cb,
void
* userData);
85
87
virtual
const
DtBaseHashKey
&
hashKey
()
const
;
88
90
virtual
DtString
idString
()
const
;
91
94
virtual
const
DtGlobalObjectDesignator
&
globalId
()
const
;
95
96
public
:
97
99
static
void
setStateRepCreator(DtStateRepCreator creator);
100
static
DtStateRepCreator stateRepCreator(
void
);
101
102
protected
:
103
105
DtReflectedEmitterSystem
(
const
DtReflectedEmitterSystem
& orig);
106
108
DtReflectedEmitterSystem
&
operator=
(
109
const
DtReflectedEmitterSystem
& orig);
110
111
protected
:
112
113
DtString
myIdString
;
114
DtEmitterSystemRepository
*
myStateRepository
;
115
DtSystemHashKey
myHashKey
;
116
DtEmitterSystemStateDecoder
*
myDecoder
;
117
protected
:
118
119
static
DtStateRepCreator
theStateRepCreator
;
120
121
};
122
123
124
#endif
125
#endif
126
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)