YModemTx::InStream Class Reference

#include <ymodem_tx.h>

Inheritance diagram for YModemTx::InStream:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int In (uint8_t *data, size_t size)=0
virtual ~InStream ()

Detailed Description

Abstract class representing a stream of data being read.

Definition at line 51 of file ymodem_tx.h.


Constructor & Destructor Documentation

virtual YModemTx::InStream::~InStream (  )  [virtual]

Empty destructor to avoid compiler warnings.

Definition at line 67 of file ymodem_tx.h.


Member Function Documentation

virtual int YModemTx::InStream::In ( uint8_t data,
size_t  size 
) [pure virtual]

Read data from the stream.

Parameters:
[out] data Pointer to buffer to hold data read from stream.
size Maximum size of data to read.
Returns:
Number of bytes successfully read, or a negative error value if failed.

Implemented in InFile.


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

Generated by  doxygen 1.6.1