Compute Library
 21.05
IImageDataFeeder Class Referenceabstract

Image feeder interface. More...

#include <ImageLoader.h>

Public Member Functions

virtual ~IImageDataFeeder ()=default
 Virtual base destructor. More...
 
virtual uint8_t get ()=0
 Gets a character from an image feed. More...
 
virtual void get_row (uint8_t *dst, size_t row_size)=0
 Feed a whole row to a destination pointer. More...
 

Detailed Description

Image feeder interface.

Definition at line 49 of file ImageLoader.h.

Constructor & Destructor Documentation

◆ ~IImageDataFeeder()

virtual ~IImageDataFeeder ( )
virtualdefault

Virtual base destructor.

Member Function Documentation

◆ get()

virtual uint8_t get ( )
pure virtual

Gets a character from an image feed.

Implemented in MemoryImageFeeder, and FileImageFeeder.

◆ get_row()

virtual void get_row ( uint8_t *  dst,
size_t  row_size 
)
pure virtual

Feed a whole row to a destination pointer.

Parameters
[out]dstDestination pointer
[in]row_sizeRow size in terms of bytes

Implemented in MemoryImageFeeder, and FileImageFeeder.


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