nNetObjectRegistrar Struct Reference

#include <nNetObject.h>

Collaboration diagram for nNetObjectRegistrar:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 nNetObjectRegistrar ()
 ~nNetObjectRegistrar ()

Public Attributes

nNetObjectobject
unsigned short sender
unsigned short id
nNetObjectRegistraroldRegistrar


Detailed Description

Definition at line 301 of file nNetObject.h.


Constructor & Destructor Documentation

nNetObjectRegistrar::nNetObjectRegistrar (  ) 

Definition at line 723 of file nNetObject.cpp.

References oldRegistrar, and sender.

00724 {
00725     sender = 100;
00726     id = 0;
00727     oldRegistrar = sn_Registrar;
00728     sn_Registrar = this;
00729 }

nNetObjectRegistrar::~nNetObjectRegistrar (  ) 

Definition at line 731 of file nNetObject.cpp.

References oldRegistrar, and tASSERT.

00732 {
00733     tASSERT( sn_Registrar == this );
00734     sn_Registrar = oldRegistrar;
00735 }


Member Data Documentation

nNetObject* nNetObjectRegistrar::object

Definition at line 303 of file nNetObject.h.

Referenced by nNetObject::GetID(), nNetObject::nNetObject(), and nNetObject::Register().

unsigned short nNetObjectRegistrar::sender

Definition at line 304 of file nNetObject.h.

Referenced by nNetObject::nNetObject(), nNetObjectRegistrar(), and nNetObject::Register().

unsigned short nNetObjectRegistrar::id

Definition at line 305 of file nNetObject.h.

Referenced by nNetObject::GetID(), nNetObject::nNetObject(), and nNetObject::Register().

nNetObjectRegistrar* nNetObjectRegistrar::oldRegistrar

Definition at line 306 of file nNetObject.h.

Referenced by nNetObjectRegistrar(), and ~nNetObjectRegistrar().


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