#include <MilliSliceWriter.hh>
Definition at line 11 of file MilliSliceWriter.hh.
dune::MilliSliceWriter::MilliSliceWriter |
( |
uint8_t * |
address, |
|
|
uint32_t |
max_size_bytes |
|
) |
| |
uint8_t * dune::MilliSliceWriter::data_ |
( |
int |
index | ) |
|
|
protected |
Definition at line 61 of file MilliSliceWriter.cc.
63 uint8_t* ms_ptr =
buffer_ +
sizeof(Header);
64 for (
int idx = 0; idx <
index; ++idx) {
65 MicroSlice tmp_ms(ms_ptr);
66 ms_ptr += tmp_ms.size();
int32_t dune::MilliSliceWriter::finalize |
( |
| ) |
|
void dune::MilliSliceWriter::finalizeLatestMicroSlice_ |
( |
| ) |
|
|
protected |
Definition at line 47 of file MilliSliceWriter.cc.
49 if (
header_()->microslice_count > 0 &&
std::shared_ptr< MicroSliceWriter > latest_microslice_ptr_
Definition at line 14 of file MilliSliceWriter.cc.
22 throw cet::exception(
"MilliSliceWriter") <<
"Slice overflow error";
uint8_t * data_(int index)
void finalizeLatestMicroSlice_()
std::shared_ptr< MicroSliceWriter > latest_microslice_ptr_
Header::millislice_size_t size() const
cet::coded_exception< error, detail::translate > exception
std::shared_ptr<MicroSliceWriter> dune::MilliSliceWriter::latest_microslice_ptr_ |
|
protected |
uint32_t dune::MilliSliceWriter::max_size_bytes_ |
|
protected |
The documentation for this class was generated from the following files: