VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtDriverWidgetLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtDriverWidgetLogic.h,v $ $Revision: 1.13 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtDriverWidgetLogic_H_
14 #define DtDriverWidgetLogic_H_
15 
16 #include <vrvCoreQt/vrvCoreQt.h>
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtDriver;
23  class DtDriverWidgetInterface;
24 
28  {
29  public:
30 
33  static DtDriverWidgetLogic* create(DtDe& de, DtDriverWidgetInterface* iFace);
34 
35 
37  virtual ~DtDriverWidgetLogic();
38 
40  virtual void setupWidget();
41 
43  virtual void addDriver(const std::string& driverClassName);
44 
46  virtual void startDriver(const std::string& driverName);
47 
49  virtual void stopDriver(const std::string& driverName);
50 
52  virtual void deleteDriver(const std::string& driverName);
53 
55  virtual void createNewDriverInteractively();
56 
58  virtual void slot_activate(DtDe* de);
59 
61  virtual void slot_deactivate(DtDe* de);
62 
63  inline DtDe& de()
64  {
65  return myDe;
66  }
67 
68  protected:
69 
70  virtual void slot_onDriverAdded(DtDriver& driver);
71  virtual void slot_onDriverToBeDestroyed(DtDriver& driver);
72  virtual void slot_onDriverStarted(DtDriver& driver);
73  virtual void slot_onDriverStopped(DtDriver& driver);
74 
77 
78  protected:
79 
83 
84  };
85 }
86 
87 #endif
88 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)