24 #ifndef SKA_CHEETAH_DATA_DMTIME_H 25 #define SKA_CHEETAH_DATA_DMTIME_H 27 #include "cheetah/data/detail/DmTimeSlice.h" 28 #include "cheetah/utils/Architectures.h" 29 #include "panda/DataChunk.h" 38 template <
typename DmTimeType>
90 template <
typename DmTrialsType>
92 :
public panda::DataChunk<DmTime<DmTrialsType>>
95 typedef DmTime<DmTrialsType> SelfType;
98 typedef std::list<std::shared_ptr<DmTrialsType>> ContainerType;
99 typedef std::shared_ptr<DmTrialsType> ValueType;
100 typedef detail::DmTimeSlice<SelfType> SliceType;
101 typedef detail::DmTimeIterator<SelfType> Iterator;
102 typedef detail::DmTimeIterator<SelfType const> ConstIterator;
115 void add(ValueType data);
129 Iterator begin(std::size_t number_dms_per_slice);
130 ConstIterator cbegin(std::size_t number_dms_per_slice)
const;
138 ConstIterator cend()
const;
145 ContainerType
const& blocks()
const;
146 ContainerType& blocks();
152 friend panda::DataChunk<SelfType>;
163 #include "cheetah/data/detail/DmTimeIterator.h" 164 #include "cheetah/data/detail/DmTime.cpp" 166 #endif // SKA_CHEETAH_DATA_DMTIME_H Some limits and constants for FLDO.