8#include "BmnFunctionSet.h"
12using SysPoint = std::chrono::time_point<SysClock>;
17template<
typename IntType = UChar_t>
35 fExtCond.resize(fSize);
42 std::vector<IntType>&
GetValues() {
return fValue; }
44 std::vector<SysPoint>&
GetTimes() {
return fTimes; }
50 TTimeStamp
GetTS()
const {
return fTS; }
65 std::vector<IntType> fValue;
66 std::vector<SysPoint> fTimes;
67 std::vector<uint8_t> fExtCond;
std::chrono::system_clock SysClock
std::chrono::time_point< SysClock > SysPoint
static SysPoint TimeStamp2TP(TTimeStamp p)
std::vector< IntType > & GetValues()
uint8_t GetChannel() const
uint32_t GetSerial() const
std::vector< uint8_t > & GetExtCond()
std::vector< SysPoint > & GetTimes()
BmnMSCZSDigit(uint32_t serial=0, uint8_t channel=0, SysPoint time=SysPoint::min(), size_t size=0)
std::chrono::time_point< SysClock > SysPoint