#include <global.h>
List of all members.
Public Member Functions |
| | nGlobalBase () |
| | Constructor, acquire the global and increase the usage counter.
|
| virtual | ~nGlobalBase () |
| | Destructor, RELEASE the global if usage counter drops to 0.
|
| virtual bool | available () |
| | Check if the global is available.
|
| virtual G * | getGlobal () |
| | Get the pointer to the global.
|
| G * | operator-> () |
| | Get the pointer to the global.
|
Static Protected Attributes |
| static G * | globPtr |
| | Pointer to the global functions.
|
Constructor & Destructor Documentation
template<typename G , const char * globalName>
Constructor, acquire the global and increase the usage counter.
- Todo:
- throw exception if the global could not be aquired
template<typename G , const char * globalName>
Destructor, RELEASE the global if usage counter drops to 0.
Member Function Documentation
template<typename G , const char * globalName>
Check if the global is available.
template<typename G , const char * globalName>
Get the pointer to the global.
template<typename G , const char * globalName>
Get the pointer to the global.
Member Data Documentation
template<typename G , const char * globalName>
Pointer to the global functions.
The documentation for this class was generated from the following file: