VR-Link API Documentation for HLA 1.3
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
reflectedPointObjectDIS.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2013 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#if DtDIS
13
14
15
#include <
vl/pointObjectRepository.h
>
16
#include <
vl/pointObjectDecoderDIS.h
>
17
#include <
vl/reflectedObjectDIS.h
>
18
#include <
vl/objectIdHashKey.h
>
19
20
class
DtReflectedPointObject
;
21
24
typedef
void (*
DtPointObjectCallbackFunction
)(
DtReflectedPointObject
*,
void
* );
25
29
class
DT_DLL_VL
DtReflectedPointObject
:
public
DtReflectedObject
30
{
31
public
:
32
34
typedef
DtPointObjectRepository
* (*DtStateRepCreator)();
35
36
public
:
37
39
DtReflectedPointObject
(
DtExerciseConn
* conn,
40
const
DtEntityIdentifier
&
id
);
41
43
virtual
~
DtReflectedPointObject
();
44
46
virtual
inline
DtPointObjectRepository
* pointObjectStateRep()
const
{
return
myStateRepository; }
47
49
virtual
inline
DtPointObjectRepository
* posr()
const
{
return
myStateRepository; }
50
53
virtual
inline
DtStateRepository
*
stateRep
()
const
{
return
myStateRepository; }
54
57
virtual
void
processStateMessage(
const
DtStateMsg
& msg );
58
60
virtual
DtReflectedPointObject
* next()
const
;
61
63
virtual
DtReflectedPointObject
* prev()
const
;
64
67
virtual
DtReflectedPointObject
* wrapNext()
const
;
68
71
virtual
DtReflectedPointObject
* wrapPrev()
const
;
72
74
virtual
void
addPostUpdateCallback(
75
DtPointObjectCallbackFunction
cb,
void
* usr );
76
virtual
void
removePostUpdateCallback(
77
DtPointObjectCallbackFunction
cb,
void
* usr );
78
80
virtual
inline
const
DtBaseHashKey
& hashKey()
const
{
return
myHashKey; }
81
83
virtual
inline
DtString
idString()
const
{
return
myIdString; }
84
87
virtual
const
DtGlobalObjectDesignator
&
globalId
()
const
;
88
90
static
void
setStateRepCreator( DtStateRepCreator creator );
91
static
DtStateRepCreator stateRepCreator();
92
93
protected
:
94
96
DtReflectedPointObject
(
const
DtReflectedPointObject
& );
97
99
DtReflectedPointObject
&
operator =
(
const
DtReflectedPointObject
& );
100
101
protected
:
102
103
static
DtStateRepCreator theStateRepCreator;
104
105
DtEntityIdentifierHashKey
myHashKey;
106
DtString
myIdString;
107
DtPointObjectRepository
* myStateRepository;
108
DtPointObjectDecoder
*
myDecoder
;
109
110
};
111
112
#endif // DtDIS
Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)