FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
template<class T>
bool
ChatClient
< T >::Process
(
const std::string &
str
)
inline
Definition at line
66
of file
ChatClient.h
.
67
{
68
if
(
ReadlineColor::Process
(
lout
,
str
))
69
return
true
;
70
71
if
(
T::Process
(
str
))
72
return
true
;
73
74
const
int
rc =
DimClient::sendCommand
(
"CHAT/MSG"
,
str
.c_str());
75
if
(!rc)
76
lout
<<
kRed
<<
"ERROR - Sending message failed."
<< endl;
77
78
return
false
;
79
}
DimClient::sendCommand
static int sendCommand(const char *name, int data)
Definition:
diccpp.cxx:1098
str
char str[80]
Definition:
test_client.c:7
kRed
Set color Red.
Definition:
WindowLog.h:17
ReadlineColor::Process
bool Process(std::ostream &out, const std::string &str)
Definition:
ReadlineColor.cc:219
ChatClientImp::lout
std::ostream & lout
Definition:
ChatClient.h:20
ChatClient
Generated on Sun Sep 18 2016 20:50:43 for FACT++ by
1.8.11