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
rectangularPyramidPublisherDIS.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
7
8
9
10
#if DtDIS
11
12
#include <vl/objectPublisherDIS.h>
13
#include <
vrfExtObjects/vrfExtObjectsDefines.h
>
14
#include "
rectangularPyramidEncoderDIS.h
"
15
#include "
rectangularPyramidDecoderDIS.h
"
16
17
18
class
DtRectangularPyramidStateRepository
;
19
24
class
DT_DLL_vrfExtObjects
DtRectangularPyramidPublisher
:
public
DtObjectPublisher
25
{
26
public
:
28
typedef
DtRectangularPyramidStateRepository
* (*DtStateRepCreator)();
29
30
public
:
32
DtRectangularPyramidPublisher
(
33
DtRectangularPyramidStateRepository
* stateRepToUse,
34
DtExerciseConn* conn,
35
const
DtObjectId&
id
= DtObjectId::nullId());
36
38
DtRectangularPyramidPublisher
(
39
DtExerciseConn* conn,
40
const
DtObjectId&
id
= DtObjectId::nullId());
41
43
virtual
~
DtRectangularPyramidPublisher
();
44
45
private
:
47
DtRectangularPyramidPublisher
(
const
DtRectangularPyramidPublisher
& orig);
48
50
DtRectangularPyramidPublisher
& operator=(
51
const
DtRectangularPyramidPublisher
& orig);
52
53
public
:
54
57
virtual
DtRectangularPyramidStateRepository
* rectangularPyramidStateRep();
58
60
virtual
DtRectangularPyramidStateRepository
* rsr();
61
63
virtual
void
tick();
64
66
virtual
void
forceUpdate();
67
69
virtual
const
DtObjectId& id()
const
;
70
72
virtual
const
DtObjectId& localId()
const
;
73
75
virtual
const
DtGlobalObjectDesignator
& globalId()
const
;
76
77
public
:
79
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
80
81
protected
:
82
static
DtStateRepCreator
theStateRepCreator
;
83
DtObjectId
myId
;
84
DtRectangularPyramidDecoder
*
myDecoder
;
85
DtRectangularPyramidEncoder
*
myEncoder
;
86
87
};
88
89
inline
DtRectangularPyramidStateRepository
*
DtRectangularPyramidPublisher::rectangularPyramidStateRep
()
90
{
91
return
(
DtRectangularPyramidStateRepository
*) myStateRep;
92
}
93
94
inline
DtRectangularPyramidStateRepository
*
DtRectangularPyramidPublisher::rsr
()
95
{
96
return
(
DtRectangularPyramidStateRepository
*) myStateRep;
97
}
98
99
100
101
#endif // DtDIS
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
)