24 #ifndef SKA_CHEETAH_PSBC_PSBC_H 25 #define SKA_CHEETAH_PSBC_PSBC_H 27 #include "cheetah/psbc/Config.h" 28 #include "cheetah/data/DmTime.h" 29 #include "cheetah/data/DmTrials.h" 30 #include "cheetah/data/Units.h" 44 typedef data::DmTrials<cheetah::Cpu,float> DmTrialsType;
45 typedef data::DmTime<DmTrialsType> DmTimeType;
56 template<
typename Handler>
60 typedef typename DmTimeType::ValueType DataType;
61 typedef DmTrialsType::TimeType Seconds;
90 std::shared_ptr<DmTimeType> _data;
92 std::unique_ptr<std::mutex> _mutex;
99 #include "cheetah/psbc/detail/Psbc.cpp" 101 #endif // SKA_CHEETAH_PSBC_PSBC_H void operator()(DataType const &)
add a DmTrials shared pointer to the underlying container
A class for buffering DmTrials objects.
bool is_contiguous() const
Determines if blocks in the buffer are contiguous in time.
Some limits and constants for FLDO.
Configuration for the data collection buffer.
Psbc(Config const &config, Handler &handler)
Construct a new instance.