nCurrentSenderID Class Reference

#include <nNetwork.h>

List of all members.

Public Member Functions

 nCurrentSenderID ()
 nCurrentSenderID (int senderID)
 ~nCurrentSenderID ()
void SetID (int senderID)

Static Public Member Functions

static int GetID ()

Private Attributes

int lastSenderID_

Static Private Attributes

static int currentSenderID_ = 0


Detailed Description

Definition at line 719 of file nNetwork.h.


Constructor & Destructor Documentation

nCurrentSenderID::nCurrentSenderID (  )  [inline]

Definition at line 722 of file nNetwork.h.

nCurrentSenderID::nCurrentSenderID ( int  senderID  )  [inline]

Definition at line 723 of file nNetwork.h.

References SetID().

00723                                     :lastSenderID_( currentSenderID_ ){
00724         SetID( senderID );
00725     }

Here is the call graph for this function:

nCurrentSenderID::~nCurrentSenderID (  )  [inline]

Definition at line 726 of file nNetwork.h.

References currentSenderID_, and lastSenderID_.

00726                        {
00727         currentSenderID_ = lastSenderID_;
00728     }


Member Function Documentation

static int nCurrentSenderID::GetID (  )  [inline, static]

Definition at line 730 of file nNetwork.h.

References currentSenderID_.

00730                       {
00731         return currentSenderID_;
00732     }

void nCurrentSenderID::SetID ( int  senderID  )  [inline]

Definition at line 733 of file nNetwork.h.

References currentSenderID_.

Referenced by eVoteItem::AcceptNewVote(), eVoteItem::FillFromMessage(), eVoter::HandleChat(), and nCurrentSenderID().

00733                               {
00734         currentSenderID_ = senderID;
00735     }

Here is the caller graph for this function:


Member Data Documentation

int nCurrentSenderID::lastSenderID_ [private]

Definition at line 737 of file nNetwork.h.

Referenced by ~nCurrentSenderID().

int nCurrentSenderID::currentSenderID_ = 0 [static, private]

Definition at line 738 of file nNetwork.h.

Referenced by GetID(), SetID(), and ~nCurrentSenderID().


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