VR-Forces 4.2 Class Documentation
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 
23 {
24 public:
25 
27  DistributedSimulationConnection(DtAgentManagerInterface& aSceneInterface,
28  DtSharedSettingsManager& settingsManager);
29 
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 Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)