Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Message Class Reference

#include <message.h>

List of all members.

Public Member Functions

 Message ()
void setLastMsg (int playerid, const char *msg)
msgstruct getMsgStruct ()
bool isLast ()
MessagegetNextMsg ()
int isFrom ()

Private Attributes

msgstruct msg
MessagenextMessage
bool islast


Detailed Description

Definition at line 13 of file message.h.


Constructor & Destructor Documentation

Message::Message  ) 
 

Definition at line 3 of file Message.cpp.

References islast, and nextMessage.

Referenced by setLastMsg().


Member Function Documentation

msgstruct Message::getMsgStruct  ) 
 

Definition at line 23 of file Message.cpp.

References msg.

Message * Message::getNextMsg  ) 
 

Definition at line 38 of file Message.cpp.

References nextMessage.

int Message::isFrom  ) 
 

Definition at line 33 of file Message.cpp.

References msg, and msgstruct::playerid.

Referenced by MessageQueue::delMessageFrom().

bool Message::isLast  ) 
 

Definition at line 28 of file Message.cpp.

References islast.

void Message::setLastMsg int  playerid,
const char msg
 

Definition at line 9 of file Message.cpp.

References islast, Message(), nextMessage, and setLastMsg().

Referenced by setLastMsg().

Here is the call graph for this function:


Member Data Documentation

bool Message::islast [private]
 

Definition at line 18 of file message.h.

Referenced by isLast(), Message(), and setLastMsg().

msgstruct Message::msg [private]
 

Definition at line 15 of file message.h.

Referenced by getMsgStruct(), and isFrom().

Message* Message::nextMessage [private]
 

Definition at line 16 of file message.h.

Referenced by getNextMsg(), Message(), and setLastMsg().


Generated on Sun Jun 5 15:50:16 2005 for Defacto by  doxygen 1.4.3