1 #ifndef dune_artdaq_Overlays_PennMilliSliceWriter_hh 2 #define dune_artdaq_Overlays_PennMilliSliceWriter_hh 8 class PennMilliSliceWriter;
25 #ifdef PENN_DONT_REBLOCK_USLICES 26 std::shared_ptr<PennMicroSliceWriter> reserveMicroSlice(uint32_t ms_max_bytes);
36 int32_t
finalize(
bool override =
false, uint32_t data_size_bytes = 0,
37 #ifdef PENN_DONT_REBLOCK_USLICES
38 uint32_t microslice_count = 0,
40 uint16_t sequence_id = 0,
41 uint16_t payload_count = 0, uint16_t payload_count_counter = 0,
42 uint16_t payload_count_trigger = 0, uint16_t payload_count_timestamp = 0,
43 uint64_t end_timestamp = 0, uint32_t width_in_ticks = 0, uint32_t overlap_in_ticks = 0);
PennMilliSliceWriter(uint8_t *address, uint32_t max_size_bytes)
int32_t finalize(bool override=false, uint32_t data_size_bytes=0, uint16_t sequence_id=0, uint16_t payload_count=0, uint16_t payload_count_counter=0, uint16_t payload_count_trigger=0, uint16_t payload_count_timestamp=0, uint64_t end_timestamp=0, uint32_t width_in_ticks=0, uint32_t overlap_in_ticks=0)
std::shared_ptr< PennMicroSliceWriter > latest_microslice_ptr_
void finalizeLatestMicroSlice_()
uint8_t * data_(int index)