VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
tObjPub.h
Go to the documentation of this file.
1
//********************************************************************
4
//********************************************************************
5
//********************************************************************
7
//********************************************************************
8
#ifndef tObjPub_H_
9
#define tObjPub_H_
10
15
16
#if DtTENA
17
18
#include <
vlutil/vlMachineTypes.h
>
19
#include "
objectId.h
"
20
21
class
DtExerciseConn
;
22
class
DtTenaServantObject;
23
class
DtStateRepository
;
24
25
class
DT_DLL_VL
DtObjectPublisher
26
{
27
public
:
28
DtObjectPublisher
(
DtExerciseConn
* exConn,
29
DtStateRepository
* stateRep,
30
DtStateRepository
* asSeenByRemote,
31
const
DtObjectId
&
id
);
32
33
virtual
~
DtObjectPublisher
();
34
35
protected
:
36
DtObjectPublisher
(
const
DtObjectPublisher
& orig);
37
38
DtObjectPublisher
& operator=(
const
DtObjectPublisher
& orig);
39
40
public
:
43
virtual
bool
tick();
44
47
virtual
void
forceUpdate();
48
50
virtual
const
DtObjectId
& id()
const
;
51
53
virtual
const
DtObjectId
& localId()
const
;
54
56
virtual
const
DtGlobalObjectDesignator
& globalId()
const
;
57
58
virtual
DtString
interfaceToUse()
const
= 0;
59
60
protected
:
61
void
createServantObject(
const
DtString
& interfaceName);
62
63
protected
:
64
DtObjectId
myId;
65
DtExerciseConn
* myExConn;
66
DtStateRepository
* myStateRep;
67
DtStateRepository
* myAsSeenByRemoteRep;
68
DtTenaServantObject* myServantObject;
69
bool
myForceUpdate;
70
DtString
myInterfaceName;
71
72
};
73
74
75
#endif
76
#endif
77
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
)