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