#include <MilliSliceFragmentWriter.hh>
Definition at line 11 of file MilliSliceFragmentWriter.hh.
dune::MilliSliceFragmentWriter::MilliSliceFragmentWriter |
( |
artdaq::Fragment & |
frag, |
|
|
uint32_t |
max_size_bytes |
|
) |
| |
Definition at line 5 of file MilliSliceFragmentWriter.cc.
MilliSliceFragment(artdaq::Fragment const &frag)
artdaq::Fragment & artdaq_fragment_
uint8_t * dune::MilliSliceFragmentWriter::data_ |
( |
int |
index | ) |
|
|
protected |
Definition at line 61 of file MilliSliceFragmentWriter.cc.
63 uint8_t* ms_ptr =
reinterpret_cast<uint8_t *
>(
artdaq_fragment_.dataBeginBytes())
65 for (
int idx = 0; idx <
index; ++idx) {
66 MicroSlice tmp_ms(ms_ptr);
67 ms_ptr += tmp_ms.size();
artdaq::Fragment & artdaq_fragment_
int32_t dune::MilliSliceFragmentWriter::finalize |
( |
| ) |
|
void dune::MilliSliceFragmentWriter::finalizeLatestMicroSlice_ |
( |
| ) |
|
|
protected |
std::shared_ptr< dune::MicroSliceWriter > dune::MilliSliceFragmentWriter::reserveMicroSlice |
( |
uint32_t |
ms_max_bytes | ) |
|
Definition at line 14 of file MilliSliceFragmentWriter.cc.
22 throw cet::exception(
"MicroSliceWriter") <<
"Slice overflow error";
void finalizeLatestMicroSlice_()
uint8_t * data_(int index)
std::shared_ptr< MicroSliceWriter > latest_microslice_ptr_
Header::millislice_size_t size() const
cet::coded_exception< error, detail::translate > exception
artdaq::Fragment& dune::MilliSliceFragmentWriter::artdaq_fragment_ |
|
private |
std::shared_ptr<MicroSliceWriter> dune::MilliSliceFragmentWriter::latest_microslice_ptr_ |
|
protected |
uint32_t dune::MilliSliceFragmentWriter::max_size_bytes_ |
|
protected |
The documentation for this class was generated from the following files: