#include <oscl_singleton.h>
Public Methods | |
| OsclSingleton () | |
| ~OsclSingleton () | |
| T & | operator * () const |
| The indirection operator (*) accesses a value indirectly, through a pointer. | |
| T * | operator-> () const |
| The indirection operator (->) accesses a value indirectly, through a pointer. | |
| bool | set () |
| set() method sets ownership to the pointer, passed. This method is needed when the class is created with a default constructor. Returns false in case the class is non-empty. | |
Protected Attributes | |
| T * | _Ptr |
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
The indirection operator (*) accesses a value indirectly, through a pointer. This operator ensures that the OsclSingleton can be used like the regular pointer that it was initialized with. |
|
|||||||||
|
The indirection operator (->) accesses a value indirectly, through a pointer. This operator ensures that the OsclSingleton can be used like the regular pointer that it was initialized with. |
|
|||||||||
|
set() method sets ownership to the pointer, passed. This method is needed when the class is created with a default constructor. Returns false in case the class is non-empty.
|
|
|||||
|
|
OSCL API
Posting Version: CORE_8.509.1.3