VR-Link API Documentation for HLA 1.3
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
activeSonarBeamPublisher.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2013 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#if DtHLA
13
14
#include "
objectPublisherHLA.h
"
15
16
class
DT_DLL_VL
DtActiveSonarBeamRepository
;
17
23
class
DT_DLL_VL
DtActiveSonarBeamPublisher
:
public
DtObjectPublisher
24
{
25
public
:
26
28
typedef
DtActiveSonarBeamRepository
* (*DtStateRepCreator)();
29
30
public
:
31
33
DtActiveSonarBeamPublisher
(
34
DtExerciseConn
* exConn,
35
const
char
* name = 0,
36
const
DtDDMRegionSet
* regionSetToUse = 0);
37
41
DtActiveSonarBeamPublisher
(
42
DtActiveSonarBeamRepository
* stateRepToUse,
43
DtExerciseConn
* exConn,
44
const
char
* name = 0,
45
const
DtDDMRegionSet
* regionSetToUse = 0);
46
48
DtActiveSonarBeamPublisher
(
49
RTI::ObjectClassHandle h,
50
DtExerciseConn
* exConn,
51
const
char
* name = 0,
52
const
DtDDMRegionSet
* regionSetToUse = 0);
53
59
DtActiveSonarBeamPublisher
(
DtHlaObjectWithStateRep
* obj,
DtExerciseConn
* conn);
60
62
virtual
~
DtActiveSonarBeamPublisher
();
63
65
virtual
DtActiveSonarBeamRepository
* activeSonarBeamStateRep();
66
68
virtual
DtActiveSonarBeamRepository
* asr();
69
72
virtual
const
char
* classToUse()
const
;
73
74
public
:
76
static
DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
77
78
protected
:
80
DtActiveSonarBeamPublisher
(
const
DtActiveSonarBeamPublisher
& orig);
81
83
DtActiveSonarBeamPublisher
&
operator=
(
const
DtActiveSonarBeamPublisher
& orig);
84
85
protected
:
86
static
DtStateRepCreator
theStateRepCreator
;
87
88
};
89
90
inline
DtActiveSonarBeamRepository
*
DtActiveSonarBeamPublisher::activeSonarBeamStateRep
()
91
{
92
return
(
DtActiveSonarBeamRepository
*)
myStateRep
;
93
}
94
95
inline
DtActiveSonarBeamRepository
*
DtActiveSonarBeamPublisher::asr
()
96
{
97
return
(
DtActiveSonarBeamRepository
*)
myStateRep
;
98
}
99
100
#endif
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)