VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
debugLineDriver.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvCore/DtDriver.h>
14 #include <vrvCore/DtAgentManager.h>
15 #include <vrvUtil/signalslib.h>
17 
18 #include <vlutil/vlMutex.h>
19 
20 #include <memory>
21 
22 class DtScopedLock;
23 
24 #include <vrfGuiCore/vrfGuiCore.h>
25 namespace makVrf
26 {
27  class DtDebugLineDrawer;
28  class DtDebugDrawerLinesModelAgent;
29  class DtDebugDrawerLinesModel;
30 
34  {
35  public:
37 
40  const std::string& instanceName);
41 
43  virtual ~DtDebugLineDriver();
44 
46  virtual const std::string& className() const;
47 
49  virtual void toggleDrawDebugLines();
50 
52  virtual void setDrawDebugLines(bool enabled);
53 
54  virtual BufferVector bufferInfo();
55 
56  virtual bool drawBuffer(std::string name, bool draw);
57 
58  protected:
59 
62  virtual bool onStart();
63 
65  virtual bool onTick();
66 
69  virtual bool onStop();
70 
71  protected:
72  typedef DtMutex Mutex;
73  typedef DtScopedLock ScopedLock;
74 
75  mutable DtMutex myMutex;
76  std::string myName;
77  std::auto_ptr<DtDebugDrawerLinesModelAgent> myLineDrawer;
78  };
79 }
80 

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)