A templated smart pointer instance for shared singleton typed objects. More...
#include <thread.h>


Public Member Functions | |
| const T * | get (void) const |
| Access pointer to typed singleton object this instance locks and references. | |
| const T & | operator* () const |
| Access shared typed singleton object this instance locks and references. | |
| const T * | operator-> () const |
| Access member of shared typed singleton object this instance locks and references. | |
| shared_instance (shared_pointer< T > &pointer) | |
| Construct shared access instance of shared typed singleton from matching shared_pointer. | |
| shared_instance () | |
| Construct empty instance to reference shared typed singleton. | |
A templated smart pointer instance for shared singleton typed objects.
This is used to access the shared lock instance of the singleton.
Definition at line 2450 of file thread.h.
| ucc::shared_instance< T >::shared_instance | ( | shared_pointer< T > & | pointer | ) | [inline] |
Construct shared access instance of shared typed singleton from matching shared_pointer.
| pointer | to get instance from. |
1.6.3