VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
hGridDataPub.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 hGridDataPub_H_
10
#define hGridDataPub_H_
11
12
#include "
hObjPub.h
"
13
#include "
gridDataSR.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
80
DtGriddedDataPublisher
(
const
DtGriddedDataPublisher
& orig);
81
83
DtGriddedDataPublisher
&
operator=
(
const
DtGriddedDataPublisher
& orig);
84
85
protected
:
86
static
DtStateRepCreator
theStateRepCreator
;
87
};
88
89
inline
DtGriddedDataRepository
*
DtGriddedDataPublisher::gridDataStateRep
()
90
{
91
return
(
DtGriddedDataRepository
*)
myStateRep
;
92
}
93
94
inline
DtGriddedDataRepository
*
DtGriddedDataPublisher::gdsr
()
95
{
96
return
(
DtGriddedDataRepository
*)
myStateRep
;
97
}
98
99
#endif //DtGriddedDataPublisher_H_
100
#endif //DtHLA
101
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
)