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

Public Member Functions

 OutputCallback (T &cb)
 
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...
 
- Public Member Functions inherited from itk::itkpix::endec::intf::OutputCallback
virtual ~OutputCallback ()=default
 Destructor.
 

Member Function Documentation

◆ on_error()

template<typename T >
uint8_t itk::itkpix::endec::orion::OutputCallback< T >::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()

template<typename T >
void itk::itkpix::endec::orion::OutputCallback< T >::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()

template<typename T >
void itk::itkpix::endec::orion::OutputCallback< T >::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()

template<typename T >
void itk::itkpix::endec::orion::OutputCallback< T >::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: