CoreLinux++  0.4.32
Classes | Public Member Functions | Protected Types | Protected Member Functions | List of all members
corelinux::Synchronized Class Reference

Synchronized is a mixin which allows class objects to enable monitor functionality. More...

#include <Synchronized.hpp>

Classes

class  Guard
 Guard is the automatic instance that insures a lock is not held beyond the scope where it was instantiated. More...
 

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 GuardGuardPtr
 
typedef const GuardGuardCptr
 
typedef GuardGuardRef
 
typedef const GuardGuardCref
 

Protected Member Functions

Guard access (void) const throw (SemaphoreException)
 Access returns a instance of Guard which is block scoped to the caller. More...
 

Detailed Description

Synchronized is a mixin which allows class objects to enable monitor functionality.

Member Function Documentation

§ access()

Synchronized::Guard corelinux::Synchronized::access ( void  ) const
throw (SemaphoreException
)
protected

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

This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium