Lely core libraries  1.9.2
coapp.hpp
Go to the documentation of this file.
1 
21 #ifndef LELY_COAPP_COAPP_HPP_
22 #define LELY_COAPP_COAPP_HPP_
23 
24 #if defined(__cplusplus) && __cplusplus < 201103L
25 #error This file requires compiler and library support for the ISO C++11 standard.
26 #endif
27 
28 #include <lely/features.h>
29 
31 namespace lely {
32 
34 namespace canopen {
35 
37 namespace detail {}
38 
41  public:
46  virtual void lock() = 0;
47 
49  virtual void unlock() = 0;
50 
51  protected:
52  ~BasicLockable() = default;
53 };
54 
55 } // namespace canopen
56 
57 } // namespace lely
58 
59 #endif // LELY_COAPP_COAPP_HPP_
virtual void unlock()=0
Releases the lock held by the execution agent. Throws no exceptions.
virtual void lock()=0
Blocks until a lock can be obtained for the current execution agent (thread, process, task).
An abstract interface conforming to the BasicLockable concept.
Definition: coapp.hpp:40
Global namespace for the Lely Industries N.V. libraries.
Definition: buf.hpp:32
This header file is part of the Lely libraries; it contains the compiler feature definitions.