VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfExtObjects
reflectedRectangularPyramidDIS.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2017 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#if DtDIS
13
14
#include <
vrfExtObjects/dllExport.h
>
15
#include <vl/globalObjectDesignator.h>
16
#include <vl/globalObjectDesignator.h>
17
#include <vl/reflectedObjectDIS.h>
18
#include <vl/objectIdHashKey.h>
19
#include <vlutil/vlMachineTypes.h>
20
21
class
DtExerciseConn;
22
23
class
DtRectangularPyramidStateRepository
;
24
class
DtRectangularPyramidDecoder
;
25
class
DtReflectedRectangularPyramid
;
26
class
DtRectangularPyramidPdu
;
27
29
typedef
void (*
DtRectangularPyramidCallbackFunction
)(
30
DtReflectedRectangularPyramid
* obj,
void
* userData);
31
33
class
DT_DLL_vrfExtObjects
DtReflectedRectangularPyramid
:
public
DtReflectedObject
34
{
35
public
:
36
38
typedef
DtRectangularPyramidStateRepository
* (*DtStateRepCreator)();
39
40
public
:
41
43
DtReflectedRectangularPyramid
(DtExerciseConn* conn,
44
const
DtEntityIdentifier&
id
);
45
47
virtual
~
DtReflectedRectangularPyramid
();
48
49
private
:
51
DtReflectedRectangularPyramid
(
const
DtReflectedRectangularPyramid
& orig);
52
54
DtReflectedRectangularPyramid
& operator=(
const
DtReflectedRectangularPyramid
& orig);
55
public
:
56
59
virtual
DtRectangularPyramidStateRepository
* rectangularPyramidStateRep()
const
;
60
62
virtual
DtRectangularPyramidStateRepository
* rsr()
const
;
63
67
virtual
DtStateRepository
* stateRep()
const
;
68
71
virtual
DtRectangularPyramidDecoder
* decoder();
72
74
virtual
const
DtObjectId& id()
const
;
75
78
virtual
const
DtGlobalObjectDesignator
& globalId()
const
;
79
81
virtual
DtReflectedRectangularPyramid
* next()
const
;
82
virtual
DtReflectedRectangularPyramid
* prev()
const
;
83
85
virtual
DtReflectedRectangularPyramid
* wrapNext()
const
;
86
virtual
DtReflectedRectangularPyramid
* wrapPrev()
const
;
87
89
virtual
void
addPostUpdateCallback(
90
DtRectangularPyramidCallbackFunction
cb,
void
* userData);
91
virtual
void
removePostUpdateCallback(
92
DtRectangularPyramidCallbackFunction
cb,
void
* userData);
93
95
virtual
void
setHashKey(
const
DtString
& uniqueVal);
96
99
virtual
const
DtBaseHashKey
& hashKey()
const
;
100
102
virtual
DtString
idString()
const
;
103
104
106
virtual
void
processStateMessage(
const
DtStateMsg
& msg);
107
110
virtual
void
processRectangularPyramidState(
const
DtRectangularPyramidPdu
& pdu);
111
112
public
:
113
115
static
void
setStateRepCreator(DtStateRepCreator creator);
116
static
DtStateRepCreator stateRepCreator(
void
);
117
118
protected
:
119
120
static
DtStateRepCreator
theStateRepCreator
;
121
DtStringHashKey
myHashKey
;
122
DtEntityIdentifier
myId
;
123
DtRectangularPyramidStateRepository
*
myStateRep
;
124
DtRectangularPyramidDecoder
*
myDecoder
;
125
};
126
127
#endif // DtDIS
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)