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
vrfobjcore
simRemoteEnvironmentalNetInterface.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
17
#include <vl/environmentProcessRepository.h>
18
#include <vl/reflectedEnvironmentProcess.h>
19
#include <vlpi/disEnums.h>
20
21
#include "
vrfobjcore/simEnvironmentalNetInterface.h
"
22
#include "
vrfobjcore/simObjectStateRepository.h
"
23
33
34
#include "
vrfobjcore/vrfobjcoreDefines.h
"
35
class
DT_DLL_vrfobjcore
DtSimRemoteEnvironmentalNetInterface
:
public
36
DtSimEnvironmentalNetInterface
37
{
38
protected
:
40
DtSimRemoteEnvironmentalNetInterface
();
41
42
public
:
43
45
DtSimRemoteEnvironmentalNetInterface
(
const
DtString
& name,
46
DtVrfObject
* simObject,
47
DtReaderWriterRegistry
* parentRegistry = 0,
48
bool
publishObject =
true
);
49
51
DtSimRemoteEnvironmentalNetInterface
(
52
const
DtSimRemoteEnvironmentalNetInterface
& orig,
53
DtReaderWriterRegistry
* parentRegistry = 0);
54
56
const
DtSimRemoteEnvironmentalNetInterface
&
operator=
(
57
const
DtSimRemoteEnvironmentalNetInterface
& orig);
58
60
virtual
~
DtSimRemoteEnvironmentalNetInterface
();
61
64
virtual
bool
init
();
65
67
virtual
void
onTick
();
68
71
virtual
void
updateFromReflectedObject();
72
75
virtual
DtReflectedEnvironmentProcess
* reflectedObject()
const
;
76
79
virtual
void
setupFromNetworkRepository();
80
85
virtual
void
setReflectedObject(
DtReflectedEnvironmentProcess
* reflectedObject);
86
87
virtual
bool
isLocal
()
const
{
return
false
; }
88
91
virtual
DtString
type
()
const
;
92
95
virtual
void
setUpdateReceived(
bool
updateReceived);
96
98
virtual
bool
updateReceived()
const
;
99
100
#if DtHLA
101
102
virtual
RTI::ObjectClassHandle
objectClassHandle
()
const
;
103
#endif
104
108
static
DtSimRemoteEnvironmentalNetInterface
* isRemoteEnvironmentalNetInterface(
109
const
DtSimObjectNetInterface
* objNetInterface);
110
111
static
void
reflectedObjectUpdateCallbackFunction(
DtReflectedObject
* obj,
112
void
* userData);
113
114
static
DtSimObjectNetInterface
* creator(
const
DtString
& name,
115
DtVrfObject
* simObject,
116
DtReaderWriterRegistry
* parentRegistry,
117
bool
publishObject);
118
119
protected
:
121
virtual
void
updateLocalGeometry(
122
DtVrfObjectStateRepository
* localState);
123
124
virtual
void
updateLocalBoundingGeometry(
125
DtVrfObjectStateRepository
* localState);
126
127
virtual
void
updateLocalObjectState(
128
DtVrfObjectStateRepository
* localState);
129
130
virtual
void
updateLocalObjectType(
131
DtVrfObjectStateRepository
* localState);
132
133
virtual
void
updateLocalModelType(
134
DtVrfObjectStateRepository
* localState);
135
137
virtual
void
updateUUIDIfNeeded();
138
139
protected
:
140
142
DtReflectedEnvironmentProcess
*
myReflectedObject
;
143
146
bool
myUpdateReceived
;
147
148
};
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
)