VR-Link API Documentation for HLA 1516
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
griddedDataPublisherHLA.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
7
#if DtHLA
8
9
#ifndef griddedDataPublisherHLA_H_
10
#define griddedDataPublisherHLA_H_
11
12
#include "
objectPublisherHLA.h
"
13
#include "
griddedDataRepository.h
"
14
#include "
exerciseConn.h
"
15
#include "
fom.h
"
16
20
21
28
29
class
DT_DLL_VL
DtGriddedDataPublisher
:
public
DtObjectPublisher
30
{
31
public
:
32
34
typedef
DtGriddedDataRepository
* (*DtStateRepCreator)();
35
36
public
:
37
39
DtGriddedDataPublisher
(
40
DtGriddedDataRepository
*stateRepToUse,
41
DtExerciseConn
* conn,
42
const
char
* name = 0,
43
const
DtDDMRegionSet
* regionSetToUse = 0);
44
46
DtGriddedDataPublisher
(
47
RTI::ObjectClassHandle h,
48
DtExerciseConn
* conn,
49
const
char
* name = 0,
50
const
DtDDMRegionSet
* regionSetToUse = 0);
51
53
DtGriddedDataPublisher
(
54
DtExerciseConn
* conn,
55
const
char
* name = 0,
56
const
DtDDMRegionSet
* regionSetToUse = 0);
57
58
59
virtual
~
DtGriddedDataPublisher
();
60
63
virtual
DtGriddedDataRepository
* gridDataStateRep();
64
66
virtual
DtGriddedDataRepository
* gdsr();
67
70
virtual
const
char
* classToUse()
const
;
71
72
public
:
73
75
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
76
77
protected
:
78
83
DtGriddedDataPublisher
(
84
const
char
* name = 0,
85
const
DtDDMRegionSet
* regionSetToUse = 0);
86
88
DtGriddedDataPublisher
(
const
DtGriddedDataPublisher
& orig);
89
91
DtGriddedDataPublisher
&
operator=
(
const
DtGriddedDataPublisher
& orig);
92
93
protected
:
94
static
DtStateRepCreator
theStateRepCreator
;
95
};
96
97
inline
DtGriddedDataRepository
*
DtGriddedDataPublisher::gridDataStateRep
()
98
{
99
return
(
DtGriddedDataRepository
*)
myStateRep
;
100
}
101
102
inline
DtGriddedDataRepository
*
DtGriddedDataPublisher::gdsr
()
103
{
104
return
(
DtGriddedDataRepository
*)
myStateRep
;
105
}
106
107
#endif //DtGriddedDataPublisher_H_
108
#endif //DtHLA
109
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)