|
LightWrap++
AC++wrapperfortheLightWave3DSDK
|
Template class base for any kind of global that will be AQUIREd/RELEASEd,. More...
#include <global.h>
Inheritance diagram for lwpp::GlobalBase< G >:
Collaboration diagram for lwpp::GlobalBase< G >:Public Member Functions | |
| GlobalBase () | |
| Constructor, acquire the global and increase the usage counter. | |
| virtual | ~GlobalBase () |
| Destructor, RELEASE the global if usage counter drops to 0. | |
| virtual bool | available () const |
| Check if the global is available. | |
| virtual G * | getGlobal () |
| Get the pointer to the global. | |
| G * | operator-> () |
| Get the pointer to the global. | |
Protected Member Functions | |
| bool | _acquireGlobal () |
Static Protected Attributes | |
| static G * | globPtr |
| Pointer to the global functions. | |
Template class base for any kind of global that will be AQUIREd/RELEASEd,.
|
inline |
Constructor, acquire the global and increase the usage counter.
|
inlinevirtual |
Destructor, RELEASE the global if usage counter drops to 0.
|
inlineprotected |
|
inlinevirtual |
Check if the global is available.
|
inlinevirtual |
Get the pointer to the global.
|
inline |
Get the pointer to the global.
|
staticprotected |
Pointer to the global functions.