6 #ifndef PVTIMESTAMPPLUGIN_H 7 #define PVTIMESTAMPPLUGIN_H 12 #include <pv/pvData.h> 14 #include <pv/pvTimeStamp.h> 18 namespace epics {
namespace pvCopy{
20 class PVTimestampPlugin;
53 const std::string & requestValue,
55 const epics::pvData::PVFieldPtr & master);
64 epics::pvData::PVTimeStamp pvTimeStamp;
65 epics::pvData::TimeStamp timeStamp;
68 epics::pvData::PVFieldPtr master;
71 PVTimestampFilter(
bool current,
bool copy,epics::pvData::PVFieldPtr
const & pvField);
82 static PVTimestampFilterPtr create(
const std::string & requestValue,
const epics::pvData::PVFieldPtr & master);
91 bool filter(
const epics::pvData::PVFieldPtr & pvCopy,
const epics::pvData::BitSetPtr & bitSet,
bool toCopy);
96 std::string getName();
A plugin for a filter that sets a timeStamp to the current time.
std::tr1::shared_ptr< PVFilter > PVFilterPtr
std::tr1::shared_ptr< PVCopy > PVCopyPtr
A filter that sets a timeStamp to/from the current field or pvCopy.
A filter plugin that attaches to a field of a PVStrcture.
std::tr1::shared_ptr< PVTimestampPlugin > PVTimestampPluginPtr
std::tr1::shared_ptr< PVTimestampFilter > PVTimestampFilterPtr
A Filter that is called when a copy PVStructure is being updated.