OpenDaVINCI  4.15.3
RunModuleBreakpoint.h
Go to the documentation of this file.
1 
20 #ifndef CONTEXT_BASE_RUNMODULEBREAKPOINT_H_
21 #define CONTEXT_BASE_RUNMODULEBREAKPOINT_H_
22 
26 
27 namespace odcontext {
28  namespace base {
29 
30 class BlockableContainerListener;
31 
37  private:
44 
50  RunModuleBreakpoint& operator=(const RunModuleBreakpoint&);
51 
52  public:
59 
60  virtual ~RunModuleBreakpoint();
61 
62  virtual void reached();
63 
69  bool hasReached() const;
70 
74  void continueExecution();
75 
81  void setFinallyReaching();
82 
83  private:
90  bool hasContinue() const;
91 
92  private:
93  BlockableContainerListener &m_blockableContainerListener;
94 
95  mutable odcore::base::Mutex m_reachedMutex;
96  bool m_reached;
97 
98  mutable odcore::base::Mutex m_continueMutex;
99  bool m_continue;
100  };
101 
102  }
103 } // odcontext::base
104 
105 #endif /*CONTEXT_BASE_RUNMODULEBREAKPOINT_H_*/
Definition: base/Mutex.h:49
Definition: RunModuleBreakpoint.h:36
Definition: BlockableContainerListener.h:33
#define OPENDAVINCI_API
Definition: opendavinci.h:67
Definition: Breakpoint.h:33