VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvHla13
DtHla13Driver.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvHla13/vrvHla13.h
>
13
#include <
vrvVrl/DtVrlinkDriver.h
>
14
15
class
DtExerciseConnInitializer
;
16
17
namespace
makVrv
18
{
19
22
class
DT_DLL_VRVHLA13
DtHla13Driver
:
public
DtVrlinkDriver
23
{
24
public
:
25
27
DtHla13Driver
(
DtAgentManager
& agentManager,
const
std::string& uniqueName,
const
std::string& className =
"DtHla13Driver"
);
28
30
virtual
~
DtHla13Driver
();
31
33
virtual
void
realizeConfiguration(
const
DtConfiguration
& config);
34
36
virtual
DtConfiguration
createConfiguration()
const
;
37
39
inline
const
DtExerciseConnInitializer
& exerciseSettings()
const
40
{
41
return
*myLocalExConnInitializer;
42
}
43
45
void
setExerciseSettings(
const
DtExerciseConnInitializer
& settings);
46
48
void
setAppNumber(
int
appNumber);
49
51
void
setSiteId(
int
siteId);
52
54
int
siteId();
55
57
int
appNumber();
58
59
protected
:
60
62
virtual
DtConnection
* createConnection();
63
67
virtual
DtAgentManagerInterface
& agentManagerForConnection();
68
69
virtual
void
slot_onObserverCreated(
DtObserver
* observer);
70
virtual
void
slot_onObserverDestroyed(
DtObserver
* observer);
71
72
73
protected
:
74
//Local state.
75
DtExerciseConnInitializer
*
myLocalExConnInitializer
;
76
int
mySiteId
;
77
int
myAppNumber
;
78
};
79
82
class
DT_DLL_VRVHLA13
DtHla13DriverCreator
:
public
DtDriverCreator
83
{
84
public
:
85
87
DtHla13DriverCreator
();
88
90
virtual
~
DtHla13DriverCreator
();
91
94
virtual
const
std::string& extension()
const
;
95
97
virtual
DtDriver
* create(
DtAgentManager
& agentManager,
98
const
std::string& instanceName)
const
;
99
100
protected
:
101
std::string
myFileExtension
;
102
103
};
104
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)