ORCA: Optimization-based framework for Robotic Control Applications
Public Member Functions | Protected Attributes | List of all members
orca::common::MutexLock Class Reference

#include <Mutex.h>

+ Collaboration diagram for orca::common::MutexLock:

Public Member Functions

 MutexLock (MutexInterface &mutex_)
 
 ~MutexLock ()
 

Protected Attributes

MutexInterfacem_
 

Constructor & Destructor Documentation

◆ MutexLock()

orca::common::MutexLock::MutexLock ( MutexInterface mutex_)
inline

Try to lock a Mutex object

Parameters
mutexThe Mutex which should be attempted to be locked

◆ ~MutexLock()

orca::common::MutexLock::~MutexLock ( )
inline

Releases the lock on the previously locked Mutex

Member Data Documentation

◆ m_

MutexInterface& orca::common::MutexLock::m_
protected

The Mutex to lock and unlock


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