OSB_LIB::Shared< T > Class Template ReferenceCollaboration diagram for OSB_LIB::Shared< T >:
[legend]List of all members.
Protect a shared resource with a Mutex.
class OSB_LIB::Shared< T >
Definition at line 850 of file mutex.h.
Public Member Functions
- Shared ()
- Default constructor.
- Shared (const T &t)
- Constructor with shared resource.
- T & lock ()
- Lock the resource.
- T & trylock () throw (OsbException)
- Try to lock the resource.
- void unlock ()
- Unlock the resource.
Private Member Functions
Constructor & Destructor Documentation
Definition at line 853 of file mutex.h.
Constructor with shared resource.
Definition at line 855 of file mutex.h.
Prevent copying: not implemented.
Member Function Documentation
Prevent assignment: not implemented.
Member Data Documentation
The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:11:38 2006 for OSB Library by