Templated locked pointer for referencing locked objects of specific type. More...
#include <thread.h>
Public Member Functions | |
locked_pointer () | |
Create an instance of a typed locked pointer. | |
T * | dup (void) |
Create a duplicate reference counted instance of the current typed object. | |
void | replace (T *object) |
Replace existing typed object with a new one for next request. | |
void | operator= (T *object) |
Replace existing object through assignment. | |
T * | operator* () |
Create a duplicate reference counted instance of the current typed object by pointer reference. |
Templated locked pointer for referencing locked objects of specific type.
This is used as typed template for the LockedPointer object reference management class. This is used to supply a typed locked instances to the typed locked_instance template class.
Definition at line 2345 of file thread.h.
T* ucc::locked_pointer< T >::dup | ( | void | ) | [inline] |
Create a duplicate reference counted instance of the current typed object.
Reimplemented from ucc::LockedPointer.
T* ucc::locked_pointer< T >::operator* | ( | ) | [inline] |
void ucc::locked_pointer< T >::operator= | ( | T * | object | ) | [inline] |
void ucc::locked_pointer< T >::replace | ( | T * | object | ) | [inline] |