VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfExtObjects
reflectedRectangularPyramidDIS.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
#pragma once
6
#if DtDIS
7
8
#include <vlutil/vlMachineTypes.h>
9
#include <vl/objectIdHashKey.h>
10
#include <vl/reflectedObjectDIS.h>
11
#include <vl/globalObjectDesignator.h>
12
#include <vl/globalObjectDesignator.h>
13
#include <
vrfExtObjects/vrfExtObjectsDefines.h
>
14
15
class
DtExerciseConn;
16
17
class
DtRectangularPyramidStateRepository
;
18
class
DtRectangularPyramidDecoder
;
19
class
DtReflectedRectangularPyramid
;
20
class
DtRectangularPyramidPdu
;
21
23
typedef
void (*
DtRectangularPyramidCallbackFunction
)(
24
DtReflectedRectangularPyramid
* obj,
void
* userData);
25
27
class
DT_DLL_vrfExtObjects
DtReflectedRectangularPyramid
:
public
DtReflectedObject
28
{
29
public
:
30
32
typedef
DtRectangularPyramidStateRepository
* (*DtStateRepCreator)();
33
34
public
:
35
37
DtReflectedRectangularPyramid
(DtExerciseConn* conn,
38
const
DtEntityIdentifier&
id
);
39
41
virtual
~
DtReflectedRectangularPyramid
();
42
43
private
:
45
DtReflectedRectangularPyramid
(
const
DtReflectedRectangularPyramid
& orig);
46
48
DtReflectedRectangularPyramid
& operator=(
const
DtReflectedRectangularPyramid
& orig);
49
public
:
50
53
virtual
DtRectangularPyramidStateRepository
* rectangularPyramidStateRep()
const
;
54
56
virtual
DtRectangularPyramidStateRepository
* rsr()
const
;
57
61
virtual
DtStateRepository
* stateRep()
const
;
62
65
virtual
DtRectangularPyramidDecoder
* decoder();
66
68
virtual
const
DtObjectId& id()
const
;
69
72
virtual
const
DtGlobalObjectDesignator
& globalId()
const
;
73
75
virtual
DtReflectedRectangularPyramid
* next()
const
;
76
virtual
DtReflectedRectangularPyramid
* prev()
const
;
77
79
virtual
DtReflectedRectangularPyramid
* wrapNext()
const
;
80
virtual
DtReflectedRectangularPyramid
* wrapPrev()
const
;
81
83
virtual
void
addPostUpdateCallback(
84
DtRectangularPyramidCallbackFunction
cb,
void
* userData);
85
virtual
void
removePostUpdateCallback(
86
DtRectangularPyramidCallbackFunction
cb,
void
* userData);
87
89
virtual
void
setHashKey(
const
DtString
& uniqueVal);
90
93
virtual
const
DtBaseHashKey
& hashKey()
const
;
94
96
virtual
DtString
idString()
const
;
97
98
100
virtual
void
processStateMessage(
const
DtStateMsg
& msg);
101
104
virtual
void
processRectangularPyramidState(
const
DtRectangularPyramidPdu
& pdu);
105
106
public
:
107
109
static
void
setStateRepCreator(DtStateRepCreator creator);
110
static
DtStateRepCreator stateRepCreator(
void
);
111
112
protected
:
113
114
static
DtStateRepCreator
theStateRepCreator
;
115
DtStringHashKey
myHashKey
;
116
DtEntityIdentifier
myId
;
117
DtRectangularPyramidStateRepository
*
myStateRep
;
118
DtRectangularPyramidDecoder
*
myDecoder
;
119
};
120
121
122
123
#endif
124
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)