Chat Class Reference

#include <Chat.h>

Inherits Singleton< T >< Chat >.

Inheritance diagram for Chat:

Inheritance graph
List of all members.

Detailed Description

Definition at line 7 of file Chat.h.

Public Member Functions

 Chat ()
void draw ()
void inputMessage (std::string text)
void sendMessage (std::string text)
 ~Chat ()

Private Attributes

std::string _input
std::string _message


class Singleton< Chat >

Constructor & Destructor Documentation

Chat::Chat (  ) 

Definition at line 5 of file Chat.cpp.

References _message.

Chat::~Chat (  ) 

Definition at line 10 of file Chat.cpp.

Member Function Documentation

void Chat::draw (  ) 

Definition at line 14 of file Chat.cpp.

References _input, _message, and Singleton< T >::instance().

Here is the call graph for this function:

void Chat::inputMessage ( std::string  text  ) 

Definition at line 20 of file Chat.cpp.

References _input.

void Chat::sendMessage ( std::string  text  ) 

Definition at line 25 of file Chat.cpp.

References _input, and _message.

Friends And Related Function Documentation

friend class Singleton< Chat > [friend]

Definition at line 9 of file Chat.h.

Member Data Documentation

std::string Chat::_input [private]

Definition at line 13 of file Chat.h.

Referenced by draw(), inputMessage(), and sendMessage().

std::string Chat::_message [private]

Definition at line 12 of file Chat.h.

Referenced by Chat(), draw(), and sendMessage().

The documentation for this class was generated from the following files:
Generated on Fri Sep 22 06:00:26 2006 for X-CLONE by  doxygen 1.4.7