#include <Synchronized.hpp>
Public Member Functions | |
Synchronized (void) | |
Default constructor. | |
Synchronized (SynchronizedCref) | |
Copy constructor. | |
virtual | ~Synchronized (void) |
Virtual Destructor. | |
SynchronizedRef | operator= (SynchronizedCref) |
Assignment operator. | |
bool | operator== (SynchronizedCref) const |
Equality operator. | |
Protected Types | |
typedef Guard * | GuardPtr |
typedef const Guard * | GuardCptr |
typedef Guard & | GuardRef |
typedef const Guard & | GuardCref |
Protected Member Functions | |
Guard | access (void) const throw (SemaphoreException) |
Access returns a instance of Guard which is block scoped to the caller. | |
Classes | |
class | Guard |
Guard is the automatic instance that insures a lock is not held beyond the scope where it was instantiated. More... |
Synchronized::Guard corelinux::Synchronized::access | ( | void | ) | const throw (SemaphoreException) [protected] |
Access returns a instance of Guard which is block scoped to the caller.
Referenced by corelinux::GatewaySemaphore::lockWithNoWait(), corelinux::EventSemaphore::lockWithNoWait(), corelinux::MutexSemaphore::lockWithWait(), corelinux::GatewaySemaphore::lockWithWait(), corelinux::EventSemaphore::lockWithWait(), corelinux::MutexSemaphoreGroup::resolveSemaphore(), and corelinux::GatewaySemaphoreGroup::resolveSemaphore().