VR-Forces 4.2 Class Documentation
DistributedSimulationConnection3B.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 using namespace makVrv;
15 
16 class DtExerciseConnInitializer;
17 class DtExerciseConn;
18 
19 namespace makVrv
20 {
21 namespace tutorialDistributedSimulation3B
22 {
23 
25 {
26 public:
27 
29  DistributedSimulationConnection(DtAgentManagerInterface& aSceneInterface,
30  DtSharedSettingsManager& settingsManager);
31 
34 
36  inline DtExerciseConn* exerciseConn()
37  {
38  return myConnection;
39  }
40 
45  virtual bool connect(const DtExerciseConnInitializer& exConnInitializer);
46 
51  virtual bool disconnect();
52 
54  virtual bool connected() const;
55 
57  boost::signal<void ()> signal_toBeDisconnected;
58 
59 protected:
60 
61  DtExerciseConn* myConnection;
62  DtExerciseConnInitializer* myExConnInitializer;
63 };
64 
65 }
66 }

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)