9 #ifndef YARP_OS_LOCKGUARD_H
10 #define YARP_OS_LOCKGUARD_H
14 #if !defined(YARP_INCLUDING_DEPRECATED_HEADER_ON_PURPOSE)
18 #ifndef YARP_NO_DEPRECATED
39 template <
typename Lockable>
70 template <
typename Lockable>
77 template <
typename Lockable>
83 template <
typename Lockable>
89 template <
typename Lockable>
This class is a mutex wrapper that provides a convenient RAII-style mechanism for owning a mutex for ...
~AbstractLockGuard()
destructs the LockGuard object, unlocks the underlying mutex
AbstractLockGuard(Lockable &_lock)
Acquires ownership of the given mutex _mutex.
Basic wrapper for mutual exclusion.
RecursiveMutex offers exclusive, recursive ownership semantics:
#define YARP_DEPRECATED_MSG(MSG)
Expands to either the standard [[deprecated]] attribute or a compiler-specific decorator such as __at...
The main, catch-all namespace for YARP.
#define YARP_WARNING_POP
Ends a temporary alteration of the enabled warnings.
#define YARP_COMPILER_WARNING(x)
Generate a warning at build time on supported compilers.
#define YARP_WARNING_PUSH
Starts a temporary alteration of the enabled warnings.
#define YARP_DISABLE_DEPRECATED_WARNING
Disable deprecated warnings in the following code.
#define YARP_DEPRECATED_TYPEDEF_MSG(x)