corelinux_Synchronized(3)

corelinux_Synchronized3

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

Usage

#include <Synchronized.hpp>

Inherited by corelinux::AbstractCommand, corelinux::AbstractSemaphore, corelinux::CommandFrame, corelinux::Handler, corelinux::Memory, corelinux::MemoryStorage [private], corelinux::SemaphoreCommon, corelinux::SemaphoreGroup, corelinux::Thread, and corelinux::ThreadContext.

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.

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

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

Author

Generated automatically by Doxygen for CoreLinux++ from the source code.

From libcorelinux-dev 0.4.32-5 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.