VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hIffPub.h
Go to the documentation of this file.
1
#ifndef hIffPub_H_
2
#define hIffPub_H_
3
4
#if DtHLA
5
6
#include "
hObjPub.h
"
7
#include "
iffSR.h
"
8
12
13
class
DT_DLL_VL
DtIffStateRepository
;
14
22
23
class
DT_DLL_VL
DtIffPublisher
:
public
DtObjectPublisher
24
{
25
public
:
26
28
typedef
DtIffStateRepository
* (*DtStateRepCreator)();
29
30
public
:
31
33
DtIffPublisher
(
34
DtIffStateRepository
*stateRepToUse,
35
DtExerciseConn
* conn,
36
const
char
* name = 0,
37
const
DtDDMRegionSet
* regionSetToUse = 0);
38
40
DtIffPublisher
(
41
RTI::ObjectClassHandle h,
42
DtExerciseConn
* conn,
43
const
char
* name = 0,
44
const
DtDDMRegionSet
* regionSetToUse = 0);
45
47
DtIffPublisher
(
48
DtIffAtcNavaidsSysType
type,
49
DtExerciseConn
* conn,
50
const
char
* name = 0,
51
const
DtDDMRegionSet
* regionSetToUse = 0);
52
58
DtIffPublisher
(
DtHlaObjectWithStateRep
* obj,
DtExerciseConn
* conn);
59
61
virtual
~
DtIffPublisher
();
62
65
virtual
DtIffStateRepository
* iffStateRep();
66
68
virtual
DtIffStateRepository
* isr();
69
70
public
:
71
73
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
74
75
protected
:
76
78
DtIffPublisher
(
const
DtIffPublisher
& orig);
79
81
DtIffPublisher
&
operator=
(
const
DtIffPublisher
& orig);
82
86
const
char
* objectClassNameFromType(
DtIffAtcNavaidsSysType
type);
87
88
protected
:
89
90
static
DtStateRepCreator
theStateRepCreator
;
91
92
};
93
94
inline
DtIffStateRepository
*
DtIffPublisher::iffStateRep
()
95
{
96
return
(
DtIffStateRepository
*)
myStateRep
;
97
}
98
99
inline
DtIffStateRepository
*
DtIffPublisher::isr
()
100
{
101
return
(
DtIffStateRepository
*)
myStateRep
;
102
}
103
104
#endif
105
#endif
106
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
)