pvDatabaseCPP  4.5.3-dev
addRecord.h
Go to the documentation of this file.
1 /* addRecord.h */
11 #ifndef ADDRECORD_H
12 #define ADDRECORD_H
13 
15 
16 #include <shareLib.h>
17 
18 namespace epics { namespace pvDatabase {
19 
20 
21 class AddRecord;
22 typedef std::tr1::shared_ptr<AddRecord> AddRecordPtr;
23 
32 class epicsShareClass AddRecord :
33  public PVRecord
34 {
35 public:
36  POINTER_DEFINITIONS(AddRecord);
42  static AddRecordPtr create(
43  std::string const & recordName);
48  virtual bool init();
52  virtual void process();
53 private:
54  AddRecord(
55  std::string const & recordName,
56  epics::pvData::PVStructurePtr const & pvStructure);
57  epics::pvData::PVStringPtr pvRecordName;
58  epics::pvData::PVStringPtr pvResult;
59 };
60 
61 }}
62 
63 #endif /* ADDRECORD_H */
std::tr1::shared_ptr< AddRecord > AddRecordPtr
Definition: addRecord.h:21
Base interface for a PVRecord.
Definition: pvDatabase.h:56
Add another record in the same database.
Definition: addRecord.h:32