|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
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 // since YARP 3.3
39 template <
typename Lockable>
70 template <
typename Lockable>
77 template <
typename Lockable>
83 template <
typename Lockable>
89 template <
typename Lockable>
103 #endif // YARP_NO_DEPRECATED
105 #endif // YARP_OS_LOCKGUARD_H
#define YARP_WARNING_PUSH
Starts a temporary alteration of the enabled warnings.
RecursiveMutex offers exclusive, recursive ownership semantics:
AbstractLockGuard(Lockable &_lock)
Acquires ownership of the given mutex _mutex.
~AbstractLockGuard()
destructs the LockGuard object, unlocks the underlying mutex
This class is a mutex wrapper that provides a convenient RAII-style mechanism for owning a mutex for ...
#define YARP_WARNING_POP
Ends a temporary alteration of the enabled warnings.
#define YARP_DEPRECATED_MSG(MSG)
Expands to either the standard [[deprecated]] attribute or a compiler-specific decorator such as __at...
#define YARP_DEPRECATED_TYPEDEF_MSG(x)
The main, catch-all namespace for YARP.
Basic wrapper for mutual exclusion.
#define YARP_COMPILER_WARNING(x)
Generate a warning at build time on supported compilers.
#define YARP_DISABLE_DEPRECATED_WARNING
Disable deprecated warnings in the following code.