using new copy API

This commit is contained in:
Matej Sekoranja
2015-02-18 10:04:19 +01:00
parent 35dcbf35b3
commit 36dac883f4
8 changed files with 6 additions and 17 deletions

View File

@@ -22,7 +22,6 @@
#include <pv/pvData.h>
#include <pv/pvCopy.h>
#include <pv/convert.h>
#include <pv/pvTimeStamp.h>
#ifdef pvdatabaseEpicsExportSharedSymbols
@@ -237,7 +236,6 @@ private:
std::string recordName;
epics::pvData::PVStructurePtr pvStructure;
epics::pvData::ConvertPtr convert;
PVRecordStructurePtr pvRecordStructure;
std::list<PVListenerPtr> pvListenerList;
std::list<PVRecordClientPtr> pvRecordClientList;

View File

@@ -39,7 +39,6 @@ PVRecord::PVRecord(
PVStructurePtr const & pvStructure)
: recordName(recordName),
pvStructure(pvStructure),
convert(getConvert()),
depthGroupPut(0),
traceLevel(0),
isDestroyed(false),
@@ -98,7 +97,6 @@ void PVRecord::destroy()
}
pvRecordStructure->destroy();
pvRecordStructure.reset();
convert.reset();
pvStructure.reset();
unlock();
} catch(...) {

View File

@@ -13,7 +13,6 @@
#include <epicsThread.h>
#include <pv/timeStamp.h>
#include <pv/convert.h>
#include <pv/pvSubArrayCopy.h>
#define epicsExportSharedSymbols
@@ -30,7 +29,6 @@ using std::string;
namespace epics { namespace pvDatabase {
static ConvertPtr convert = getConvert();
static StructureConstPtr nullStructure;
static PVStructurePtr nullPVStructure;
static BitSetPtr nullBitSet;

View File

@@ -37,7 +37,6 @@ static Status wasDestroyedStatus(Status::STATUSTYPE_ERROR,"was destroyed");
static Status alreadyStartedStatus(Status::STATUSTYPE_ERROR,"already started");
static Status notStartedStatus(Status::STATUSTYPE_ERROR,"not started");
static ConvertPtr convert = getConvert();
typedef Queue<MonitorElement> MonitorElementQueue;