VR-Forces 4.3 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
vrvVrl
DtAggregateStateInterceptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrvVrl/DtVrlinkAggregateStateListener.h
>
12
13
#include <
vrvUtil/DtVirtualBaseClass.h
>
14
#include <vlutil/vlTime.h>
15
#include <vl/globalObjectDesignator.h>
16
17
#include <matrix/vlVector.h>
18
#include <matrix/vlTaitBryan.h>
19
#include <vlpi/disEnums.h>
20
#include <vlpi/entityType.h>
21
22
class
DtStateRepository;
23
class
DtAggregateStateRepository;
24
25
namespace
makVrv
26
{
27
namespace
DT_PROTOCOL_NAMESPACE
28
{
29
class
DtVrlinkAggregateStateListener;
30
class
DtVrlinkConnection;
31
36
template
<
typename
StateRepClass>
37
class
DtAggregateStateInterceptor
:
public
StateRepClass
38
{
39
public
:
40
43
DtAggregateStateInterceptor
(
DtVrlinkAggregateStateListener
* listener);
44
46
virtual
~DtAggregateStateInterceptor
();
47
50
virtual
void
setMarkingText
(
const
char
* text);
51
52
private
:
54
//\throws DtCorrutedState this class is not copyable.
55
DtAggregateStateInterceptor
(
const
DtAggregateStateInterceptor
& orig);
56
58
//\throws DtCorrutedState this class is not copyable.
59
DtAggregateStateInterceptor
&
operator=
(
const
DtAggregateStateInterceptor
& orig);
60
62
//\throws DtCorrutedState this class is not copyable.
63
virtual
DtStateRepository*
clone
(
bool
copy =
false
)
const
;
64
65
67
virtual
void
setAggregateID
(
const
DtEntityIdentifier&
id
);
68
71
virtual
void
setLocation
(
const
DtVector
& location,
DtTime
aTime);
72
74
virtual
void
setVelocity
(
const
DtVector
& Velocity,
DtTime
aTime);
75
77
virtual
void
setAcceleration
(
const
DtVector
& Acceleration,
DtTime
aTime);
78
80
virtual
void
setOrientation
(
const
DtTaitBryan& orient,
DtTime
aTime);
81
83
virtual
void
setRotationalVelocity
(
const
DtVector
& BodyRates,
DtTime
aTime);
84
86
virtual
void
setAlgorithm
(DtDeadReckonTypes alg);
87
93
virtual
void
setHostGlobalId
(
const
DtGlobalObjectDesignator&
id
);
94
95
virtual
void
clearHostGlobalId
();
96
98
virtual
void
setRelativeLocation
(
const
DtVector
& location,
DtTime
aTime);
99
102
virtual
void
setRelativeVelocity
(
const
DtVector
& Velocity,
DtTime
aTime);
103
106
virtual
void
setRelativeAcceleration
(
const
DtVector
& Acceleration,
107
DtTime
aTime);
108
110
virtual
void
setRelativeOrientation
(
const
DtTaitBryan& orient,
111
DtTime
aTime);
112
114
virtual
void
setRelativeRotationalVelocity
(
const
DtVector
& BodyRates,
115
DtTime
aTime);
116
118
virtual
void
setRelativeFrozen
(
bool
onOff);
119
121
virtual
void
setRelativeAlgorithm
(DtDeadReckonTypes alg);
122
124
virtual
void
setRelativePosition
(
const
DtVector
& newVal );
125
127
virtual
void
setDimensions
(
const
DtVector
& dims);
128
130
virtual
void
setForceId
(DtForceType);
131
132
public
:
133
134
protected
:
135
DtVrlinkAggregateStateListener
*
myListener
;
136
};
137
}
138
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)