FACT++  1.0
ChatClient< T > Class Template Reference

Implements a remote control based on a Readline class for the Chat client. More...

#include <ChatClient.h>

+ Inheritance diagram for ChatClient< T >:
+ Collaboration diagram for ChatClient< T >:

Public Member Functions

 ChatClient (const char *name)
bool Process (const std::string &str)
std::string GetUpdatePrompt () const
- Public Member Functions inherited from MessageImp
 MessageImp (std::ostream &out=std::cout)
virtual ~MessageImp ()
virtual void IndicateStateChange (const Time &, const std::string &)
void StateChanged (const Time &time, const std::string &server, const std::string &msg, int state)
int Update (const std::string &txt, int severity=kMessage)
int Update (const char *txt, int severity=kMessage)
int Update (const std::ostringstream &str, int severity=kMessage)
int Debug (const std::string &str)
int Message (const std::string &str)
int Info (const std::string &str)
int Warn (const std::string &str)
int Error (const std::string &str)
int Alarm (const std::string &str)
int Fatal (const std::string &str)
int Comment (const std::string &str)
int Debug (const char *txt)
int Message (const char *txt)
int Info (const char *txt)
int Warn (const char *txt)
int Error (const char *txt)
int Alarm (const char *txt)
int Fatal (const char *txt)
int Comment (const char *txt)
int Debug (const std::ostringstream &str)
int Message (const std::ostringstream &str)
int Info (const std::ostringstream &str)
int Warn (const std::ostringstream &str)
int Alarm (const std::ostringstream &str)
int Error (const std::ostringstream &str)
int Fatal (const std::ostringstream &str)
int Comment (const std::ostringstream &str)
std::ostream & operator() () const
std::ostream & Out () const
virtual bool MessageQueueEmpty () const
- Public Member Functions inherited from DimErrorRedirecter
 DimErrorRedirecter (MessageImp &imp)
 ~DimErrorRedirecter ()
- Public Member Functions inherited from DimErrorHandler
virtual ~DimErrorHandler ()
- Public Member Functions inherited from DimExitHandler
virtual ~DimExitHandler ()
- Public Member Functions inherited from MessageDimRX
 MessageDimRX (const std::string &name, MessageImp &imp)
void SetMinLogLevel (int min=0)
bool IsConnected () const
- Public Member Functions inherited from DimInfoHandler
DimInfogetInfo ()
virtual ~DimInfoHandler ()

Additional Inherited Members

- Public Types inherited from MessageImp
enum  Severity {
  kMessage = 10, kInfo = 20, kWarn = 30, kError = 40,
  kAlarm = 45, kFatal = 50, kComment = 90, kDebug = 99
 Severity of a message. More...
- Public Attributes inherited from DimInfoHandler
- Protected Member Functions inherited from ChatClientImp
int Write (const Time &t, const string &txt, int)
 Output stream for local synchrounous output. More...
 ChatClientImp (std::ostream &out, std::ostream &in)
- Protected Member Functions inherited from MessageDimRX
void infoHandler ()
- Protected Attributes inherited from ChatClientImp
std::ostream & lout
- Protected Attributes inherited from MessageDimRX

Detailed Description

template<class T>
class ChatClient< T >

Implements a remote control based on a Readline class for the Chat client.

Template Parameters
TThe base class for ChatClient. Either Readline or a class deriving from it. This is usually either Console or Shell.

Definition at line 56 of file ChatClient.h.

The documentation for this class was generated from the following file: