10 #ifndef NDSPVACTIONIMPL_H
11 #define NDSPVACTIONIMPL_H
13 #include "nds3/impl/pvBaseOutImpl.h"
14 #include "nds3/impl/pvBaseInImpl.h"
30 typedef std::function<void (timespec*, std::int32_t*)>
initValue_t;
35 typedef std::function<void (const timespec&, const std::int32_t&)>
write_t;
64 virtual void read(timespec* pTimestamp, std::int32_t* pValue)
const;
74 virtual void write(
const timespec& timestamp,
const std::int32_t& value);
89 void setValueBack(
const timespec& timestamp,
const std::int32_t& value);
107 void dontInitialize(timespec*, std::int32_t*);
114 #endif // NDSPVACTIONIMPL_H
Action PV. Delegates the read/write user defined functions and set the value back to the control syst...
Definition: pvActionImpl.h:24
The node's role is not specified.
outputPvType_t
Defines an output PV's role: this information is used to build the PV's external name when using the ...
Definition: definitions.h:130
Defines all the enumeration and common types used across the NDS library.
Base class for all the output PVs.
Definition: pvBaseOutImpl.h:26
std::function< void(const timespec &, const std::int32_t &)> write_t
Definition of the method used to write.
Definition: pvActionImpl.h:35
Base class for all the PVs.
Definition: pvBaseInImpl.h:29
dataType_t
PV data types.
Definition: definitions.h:53
std::function< void(timespec *, std::int32_t *)> initValue_t
Definition of the method used to read the initial value.
Definition: pvActionImpl.h:30