: Allow to manage memory of instances of T. The only constraint on T is to have method incrRef and DecrRef. Typically T inherits from YACS::ENGINE::RefCounter. More...
#include <SharedPtr.hxx>

Public Member Functions | |
| SharedPtr (T *ptr) | |
| SharedPtr (const SharedPtr< T > &other) | |
| SharedPtr< T > & | operator= (const SharedPtr< T > &other) |
| T & | operator* () |
| const T & | operator* () const |
| T * | operator-> () |
| const T * | operator-> () const |
| ~SharedPtr () | |
| operator T * () | |
| operator const T * () const | |
| operator T & () | |
| operator const T & () const | |
| SharedPtr< T > | operator[] (int i) const |
| SharedPtr< T > | operator[] (const char *key) const |
Private Attributes | |
| T * | _ptr |
: Allow to manage memory of instances of T. The only constraint on T is to have method incrRef and DecrRef. Typically T inherits from YACS::ENGINE::RefCounter.
Definition at line 29 of file SharedPtr.hxx.
Definition at line 34 of file SharedPtr.hxx.
Definition at line 35 of file SharedPtr.hxx.
References SharedPtr< T >::_ptr.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 51 of file SharedPtr.hxx.
References SharedPtr< T >::_ptr.
Definition at line 60 of file SharedPtr.hxx.
References CORBAEngineTest::i.
Definition at line 66 of file SharedPtr.hxx.
|
private |
Definition at line 32 of file SharedPtr.hxx.
Referenced by SharedPtr< T >::operator const T &(), SharedPtr< T >::operator const T *(), SharedPtr< T >::operator T &(), SharedPtr< T >::operator T *(), SharedPtr< T >::operator*(), SharedPtr< T >::operator->(), SharedPtr< T >::operator=(), SharedPtr< T >::SharedPtr(), and SharedPtr< T >::~SharedPtr().