VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
linearObjectPublisherHLA.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
* hLinearObjPub.h
7
*********************************************************************/
8
9
#if DtHLA
10
11
#ifndef linearObjectPublisherHLA_H_
12
#define linearObjectPublisherHLA_H_
13
14
#include "
objectPublisherHLA.h
"
15
#include "
vlpi/syntheticEnvironmentObjectType.h
"
16
20
21
class
DT_DLL_VL
DtLinearObjectRepository
;
22
39
40
class
DT_DLL_VL
DtLinearObjectPublisher
:
public
DtObjectPublisher
41
{
42
public
:
43
46
typedef
DtLinearObjectRepository
* (*DtStateRepCreator)();
47
48
public
:
49
51
DtLinearObjectPublisher
(
52
DtLinearObjectRepository
*stateRepToUse,
53
DtExerciseConn
* conn,
54
const
char
* name = 0,
55
const
DtDDMRegionSet
* regionSetToUse = 0);
56
58
DtLinearObjectPublisher
(
59
RTI::ObjectClassHandle h,
60
DtExerciseConn
* conn,
61
const
char
* name = 0,
62
const
DtDDMRegionSet
* regionSetToUse = 0);
63
65
DtLinearObjectPublisher
(
66
const
DtSyntheticEnvironmentObjectType
& type,
67
DtExerciseConn
* conn,
68
const
char
* name = 0,
69
const
DtDDMRegionSet
* regionSetToUse = 0);
70
72
virtual
~
DtLinearObjectPublisher
();
73
76
virtual
DtLinearObjectRepository
* linearObjectStateRep();
77
79
virtual
DtLinearObjectRepository
* losr();
80
81
public
:
82
84
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
85
86
protected
:
87
92
DtLinearObjectPublisher
(
93
const
char
* name = 0,
94
const
DtDDMRegionSet
* regionSetToUse = 0);
95
97
DtLinearObjectPublisher
(
const
DtLinearObjectPublisher
& orig);
98
100
DtLinearObjectPublisher
&
operator
=
101
(
const
DtLinearObjectPublisher
& orig);
102
103
//Non-virtual method called from constructor.
104
const
char
* objectClassNameFromType
105
(
const
DtSyntheticEnvironmentObjectType
& type);
106
107
protected
:
108
109
static
DtStateRepCreator
theStateRepCreator
;
110
};
111
112
inline
DtLinearObjectRepository
*
113
DtLinearObjectPublisher::linearObjectStateRep
()
114
{
115
return
(
DtLinearObjectRepository
*)
myStateRep
;
116
}
117
118
inline
DtLinearObjectRepository
*
DtLinearObjectPublisher::losr
()
119
{
120
return
(
DtLinearObjectRepository
*)
myStateRep
;
121
}
122
123
#endif //hLinearObjPub_H_
124
#endif //DtHLA
125
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)