Orocos Real-Time Toolkit  2.9.0
Public Member Functions | List of all members
RTT::os::MutexInterface Class Referenceabstract

An interface to a Mutex. More...

#include <rtt/os/Mutex.hpp>

Inheritance diagram for RTT::os::MutexInterface:
RTT::os::Mutex RTT::os::MutexRecursive RTT::os::SharedMutex

Public Member Functions

virtual ~MutexInterface ()
 
virtual void lock ()=0
 
virtual void unlock ()=0
 
virtual bool trylock ()=0
 
virtual bool timedlock (Seconds)=0
 
virtual void lock_shared ()
 
virtual void unlock_shared ()
 
virtual bool trylock_shared ()
 
virtual bool timedlock_shared (Seconds)
 

Detailed Description

An interface to a Mutex.

See also
MutexLock, MutexTryLock, MutexRecursive, SharedMutexLock

Definition at line 67 of file Mutex.hpp.

Constructor & Destructor Documentation

virtual RTT::os::MutexInterface::~MutexInterface ( )
inlinevirtual

Definition at line 70 of file Mutex.hpp.

Member Function Documentation

virtual void RTT::os::MutexInterface::lock ( )
pure virtual
virtual void RTT::os::MutexInterface::lock_shared ( )
inlinevirtual

Reimplemented in RTT::os::SharedMutex.

Definition at line 75 of file Mutex.hpp.

Referenced by RTT::os::SharedMutexLock::SharedMutexLock().

virtual bool RTT::os::MutexInterface::timedlock ( Seconds  )
pure virtual
virtual bool RTT::os::MutexInterface::timedlock_shared ( Seconds  )
inlinevirtual

Reimplemented in RTT::os::SharedMutex.

Definition at line 78 of file Mutex.hpp.

virtual bool RTT::os::MutexInterface::trylock ( )
pure virtual
virtual bool RTT::os::MutexInterface::trylock_shared ( )
inlinevirtual

Reimplemented in RTT::os::SharedMutex.

Definition at line 77 of file Mutex.hpp.

virtual void RTT::os::MutexInterface::unlock ( )
pure virtual
virtual void RTT::os::MutexInterface::unlock_shared ( )
inlinevirtual

Reimplemented in RTT::os::SharedMutex.

Definition at line 76 of file Mutex.hpp.


The documentation for this class was generated from the following file: