---
name: "corelinux_Synchronized"
section: "3"
platform: "linux"
package: "libcorelinux-dev"
version: "0.4.32-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/corelinux_Synchronized"
---

# corelinux\_Synchronized(3)

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

## NAME

corelinux::Synchronized - **Synchronized** is a mixin which allows class objects to enable monitor functionality.

## SYNOPSIS

`#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

## Author

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