Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]

vl::VirtualMutex Class Reference

A base class to implement simple platform-independent mutexes. More...

#include <Object.hpp>

List of all members.

Public Member Functions

virtual void lock ()=0
 Locks the mutex.
virtual void unlock ()=0
 Unlocks the mutex.
virtual int isLocked () const =0
 Returns 1 if locked, 0 if non locked, -1 if unknown.


Detailed Description

A base class to implement simple platform-independent mutexes.

Member Function Documentation

virtual void vl::VirtualMutex::lock (  )  [pure virtual]

Locks the mutex.

virtual void vl::VirtualMutex::unlock (  )  [pure virtual]

Unlocks the mutex.

virtual int vl::VirtualMutex::isLocked (  )  const [pure virtual]

Returns 1 if locked, 0 if non locked, -1 if unknown.


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

Visualization Library v2009.08 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Tue Dec 29 13:56:57 2009.
Permission is granted to use this page to write and publish articles regarding Visualization Library.