VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
tAggPub.h
Go to the documentation of this file.
1
//********************************************************************
4
//********************************************************************
5
//********************************************************************
7
//********************************************************************
8
9
#ifndef tAggPub_H_
10
#define tAggPub_H_
11
12
#if DtTENA
13
14
#include "
tObjPub.h
"
15
#include "
objectId.h
"
16
20
21
class
DT_DLL_VL
DtExerciseConn
;
22
class
DT_DLL_VL
DtAggregateStateRepository
;
23
class
DT_DLL_VL
DtTenaServantObject;
24
25
29
class
DT_DLL_VL
DtAggregatePublisher
:
public
DtObjectPublisher
30
{
31
public
:
33
typedef
DtAggregateStateRepository
* (*DtStateRepCreator)();
34
35
public
:
38
DtAggregatePublisher
(
39
DtExerciseConn
* conn,
40
const
DtObjectId
&
id
=
DtObjectId::defaultId
());
41
43
virtual
~
DtAggregatePublisher
();
44
47
virtual
bool
tick
();
48
50
virtual
DtAggregateStateRepository
* aggregateStateRep();
51
53
virtual
DtAggregateStateRepository
* asr();
54
57
virtual
DtString
interfaceToUse()
const
;
58
63
virtual
void
setUseDRThresholding(
bool
yesNo);
64
66
virtual
bool
useDRThresholding()
const
;
67
68
public
:
69
static
void
setStateRepCreator(DtStateRepCreator creator);
70
static
DtStateRepCreator stateRepCreator();
71
72
protected
:
73
DtAggregatePublisher
(
const
DtAggregatePublisher
& orig);
74
75
DtAggregatePublisher
&
operator=
(
const
DtAggregatePublisher
& orig);
76
77
protected
:
80
void
initialize();
81
82
protected
:
83
static
DtStateRepCreator theStateRepCreator;
84
bool
myUseDRThresholding;
85
};
86
87
#endif
88
#endif
89
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
)