VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hPointObjPub.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 hPointObjPub_H_
12
#define hPointObjPub_H_
13
14
#include "
hObjPub.h
"
15
#include "
objectType.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 Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)