Definition at line 100 of file pvss_dim_server.cxx.
References COMPLEXDATA::bitset, COMPLEXDATA::boolval, RecvCommand::clearReset(), COMPLEXDATA1::farr, COMPLEXDATA::floatval, COMPLEXDATA1::iarr, COMPLEXDATA::intval, COMPLEXDATA1::intval, COMPLEXDATA1::intval1, RecvCommand::isReset(), DimService::setQuality(), sprintf(), DimServer::start(), COMPLEXDATA1::str, COMPLEXDATA::stringval, and DimService::updateService().
109 complexData.
intval = index;
114 cData.
farr[0] = (float)1.2;
115 cData.
farr[1] = (float)2.2;
116 cData.
farr[2] = (float)3.2;
129 strcpy(cData.
str,
"hello");
131 DimService cTestService(
"COMPLEX_SERVICE_TEST",
"F:10;I:1;I:3;C:20;I:1",
132 (
void *)&cData,
sizeof(cData));
134 DimService complexService(
"COMPLEX_SERVICE",
"I:1;C:1;I:1;F:1;C",
135 (
void *)&complexData,
sizeof(complexData));
137 simpleData = (float)1.23;
139 DimService simpleService(
"SIMPLE_SERVICE", simpleData);
140 simpleService.setQuality(1);
169 if( recvCommand.isReset() )
175 complexData.
intval = index;
178 simpleData = (float)1.23;
179 recvCommand.clearReset();
186 complexData.
intval = index;
187 complexData.
floatval = index * (float)1.1;
189 simpleData += (float)1.1;
192 complexService.updateService();
209 simpleService.updateService();
229 if((
int)strlen(cData.
str) < 16)
230 strcat(cData.
str,
" abc");
231 cTestService.updateService();
sprintf(name1,"NewService%d", i)