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
reflectedIffDIS.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 DtReflectedIff_H_
11
#define DtReflectedIff_H_
12
13
#if DtDIS
14
15
#include "
hostStructs.h
"
16
#include "
iffStateRepository.h
"
17
#include "
reflectedObjectDIS.h
"
18
#include "
iffSystemHashKey.h
"
19
20
21
class
DT_DLL_VL
DtReflectedIff
;
22
class
DT_DLL_VL
DtIffStateDecoder
;
23
26
typedef
void (*
DtIffCallbackFunction
)(
27
DtReflectedIff
* obj,
void
* userData);
28
29
34
class
DT_DLL_VL
DtReflectedIff
:
public
DtReflectedObject
35
{
36
public
:
37
39
typedef
DtIffStateRepository
* (*DtStateRepCreator)();
40
41
public
:
42
44
DtReflectedIff
(
DtExerciseConn
* conn,
45
const
DtGlobalObjectDesignator
& emittingEntity,
46
DtU16
systemType,
DtU16
systemName,
DtU8
systemDesignator);
47
49
virtual
~
DtReflectedIff
();
50
52
virtual
DtIffStateRepository
* iffRep()
const
;
53
55
virtual
DtIffStateRepository
* isr()
const
;
56
58
virtual
DtIffStateRepository
* iffStateRep()
const
;
59
63
virtual
DtStateRepository
*
stateRep
()
const
;
64
67
virtual
void
processStateMessage
(
const
DtStateMsg
& msg);
68
70
virtual
DtReflectedIff
*
next
()
const
;
71
73
virtual
DtReflectedIff
*
prev
()
const
;
74
77
virtual
DtReflectedIff
*
wrapNext
()
const
;
78
81
virtual
DtReflectedIff
*
wrapPrev
()
const
;
82
84
virtual
void
addPostUpdateCallback(
85
DtIffCallbackFunction
cb,
void
* userData);
86
87
virtual
void
removePostUpdateCallback(
88
DtIffCallbackFunction
cb,
void
* userData);
89
91
virtual
const
DtBaseHashKey
&
hashKey
()
const
;
92
95
virtual
const
DtGlobalObjectDesignator
&
globalId
()
const
;
96
98
virtual
DtString
idString
()
const
;
99
100
public
:
101
103
static
void
setStateRepCreator(DtStateRepCreator creator);
104
static
DtStateRepCreator stateRepCreator(
void
);
105
106
protected
:
107
109
DtReflectedIff
(
const
DtReflectedIff
& orig);
110
112
DtReflectedIff
&
operator=
(
113
const
DtReflectedIff
& orig);
114
115
protected
:
116
117
DtIffStateRepository
*
myStateRepository
;
118
DtIFFSystemHashKey
myHashKey
;
119
DtString
myIdString
;
120
DtIffStateDecoder
*
myDecoder
;
121
122
protected
:
123
124
static
DtStateRepCreator
theStateRepCreator
;
125
126
};
127
128
129
#endif
130
#endif
131
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
)