Orion
high-rate readout
|
Callback interface for output. More...
#include <outcallback.hpp>
Public Member Functions | |
virtual | ~OutputCallback ()=default |
Destructor. | |
virtual void | out_init ()=0 |
Create a new stream and start a new event. | |
virtual void | out_next (uint8_t nbits)=0 |
Complete the event and start the next one. More... | |
virtual void | out_done (uint8_t nbits)=0 |
Complete the event and finalize the stream. More... | |
virtual void | out_data (uint64_t data)=0 |
Output 64-bit data word for current event. More... | |
virtual uint8_t | on_error (OutputError error)=0 |
Callback on encoding error. More... | |
Callback interface for output.
|
pure virtual |
Callback on encoding error.
error | - event error |
Implemented in itk::itkpix::endec::orion::OutputCallback< T >, and itk::itkpix::endec::dummy::OutputCallback.
|
pure virtual |
Output 64-bit data word for current event.
data | - 64 bit data frame |
Implemented in itk::itkpix::endec::orion::OutputCallback< T >, and itk::itkpix::endec::dummy::OutputCallback.
|
pure virtual |
Complete the event and finalize the stream.
nbits | - number of output bits of the last event, all padding bits are filled with zeroes. |
Implemented in itk::itkpix::endec::orion::OutputCallback< T >, and itk::itkpix::endec::dummy::OutputCallback.
|
pure virtual |
Complete the event and start the next one.
nbits | - number of output bits of the completed event. |
Implemented in itk::itkpix::endec::orion::OutputCallback< T >, and itk::itkpix::endec::dummy::OutputCallback.