#include <lugre_smartptr.h>


Public Types | |
| enum | { kDefaultDeathEventCode = 255 } |
Public Member Functions | |
| cSmartPointable (const size_t iDeathEventCode=kDefaultDeathEventCode) | |
| virtual | ~cSmartPointable () |
| void | ReleaseAllSmartPtr () |
| void | RegisterSmartPtr (cISmartPtr *ptr) |
| void | UnRegisterSmartPtr (cISmartPtr *ptr) |
| int | CountSmartPtrs () |
Public Attributes | |
| size_t | miDeathEventCode |
Private Attributes | |
| std::list< cISmartPtr * > | mlPtr |
Definition at line 93 of file lugre_smartptr.h.
| anonymous enum |
| Lugre::cSmartPointable::cSmartPointable | ( | const size_t | iDeathEventCode = kDefaultDeathEventCode |
) | [inline] |
Definition at line 98 of file lugre_smartptr.h.
| virtual Lugre::cSmartPointable::~cSmartPointable | ( | ) | [inline, virtual] |
Definition at line 99 of file lugre_smartptr.h.
References miDeathEventCode, Lugre::cListenable::NotifyAllListeners(), PROFILE, and ReleaseAllSmartPtr().
| void Lugre::cSmartPointable::ReleaseAllSmartPtr | ( | ) | [inline] |
Definition at line 103 of file lugre_smartptr.h.
References mlPtr, and PROFILE.
Referenced by ~cSmartPointable().
| void Lugre::cSmartPointable::RegisterSmartPtr | ( | cISmartPtr * | ptr | ) | [inline] |
| void Lugre::cSmartPointable::UnRegisterSmartPtr | ( | cISmartPtr * | ptr | ) | [inline] |
| int Lugre::cSmartPointable::CountSmartPtrs | ( | ) | [inline] |
std::list<cISmartPtr*> Lugre::cSmartPointable::mlPtr [private] |
Definition at line 127 of file lugre_smartptr.h.
Referenced by CountSmartPtrs(), RegisterSmartPtr(), ReleaseAllSmartPtr(), and UnRegisterSmartPtr().
1.5.6