FACT++  1.0
void ComplexService::infoHandler ( )
inlineprivatevirtual

Reimplemented from DimInfo.

Definition at line 47 of file pvss_dim_client.cxx.

References COMPLEXDATA::bitset, COMPLEXDATA::boolval, data, COMPLEXDATA::floatval, i, COMPLEXDATA::intval, DimClient::sendCommand(), and COMPLEXDATA::stringval.

48  {
50  int i;
51  unsigned mask = 0x80000000;
52 
53  data = (COMPLEXDATA *)getData();
54 
55  cout << "ComplexService : \n";
56  cout << "\tbitset : ";
57  for(i = 0; i < 32; i++)
58  {
59  if (data->bitset & mask)
60  cout << "1";
61  else
62  cout << "0";
63  mask >>= 1;
64  }
65  cout << "\n";
66  cout << "\tboolval : ";
67  if(data->boolval)
68  cout << "TRUE\n";
69  else
70  cout << "FALSE\n";
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;
75  DimClient::sendCommand("PVSS_SIMPLE_COMMAND",data->stringval);
76  }
static int sendCommand(const char *name, int data)
Definition: diccpp.cxx:1098
int i
Definition: db_dim_client.c:21
void * getData()
Definition: diccpp.cxx:213
float data[4 *1440]
char stringval[128]

+ Here is the call graph for this function: