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
pointObjectPublisherHLA.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
* hPointObjPub.h
7
*********************************************************************/
8
9
#if DtHLA
10
11
#ifndef pointObjectPublisherHLA_H_
12
#define pointObjectPublisherHLA_H_
13
14
#include "
objectPublisherHLA.h
"
15
#include "
vlpi/syntheticEnvironmentObjectType.h
"
16
20
21
class
DtPointObjectRepository
;
22
40
41
class
DT_DLL_VL
DtPointObjectPublisher
:
public
DtObjectPublisher
42
{
43
public
:
44
47
typedef
DtPointObjectRepository
* (*DtStateRepCreator)();
48
49
public
:
50
52
DtPointObjectPublisher
(
53
DtPointObjectRepository
*stateRepToUse,
54
DtExerciseConn
* conn,
55
const
char
* name = 0,
56
const
DtDDMRegionSet
* regionSetToUse = 0);
57
59
DtPointObjectPublisher
(
60
RTI::ObjectClassHandle h,
61
DtExerciseConn
* conn,
62
const
char
* name = 0,
63
const
DtDDMRegionSet
* regionSetToUse = 0);
64
66
DtPointObjectPublisher
(
67
const
DtSyntheticEnvironmentObjectType
& type,
68
DtExerciseConn
* conn,
69
const
char
* name = 0,
70
const
DtDDMRegionSet
* regionSetToUse = 0);
71
73
virtual
~
DtPointObjectPublisher
();
74
77
virtual
DtPointObjectRepository
* pointObjectStateRep();
78
80
virtual
DtPointObjectRepository
* posr();
81
82
public
:
83
85
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
86
87
protected
:
88
93
DtPointObjectPublisher
(
94
const
char
* name = 0,
95
const
DtDDMRegionSet
* regionSetToUse = 0);
96
98
DtPointObjectPublisher
(
const
DtPointObjectPublisher
& orig);
99
101
DtPointObjectPublisher
&
operator
=
102
(
const
DtPointObjectPublisher
& orig);
103
104
//Non-virtual method called from constructor.
105
const
char
* objectClassNameFromType
106
(
const
DtSyntheticEnvironmentObjectType
& type);
107
108
protected
:
109
110
static
DtStateRepCreator
theStateRepCreator
;
111
};
112
113
inline
DtPointObjectRepository
*
114
DtPointObjectPublisher::pointObjectStateRep
()
115
{
116
return
(
DtPointObjectRepository
*)
myStateRep
;
117
}
118
119
inline
DtPointObjectRepository
*
DtPointObjectPublisher::posr
()
120
{
121
return
(
DtPointObjectRepository
*)
myStateRep
;
122
}
123
124
#endif //hPointObjPub_H_
125
#endif //DtHLA
126
Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)