#include <PennMilliSliceWriter.hh>
|
| 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) |
|
| PennMilliSlice (uint8_t *address) |
|
Header::millislice_size_t | size () const |
|
Header::sequence_id_t | sequenceID () const |
|
Header::version_t | version () const |
|
Header::timestamp_t | endTimestamp () const |
|
Header::ticks_t | widthTicks () const |
|
Header::ticks_t | overlapTicks () const |
|
Header::payload_count_t | payloadCount () const |
|
Header::payload_count_t | payloadCount (Header::payload_count_t &counter, Header::payload_count_t &trigger, Header::payload_count_t ×tamp ) const |
|
uint8_t * | payload (uint32_t index, dune::PennMicroSlice::Payload_Header::data_packet_type_t &data_packet_type, dune::PennMicroSlice::Payload_Header::short_nova_timestamp_t &short_nova_timestamp, size_t &payload_size) const |
|
uint8_t * | payload (uint32_t index, dune::PennMicroSlice::Payload_Header *&data_header) const |
|
uint8_t * | get_next_payload (uint32_t &index, dune::PennMicroSlice::Payload_Header::data_packet_type_t &data_packet_type, dune::PennMicroSlice::Payload_Header::short_nova_timestamp_t &short_nova_timestamp, size_t &payload_size) |
|
uint8_t * | get_next_payload (uint32_t &index, dune::PennMicroSlice::Payload_Header *&data_header) |
|
uint8_t * | get_next_timestamp (dune::PennMicroSlice::Payload_Header *&data_header) |
|
Definition at line 11 of file PennMilliSliceWriter.hh.
dune::PennMilliSliceWriter::PennMilliSliceWriter |
( |
uint8_t * |
address, |
|
|
uint32_t |
max_size_bytes |
|
) |
| |
uint8_t * dune::PennMilliSliceWriter::data_ |
( |
int |
index | ) |
|
|
protected |
Definition at line 102 of file PennMilliSliceWriter.cc.
104 uint8_t* ms_ptr =
buffer_ +
sizeof(Header);
105 for (
int idx = 0; idx <
index; ++idx) {
106 PennMicroSlice tmp_ms(ms_ptr);
107 ms_ptr += tmp_ms.size();
int32_t dune::PennMilliSliceWriter::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 |
|
) |
| |
Definition at line 42 of file PennMilliSliceWriter.cc.
58 #ifdef PENN_DONT_REBLOCK_USLICES 59 header_()->microslice_count = microslice_count;
71 #ifdef ENABLE_PENNMILLISLICE_CHECKSUM 75 *(
reinterpret_cast<dune::PennMilliSliceWriter::checksum_t *
>(end_ptr)) = calculateChecksum();
void finalizeLatestMicroSlice_()
void dune::PennMilliSliceWriter::finalizeLatestMicroSlice_ |
( |
| ) |
|
|
protected |
Definition at line 85 of file PennMilliSliceWriter.cc.
88 #ifdef PENN_DONT_REBLOCK_USLICES
89 header_()->microslice_count > 0 &&
std::shared_ptr< PennMicroSliceWriter > latest_microslice_ptr_
uint32_t dune::PennMilliSliceWriter::max_size_bytes_ |
|
protected |
The documentation for this class was generated from the following files: