LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::MTUtilBase Class Reference

#include <threads.h>

+ Inheritance diagram for lwpp::MTUtilBase:
+ Collaboration diagram for lwpp::MTUtilBase:

List of all members.

Public Member Functions

 MTUtilBase (void)
virtual ~MTUtilBase ()
virtual bool available () const
 Check if the global is available.
virtual LWMTUtilFuncs * getGlobal ()
 Get the pointer to the global.
virtual int Lock (const MutexID mutex) const =0
LWMTUtilFuncs * operator-> ()
 Get the pointer to the global.
virtual int UnLock (const MutexID mutex) const =0

Protected Member Functions

bool _acquireGlobal ()

Static Protected Attributes

static LWMTUtilFuncs * globPtr
 Pointer to the global functions.

Constructor & Destructor Documentation

lwpp::MTUtilBase::MTUtilBase ( void  )
inline
virtual lwpp::MTUtilBase::~MTUtilBase ( )
inlinevirtual

Member Function Documentation

bool lwpp::GlobalBase< LWMTUtilFuncs >::_acquireGlobal ( )
inlineprotectedinherited
virtual bool lwpp::GlobalBase< LWMTUtilFuncs >::available ( ) const
inlinevirtualinherited

Check if the global is available.

virtual LWMTUtilFuncs * lwpp::GlobalBase< LWMTUtilFuncs >::getGlobal ( )
inlinevirtualinherited

Get the pointer to the global.

virtual int lwpp::MTUtilBase::Lock ( const MutexID  mutex) const
pure virtual

Implemented in lwpp::LWMTUtil9, and lwpp::LWMTUtil_Pre9.

LWMTUtilFuncs * lwpp::GlobalBase< LWMTUtilFuncs >::operator-> ( )
inlineinherited

Get the pointer to the global.

virtual int lwpp::MTUtilBase::UnLock ( const MutexID  mutex) const
pure virtual

Implemented in lwpp::LWMTUtil9, and lwpp::LWMTUtil_Pre9.


Member Data Documentation

LWMTUtilFuncs * lwpp::GlobalBase< LWMTUtilFuncs >::globPtr
staticprotectedinherited

Pointer to the global functions.


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