10 #ifndef NDSDATAACQUISITION_H
11 #define NDSDATAACQUISITION_H
106 void push(
const timespec& timestamp,
const T& data);
113 double getFrequencyHz();
120 double getDurationSeconds();
127 double getAmplitude();
142 size_t getMaxElements();
149 size_t getDecimation();
156 size_t getSamplingMode();
174 timespec getStartTimestamp()
const;
178 #endif // NDSDATAACQUISITION_H
Defines the nds::Node class, a class that can contain other device's nodes, ports or PVs...
std::function< timespec()> getTimestampPlugin_t
Definition for a function called to retrieve a time.
Definition: definitions.h:279
A node object that can contain other nodes or PVs as children.
Definition: node.h:38
std::function< bool(const state_t, const state_t, const state_t)> allowChange_t
Definition for a function called to allow or deny a state transition.
Definition: definitions.h:271
std::function< void()> stateChange_t
Definition for the function executed during the state transition.
Definition: definitions.h:254
Defines all the enumeration and common types used across the NDS library.
Definition: dataAcquisition.h:53