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
89
DtDesignatorPublisher
(
90
const
char
* name = 0,
91
const
DtDDMRegionSet
* regionSetToUse = 0);
92
94
DtDesignatorPublisher
(
const
DtDesignatorPublisher
& orig);
95
97
DtDesignatorPublisher
&
operator
=
98
(
const
DtDesignatorPublisher
& orig);
99
100
protected
:
101
102
static
DtStateRepCreator
theStateRepCreator
;
103
};
104
105
inline
DtDesignatorRepository
*
DtDesignatorPublisher::designatorStateRep
()
106
{
107
return
(
DtDesignatorRepository
*)
myStateRep
;
108
}
109
110
inline
DtDesignatorRepository
*
DtDesignatorPublisher::dsr
()
111
{
112
return
(
DtDesignatorRepository
*)
myStateRep
;
113
}
114
115
#endif //DtHLA
116
#endif //DtDesignatorPublisher_H_
117
Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)