#include <thread.h>
Public Member Functions | |
shared_pointer () | |
Created shared locking for typed singleton pointer. | |
const T * | dup (void) |
Acquire a shared (duplocate) reference to the typed singleton object. | |
void | replace (T *object) |
Replace existing typed singleton instance with new one. | |
void | operator= (T *object) |
Replace existing typed singleton object through assignment. | |
T * | operator* () |
Access shared lock typed singleton object by pointer reference. |
This is used as typed template for the SharedPointer object reference management class. This is used to supply a typed singleton shared instance to the typed shared_instance template class.
Definition at line 2295 of file thread.h.
const T* ucc::shared_pointer< T >::dup | ( | void | ) | [inline] |
Acquire a shared (duplocate) reference to the typed singleton object.
This is a form of shared access lock. Derived classes and templates access conditionallock "release" when the shared pointer is no longer needed.
Definition at line 2310 of file thread.h.
T* ucc::shared_pointer< T >::operator* | ( | ) | [inline] |
void ucc::shared_pointer< T >::operator= | ( | T * | object | ) | [inline] |
void ucc::shared_pointer< T >::replace | ( | T * | object | ) | [inline] |