15 cout << severity <<
" " << msg << endl;
18 while(services[index])
20 cout << services[index] << endl;
32 cout <<
"exit code " << code << endl;
45 cout <<
"Command " << getString() <<
" received" << endl;
49 while(services[index])
51 cout << services[index] << endl;
57 servstr(
"TEST/STRVAL",
"empty") {};
76 abc =
new DimService(
"TEST/INTVAL_CONST",(
int &)ival);
83 abc =
new DimService(
"TEST/STRINGVAL_CONST",(
char *)s1.c_str());
91 serv =
new DimService(
"TEST/BOOLVAL_CONST",
"C:1", (
void *)&boolval, 1);
138 farrp =
new DimService(
"/PCITCO147/sensors/fan/input",
"F", farr,
sizeof(farr));
void add_serv_bool(const bool &boolval)
static char * getClientName()
void exitHandler(int code)
void add_serv(const int &ival)
ServWithHandler(char *name)
void add_serv_str(const string &s1)
static char ** getClientServices()
void errorHandler(int severity, int code, char *msg)