ComsChannelTextMessage Class Reference

#include <ComsChannelTextMessage.h>

Inheritance diagram for ComsChannelTextMessage:

ComsMessage

List of all members.

Public Member Functions

 ComsChannelTextMessage ()
 ComsChannelTextMessage (ChannelText &text)
virtual ~ComsChannelTextMessage ()
std::list< unsigned
int > & 
getIds ()
ChannelTextgetChannelText ()
virtual bool writeMessage (NetBuffer &buffer)
virtual bool readMessage (NetBufferReader &reader)

Protected Attributes

std::list< unsigned int > ids_
ChannelText channelText_

Private Member Functions

 ComsChannelTextMessage (const ComsChannelTextMessage &)
const
ComsChannelTextMessage
operator= (const ComsChannelTextMessage &)


Detailed Description

Definition at line 28 of file ComsChannelTextMessage.h.


Constructor & Destructor Documentation

ComsChannelTextMessage::ComsChannelTextMessage (  ) 

Definition at line 23 of file ComsChannelTextMessage.cpp.

ComsChannelTextMessage::ComsChannelTextMessage ( ChannelText text  ) 

Definition at line 28 of file ComsChannelTextMessage.cpp.

ComsChannelTextMessage::~ComsChannelTextMessage (  )  [virtual]

Definition at line 34 of file ComsChannelTextMessage.cpp.

ComsChannelTextMessage::ComsChannelTextMessage ( const ComsChannelTextMessage  )  [private]


Member Function Documentation

std::list<unsigned int>& ComsChannelTextMessage::getIds (  )  [inline]

Definition at line 35 of file ComsChannelTextMessage.h.

References ids_.

Referenced by ServerChannelManager::actualSend(), and ClientChannelManager::processMessage().

ChannelText& ComsChannelTextMessage::getChannelText (  )  [inline]

Definition at line 36 of file ComsChannelTextMessage.h.

References channelText_.

Referenced by ServerChannelManager::processMessage(), and ClientChannelManager::processMessage().

bool ComsChannelTextMessage::writeMessage ( NetBuffer buffer  )  [virtual]

Implements ComsMessage.

Definition at line 38 of file ComsChannelTextMessage.cpp.

References NetBuffer::addToBuffer(), channelText_, ids_, and ChannelText::writeMessage().

bool ComsChannelTextMessage::readMessage ( NetBufferReader reader  )  [virtual]

Implements ComsMessage.

Definition at line 52 of file ComsChannelTextMessage.cpp.

References channelText_, NetBufferReader::getFromBuffer(), ids_, and ChannelText::readMessage().

Referenced by ServerChannelManager::processMessage(), and ClientChannelManager::processMessage().

const ComsChannelTextMessage& ComsChannelTextMessage::operator= ( const ComsChannelTextMessage  )  [private]


Member Data Documentation

std::list<unsigned int> ComsChannelTextMessage::ids_ [protected]

Definition at line 43 of file ComsChannelTextMessage.h.

Referenced by getIds(), readMessage(), and writeMessage().

ChannelText ComsChannelTextMessage::channelText_ [protected]

Definition at line 44 of file ComsChannelTextMessage.h.

Referenced by getChannelText(), readMessage(), and writeMessage().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:01 2009 for Scorched3D by  doxygen 1.5.3