#include <thread.h>
Public Member Functions | |
shared_instance () | |
Construct empty instance to reference shared typed singleton. | |
shared_instance (shared_pointer< T > &pointer) | |
Construct shared access instance of shared typed singleton from matching shared_pointer. | |
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. | |
const T * | get (void) const |
Access pointer to typed singleton object this instance locks and references. |
This is used to access the shared lock instance of the singleton.
Definition at line 2432 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. |