synchronized Class Template Reference

#include <thread.hpp>

Collaboration diagram for synchronized:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<typename T>
class gsgl::platform::synchronized< T >

Definition at line 62 of file thread.hpp.


Public Member Functions

 operator T ()
synchronizedoperator= (const T &t)
 synchronized (const T &t)
 synchronized ()

Private Attributes

mutex m
obj

Constructor & Destructor Documentation

synchronized (  )  [inline]

Definition at line 67 of file thread.hpp.

synchronized ( const T &  t  )  [inline]

Definition at line 68 of file thread.hpp.


Member Function Documentation

operator T (  )  [inline]

Definition at line 79 of file thread.hpp.

References mutex::lock(), synchronized::m, synchronized::obj, and mutex::unlock().

synchronized& operator= ( const T &  t  )  [inline]

Definition at line 70 of file thread.hpp.


Member Data Documentation

mutex m [private]

Definition at line 64 of file thread.hpp.

Referenced by synchronized::operator T(), and synchronized< bool >::operator=().

T obj [private]

Definition at line 65 of file thread.hpp.

Referenced by synchronized::operator T(), and synchronized< bool >::operator=().


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

Generated on Sat Mar 1 13:50:07 2008 for Periapsis Project by  doxygen 1.5.5