address issue #53; reorganize Client*Data
This commit is contained in:
@@ -218,11 +218,7 @@ void PvaClientPutGet::putGetDone(
|
||||
channelPutGetStatus = status;
|
||||
putGetState = putGetComplete;
|
||||
if(status.isOK()) {
|
||||
PVStructurePtr pvs = pvaClientGetData->getPVStructure();
|
||||
pvs->copyUnchecked(*getPVStructure,*getChangedBitSet);
|
||||
BitSetPtr bs = pvaClientGetData->getChangedBitSet();
|
||||
bs->clear();
|
||||
*bs |= *getChangedBitSet;
|
||||
pvaClientGetData->setData(getPVStructure,getChangedBitSet);
|
||||
}
|
||||
PvaClientPutGetRequesterPtr req(pvaClientPutGetRequester.lock());
|
||||
if(req) {
|
||||
@@ -274,11 +270,7 @@ void PvaClientPutGet::getGetDone(
|
||||
channelPutGetStatus = status;
|
||||
putGetState = putGetComplete;
|
||||
if(status.isOK()) {
|
||||
PVStructurePtr pvs = pvaClientGetData->getPVStructure();
|
||||
pvs->copyUnchecked(*getPVStructure,*getChangedBitSet);
|
||||
BitSetPtr bs = pvaClientGetData->getChangedBitSet();
|
||||
bs->clear();
|
||||
*bs |= *getChangedBitSet;
|
||||
pvaClientGetData->setData(getPVStructure,getChangedBitSet);
|
||||
}
|
||||
PvaClientPutGetRequesterPtr req(pvaClientPutGetRequester.lock());
|
||||
if(req) {
|
||||
@@ -555,6 +547,4 @@ PvaClientChannelPtr PvaClientPutGet::getPvaClientChannel()
|
||||
return pvaClientChannel;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user