Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Examples

corelinux::Synchronized Class Reference

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

#include <Synchronized.hpp>

Inheritance diagram for corelinux::Synchronized:

corelinux::AbstractCommand corelinux::AbstractSemaphore corelinux::CommandFrame corelinux::Handler corelinux::Memory corelinux::MemoryStorage corelinux::SemaphoreCommon corelinux::SemaphoreGroup corelinux::Thread corelinux::ThreadContext List of all members.

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.


Detailed Description

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


Member Function Documentation

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

Access returns a instance of Guard which is block scoped to the caller.

Returns:
Guard the blocking instance


The documentation for this class was generated from the following files:
This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium