nObserver Class Reference

#include <nObserver.h>

Inheritance diagram for nObserver:

Inheritance graph
[legend]
Collaboration diagram for nObserver:

Collaboration graph
[legend]

List of all members.

Public Member Functions

const nNetObjectGetNetObject () const

Private Member Functions

void SetObject (const nNetObject *)
 nObserver ()
 ~nObserver ()

Private Attributes

const nNetObjectobject_

Friends

class tReferencable< nObserver >
class nNetObject


Detailed Description

Definition at line 36 of file nObserver.h.


Constructor & Destructor Documentation

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 }


Member Function Documentation

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 }


Friends And Related Function Documentation

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.


Member Data Documentation

const nNetObject* nObserver::object_ [private]

Definition at line 48 of file nObserver.h.

Referenced by GetNetObject(), nObserver(), and SetObject().


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:49:15 2008 for Armagetron Advanced by  doxygen 1.5.4