Orion
high-rate readout
Public Member Functions | List of all members
itk::itkpix::endec::dummy::OutputCallback Class Reference
Inheritance diagram for itk::itkpix::endec::dummy::OutputCallback:
Inheritance graph
[legend]
Collaboration diagram for itk::itkpix::endec::dummy::OutputCallback:
Collaboration graph
[legend]

Public Member Functions

void out_init () override
 Create a new stream and start a new event.
 
void out_next (uint8_t nbits) override
 Complete the event and start the next one. More...
 
void out_done (uint8_t nbits) override
 Complete the event and finalize the stream. More...
 
void out_data (uint64_t data) override
 Output 64-bit data word for current event. More...
 
uint8_t on_error (OutputError error) override
 Callback on encoding error. More...
 

Member Function Documentation

◆ on_error()

uint8_t itk::itkpix::endec::dummy::OutputCallback::on_error ( OutputError  error)
inlineoverridevirtual

Callback on encoding error.

Parameters
error- event error
Returns
- feedback on error, 0 - continue decoding, 1 - drop the rest of the event

Implements itk::itkpix::endec::intf::OutputCallback.

◆ out_data()

void itk::itkpix::endec::dummy::OutputCallback::out_data ( uint64_t  data)
inlineoverridevirtual

Output 64-bit data word for current event.

Parameters
data- 64 bit data frame

Implements itk::itkpix::endec::intf::OutputCallback.

◆ out_done()

void itk::itkpix::endec::dummy::OutputCallback::out_done ( uint8_t  nbits)
inlineoverridevirtual

Complete the event and finalize the stream.

Parameters
nbits- number of output bits of the last event, all padding bits are filled with zeroes.

Implements itk::itkpix::endec::intf::OutputCallback.

◆ out_next()

void itk::itkpix::endec::dummy::OutputCallback::out_next ( uint8_t  nbits)
inlineoverridevirtual

Complete the event and start the next one.

Parameters
nbits- number of output bits of the completed event.

Implements itk::itkpix::endec::intf::OutputCallback.


The documentation for this class was generated from the following file: