18 cout <<
"SimpleService : " << getFloat() <<
"\n" << endl;
33 data = (
double *)getData();
34 len = getSize()/
sizeof(double);
35 for(i = 0; i < len; i++)
37 cout << data[
i] << endl;
51 unsigned mask = 0x80000000;
55 cout <<
"ComplexService : \n";
56 cout <<
"\tbitset : ";
57 for(i = 0; i < 32; i++)
66 cout <<
"\tboolval : ";
71 cout <<
"\tintval : "<< data->
intval <<
"\n";
72 cout <<
"\tfloatval : " << data->
floatval <<
"\n";
73 cout <<
"\tstringval : "<< data->
stringval <<
"\n\n";
74 cout <<
"Sending PVSS_SIMPLE_COMMAND : " << data->
stringval <<
"\n" << endl;
88 cout <<
"RPC Service received: " << value <<
"\n" << endl;
106 cout <<
"RPC Service sent: " << value <<
"\n" << endl;
static int sendCommand(const char *name, int data)
RpcService(const char *name, int timeout)
SimpleService(const char *name)
void setData(void *data, int size)
ComplexService(const char *name)
DimDoubleArray(const char *name)
void dim_print_date_time()