VR-Forces 4.7 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
reflectedRectangularPyramidHLA.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 DtHLA
13
14
#include <
vrfExtObjects/dllExport.h
>
15
#include <
vrfExtObjects/rectangularPyramidStateRepository.h
>
16
#include <vl/reflectedObjectHLA.h>
17
18
class
DtReflectedRectangularPyramid
;
19
23
typedef
void (*
DtRectangularPyramidCallbackFunction
)(
24
DtReflectedRectangularPyramid
* obj,
void
* userData);
25
30
class
DT_DLL_vrfExtObjects
DtReflectedRectangularPyramid
:
public
DtReflectedObject
31
{
32
public
:
35
typedef
DtRectangularPyramidStateRepository
* (*DtStateRepCreator)();
36
37
public
:
39
DtReflectedRectangularPyramid
(DtHlaObject* obj, DtExerciseConn* exConn);
40
42
virtual
~
DtReflectedRectangularPyramid
();
43
45
virtual
DtRectangularPyramidStateRepository
* rectangularPyramidStateRep()
const
;
46
48
virtual
DtRectangularPyramidStateRepository
* rsr()
const
;
49
52
virtual
DtReflectedRectangularPyramid
* next()
const
;
53
56
virtual
DtReflectedRectangularPyramid
* prev()
const
;
57
60
virtual
DtReflectedRectangularPyramid
* wrapNext()
const
;
61
64
virtual
DtReflectedRectangularPyramid
* wrapPrev()
const
;
65
68
virtual
void
addPostUpdateCallback(
69
DtRectangularPyramidCallbackFunction
cb,
void
* userData);
70
73
virtual
void
removePostUpdateCallback(
74
DtRectangularPyramidCallbackFunction
cb,
void
* userData);
75
76
public
:
78
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
79
80
protected
:
82
DtReflectedRectangularPyramid
(
const
DtReflectedRectangularPyramid
& orig);
83
85
DtReflectedRectangularPyramid
& operator=(
const
DtReflectedRectangularPyramid
& orig);
86
87
protected
:
89
static
DtStateRepCreator theStateRepCreator;
90
};
91
92
inline
DtRectangularPyramidStateRepository
*
DtReflectedRectangularPyramid::rectangularPyramidStateRep
()
const
93
{
94
return
(
DtRectangularPyramidStateRepository
*)
myStateRep
;
95
}
96
97
inline
DtRectangularPyramidStateRepository
*
DtReflectedRectangularPyramid::rsr
()
const
98
{
99
return
(
DtRectangularPyramidStateRepository
*)
myStateRep
;
100
}
101
102
#endif // DtHLA
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)