mbo::SingleThreaded::ThreadModel Class Reference

Class that defines types to use in/for NON multithreaded environments. More...

#include <MboSynch.h>

List of all members.

Public Types

typedef CCriticalSectionFake CriticalSection
typedef CEventFake EventModel
typedef CMutexFake MutexModel
typedef CLockSingle LockSingle
typedef CLockMulti LockMulti
typedef CLock Lock
typedef CUnlock Unlock

Static Public Member Functions

static IncDecVal Increment (IncDecVal *p)
static IncDecVal Decrement (IncDecVal *p)
static IncDecVal PeekValue (const IncDecVal *p)


Detailed Description

Class that defines types to use in/for NON multithreaded environments.

Note:
This class is distributed under the following license GNU Lesser General Public License, version 2.1.

Definition at line 1387 of file MboSynch.h.


Member Typedef Documentation

typedef CCriticalSectionFake mbo::SingleThreaded::ThreadModel::CriticalSection

non thread safe Critical Section

Definition at line 1390 of file MboSynch.h.

typedef CEventFake mbo::SingleThreaded::ThreadModel::EventModel

non thread safe Event

Definition at line 1391 of file MboSynch.h.

typedef CMutexFake mbo::SingleThreaded::ThreadModel::MutexModel

non thread safe Mutex

Definition at line 1392 of file MboSynch.h.

typedef CLockSingle mbo::SingleThreaded::ThreadModel::LockSingle

non thread safe single Lock

Definition at line 1393 of file MboSynch.h.

typedef CLockMulti mbo::SingleThreaded::ThreadModel::LockMulti

non thread safe multi Lock

Definition at line 1394 of file MboSynch.h.

typedef CLock mbo::SingleThreaded::ThreadModel::Lock

non thread safe automatic Lock

Definition at line 1395 of file MboSynch.h.

typedef CUnlock mbo::SingleThreaded::ThreadModel::Unlock

non thread safe automatic Lock unlock

Definition at line 1396 of file MboSynch.h.


Member Function Documentation

static IncDecVal mbo::SingleThreaded::ThreadModel::Increment ( IncDecVal p  )  [static]

non thread-safe increment

Parameters:
p value to increment
Returns:
result of increment

static IncDecVal mbo::SingleThreaded::ThreadModel::Decrement ( IncDecVal p  )  [static]

non thread-safe decrement

Parameters:
p value to decrement
Returns:
result of increment

static IncDecVal mbo::SingleThreaded::ThreadModel::PeekValue ( const IncDecVal p  )  [static]

non thread-safe peek

Parameters:
p value to peek
Returns:
result of peek


The documentation for this class was generated from the following file:
  Hosted on code.google.com  
© Marcus Börger
Generated on Fri Jan 18 21:21:15 2008 for MBO-lib by doxygen 1.5.4