OpenDaVINCI  4.15.3
BlockableContainerListener.h
Go to the documentation of this file.
1 
20 #ifndef CONTEXT_BASE_BLOCKABLECONTAINERLISTENER_H_
21 #define CONTEXT_BASE_BLOCKABLECONTAINERLISTENER_H_
22 
26 
27 namespace odcontext {
28  namespace base {
29 
34  private:
41 
48 
49  public:
51 
52  virtual ~BlockableContainerListener();
53 
60  void setNextContainerAllowed(const bool &allowed);
61 
62  protected:
66  bool isNextContainerAllowed() const;
67 
68  private:
69  mutable odcore::base::Mutex m_nextContainerAllowedMutex;
70  bool m_nextContainerAllowed;
71  };
72 
73  }
74 } // odcontext::base
75 
76 #endif /*CONTEXT_BASE_BLOCKABLECONTAINERLISTENER_H_*/
Definition: ContainerListener.h:35
Definition: base/Mutex.h:49
Definition: BlockableContainerListener.h:33
#define OPENDAVINCI_API
Definition: opendavinci.h:67