VR-Link API Documentation for HLA Evolved
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
designatorPublisherHLA.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
7
#ifndef designatorPublisherHLA_H_
8
#define designatorPublisherHLA_H_
9
10
#if DtHLA
11
12
#include "
objectPublisherHLA.h
"
13
17
18
class
DtDesignatorRepository
;
19
26
27
class
DT_DLL_VL
DtDesignatorPublisher
:
public
DtObjectPublisher
28
{
29
public
:
30
32
typedef
DtDesignatorRepository
* (*DtStateRepCreator)();
33
34
public
:
35
37
DtDesignatorPublisher
(
38
DtDesignatorRepository
* stateRepToUse,
39
DtExerciseConn
* conn,
40
const
char
* name = 0,
41
const
DtDDMRegionSet
* regionSetToUse = 0);
42
44
DtDesignatorPublisher
(
45
RTI::ObjectClassHandle h,
46
DtExerciseConn
* conn,
47
const
char
* name = 0,
48
const
DtDDMRegionSet
* regionSetToUse = 0);
49
51
DtDesignatorPublisher
(
52
DtExerciseConn
* conn,
53
const
char
* name = 0,
54
const
DtDDMRegionSet
* regionSetToUse = 0);
55
56
62
DtDesignatorPublisher
(
DtHlaObjectWithStateRep
* obj,
DtExerciseConn
* conn);
63
65
virtual
~
DtDesignatorPublisher
();
66
69
virtual
DtDesignatorRepository
* designatorStateRep();
70
72
virtual
DtDesignatorRepository
* dsr();
73
76
virtual
const
char
* classToUse()
const
;
77
78
public
:
79
81
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
82
83
protected
:
84
86
DtDesignatorPublisher
(
const
DtDesignatorPublisher
& orig);
87
89
DtDesignatorPublisher
&
operator
=
90
(
const
DtDesignatorPublisher
& orig);
91
92
protected
:
93
94
static
DtStateRepCreator
theStateRepCreator
;
95
};
96
97
inline
DtDesignatorRepository
*
DtDesignatorPublisher::designatorStateRep
()
98
{
99
return
(
DtDesignatorRepository
*)
myStateRep
;
100
}
101
102
inline
DtDesignatorRepository
*
DtDesignatorPublisher::dsr
()
103
{
104
return
(
DtDesignatorRepository
*)
myStateRep
;
105
}
106
107
#endif //DtHLA
108
#endif //DtDesignatorPublisher_H_
109
Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)