pvDatabaseCPP  4.7.1-dev
pvdbcrRemoveRecord.h
Go to the documentation of this file.
1 
10 #ifndef PVDBCRREMOVEARRAY_H
11 #define PVDBCRREMOVEARRAY_H
12 
13 #include <pv/pvDatabase.h>
14 #include <pv/pvSupport.h>
15 #include <pv/pvStructureCopy.h>
16 
17 #include <shareLib.h>
18 
19 namespace epics { namespace pvDatabase {
20 
22 typedef std::tr1::shared_ptr<PvdbcrRemoveRecord> PvdbcrRemoveRecordPtr;
23 
28 class epicsShareClass PvdbcrRemoveRecord :
29  public PVRecord
30 {
31 private:
33  std::string const & recordName,epics::pvData::PVStructurePtr const & pvStructure,
34  int asLevel,std::string const & asGroup);
35  epics::pvData::PVStringPtr pvRecordName;
36  epics::pvData::PVStringPtr pvResult;
37 public:
38  POINTER_DEFINITIONS(PvdbcrRemoveRecord);
42  virtual ~PvdbcrRemoveRecord() {}
51  static PvdbcrRemoveRecordPtr create(
52  std::string const & recordName,
53  int asLevel=0,std::string const & asGroup = std::string("DEFAULT"));
58  virtual bool init();
62  virtual void process();
63 };
64 
65 }}
66 
67 #endif /* PVDBCRREMOVEARRAY_H */
std::tr1::shared_ptr< PvdbcrRemoveRecord > PvdbcrRemoveRecordPtr
PvdbcrRemoveRecord A record that removes a record from the master database.
Base interface for a PVRecord.
Definition: pvDatabase.h:56