VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
tutorialDistributedSimulation3D
DistributedSimulationConnection3D.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrvCore/DtBaseConnection.h
>
12
#include <boost/signal.hpp>
13
14
class
DtExerciseConnInitializer;
15
class
DtExerciseConn;
16
17
namespace
makVrv
18
{
19
namespace
tutorialDistributedSimulation3D
20
{
21
22
class
DistributedSimulationConnection
:
public
DtBaseConnection
23
{
24
public
:
25
27
DistributedSimulationConnection
(
DtAgentManagerInterface
& aSceneInterface,
28
DtSharedSettingsManager
&
settingsManager
);
29
31
virtual
~DistributedSimulationConnection
();
32
34
inline
DtExerciseConn*
exerciseConn
()
35
{
36
return
myConnection
;
37
}
38
43
virtual
bool
connect
(
const
DtExerciseConnInitializer& exConnInitializer);
44
49
virtual
bool
disconnect
();
50
52
virtual
bool
connected
()
const
;
53
55
boost::signal<void ()>
signal_toBeDisconnected
;
56
57
protected
:
58
59
DtExerciseConn*
myConnection
;
60
DtExerciseConnInitializer*
myExConnInitializer
;
61
};
62
63
}
64
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)