VR-Link API Documentation for HLA 1.3
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 "
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
90
DtPointObjectPublisher
(
const
DtPointObjectPublisher
& orig);
91
93
DtPointObjectPublisher
&
operator
=
94
(
const
DtPointObjectPublisher
& orig);
95
96
//Non-virtual method called from constructor.
97
const
char
* objectClassNameFromType
98
(
const
DtSyntheticEnvironmentObjectType
& type);
99
100
protected
:
101
102
static
DtStateRepCreator
theStateRepCreator
;
103
};
104
105
inline
DtPointObjectRepository
*
106
DtPointObjectPublisher::pointObjectStateRep
()
107
{
108
return
(
DtPointObjectRepository
*)
myStateRep
;
109
}
110
111
inline
DtPointObjectRepository
*
DtPointObjectPublisher::posr
()
112
{
113
return
(
DtPointObjectRepository
*)
myStateRep
;
114
}
115
116
#endif //hPointObjPub_H_
117
#endif //DtHLA
118
Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)