VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
9 
10 #ifndef DtDriverWidgetLogic_H_
11 #define DtDriverWidgetLogic_H_
12 
13 #include <vrvCoreQt/vrvCoreQt.h>
15 
16 namespace makVrv
17 {
18  class DtDe;
19  class DtDriver;
20  class DtDriverWidgetInterface;
21 
25  {
26  public:
27 
30  static DtDriverWidgetLogic* create(DtDe& de, DtDriverWidgetInterface* iFace);
31 
32 
34  virtual ~DtDriverWidgetLogic();
35 
37  virtual void setupWidget();
38 
40  virtual void addDriver(const std::string& driverClassName);
41 
43  virtual void startDriver(const std::string& driverName);
44 
46  virtual void stopDriver(const std::string& driverName);
47 
49  virtual void deleteDriver(const std::string& driverName);
50 
52  virtual void createNewDriverInteractively();
53 
55  virtual void slot_activate(DtDe* de);
56 
58  virtual void slot_deactivate(DtDe* de);
59 
60  inline DtDe& de()
61  {
62  return myDe;
63  }
64 
65  protected:
66 
67  virtual void slot_onDriverAdded(DtDriver& driver);
68  virtual void slot_onDriverToBeDestroyed(DtDriver& driver);
69  virtual void slot_onDriverStarted(DtDriver& driver);
70  virtual void slot_onDriverStopped(DtDriver& driver);
71 
74 
75  protected:
76 
80 
81  };
82 }
83 
84 #endif
85 
Logic for makVrv::DtDriverWidget.
Definition: DtDriverWidgetLogic.h:24
Contains makVrv::DtSubjectObserver class.
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
The DtDriverManager manages all the DtDriver&#39;s in the DtDe.
Definition: DtDriverManager.h:32
Contains DLL export macros.
The DtDriver is an abstract class. Developers derive from this to create logic that &quot;directs&quot; things ...
Definition: DtDriver.h:30
DtDriverWidgetInterface * myInterface
Definition: DtDriverWidgetLogic.h:79
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Interface for the makVrv::DtDriverWidget.
Definition: DtDriverWidgetInterface.h:20
DtDriverManager * myManager
Definition: DtDriverWidgetLogic.h:78
DtDe & myDe
Definition: DtDriverWidgetLogic.h:77
DtDe & de()
Definition: DtDriverWidgetLogic.h:60

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)