#include <nObserver.h>
Public Member Functions | |
const nNetObject * | GetNetObject () const |
Private Member Functions | |
void | SetObject (const nNetObject *) |
nObserver () | |
~nObserver () | |
Private Attributes | |
const nNetObject * | object_ |
Friends | |
class | tReferencable< nObserver > |
class | nNetObject |
Definition at line 36 of file nObserver.h.
nObserver::nObserver | ( | ) | [private] |
Definition at line 58 of file nObserver.cpp.
References object_.
00059 { 00060 this->object_ = 0; 00061 }
nObserver::~nObserver | ( | ) | [private] |
Definition at line 63 of file nObserver.cpp.
References NULL.
00064 { 00065 #ifdef DEBUG 00066 sn_LastChecked = NULL; 00067 #endif 00068 }
const nNetObject * nObserver::GetNetObject | ( | ) | const |
Definition at line 46 of file nObserver.cpp.
References object_.
00047 { 00048 return this->object_; 00049 }
void nObserver::SetObject | ( | const nNetObject * | o | ) | [private] |
Definition at line 52 of file nObserver.cpp.
References object_.
00053 { 00054 this->object_ = o; 00055 }
friend class tReferencable< nObserver > [friend] |
Definition at line 38 of file nObserver.h.
friend class nNetObject [friend] |
Definition at line 55 of file nObserver.h.
const nNetObject* nObserver::object_ [private] |
Definition at line 48 of file nObserver.h.
Referenced by GetNetObject(), nObserver(), and SetObject().