2 #include "cetlib_except/exception.h" 6 MilliSlice(address), max_size_bytes_(max_size_bytes)
13 std::shared_ptr<dune::MicroSliceWriter>
22 throw cet::exception(
"MilliSliceWriter") <<
"Slice overflow error";
49 if (
header_()->microslice_count > 0 &&
64 for (
int idx = 0; idx <
index; ++idx) {
66 ms_ptr += tmp_ms.
size();
uint8_t * data_(int index)
Header::microslice_size_t size() const
MilliSliceWriter(uint8_t *address, uint32_t max_size_bytes)
void finalizeLatestMicroSlice_()
std::shared_ptr< MicroSliceWriter > reserveMicroSlice(uint32_t ms_max_bytes)
std::shared_ptr< MicroSliceWriter > latest_microslice_ptr_
Header::millislice_size_t size() const
cet::coded_exception< error, detail::translate > exception