Classes | Fonctions membres publiques | Liste de tous les membres
Référence de la classe Streamabstract

#include <Stream.h>

Graphe d'héritage de Stream:
Print Client HardwareSerial I2SClass TwoWire UDP WiFiEspClient Uart WiFiEspUDP Wifi UartDummy

Fonctions membres publiques

virtual int available ()=0
 
virtual int read ()=0
 
virtual int peek ()=0
 
 Stream ()
 
void setTimeout (unsigned long timeout)
 
unsigned long getTimeout (void)
 
bool find (char *target)
 
bool find (uint8_t *target)
 
bool find (char *target, size_t length)
 
bool find (uint8_t *target, size_t length)
 
bool find (char target)
 
bool findUntil (char *target, char *terminator)
 
bool findUntil (uint8_t *target, char *terminator)
 
bool findUntil (char *target, size_t targetLen, char *terminate, size_t termLen)
 
bool findUntil (uint8_t *target, size_t targetLen, char *terminate, size_t termLen)
 
long parseInt (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
float parseFloat (LookaheadMode lookahead=SKIP_ALL, char ignore=NO_IGNORE_CHAR)
 
size_t readBytes (char *buffer, size_t length)
 
size_t readBytes (uint8_t *buffer, size_t length)
 
size_t readBytesUntil (char terminator, char *buffer, size_t length)
 
size_t readBytesUntil (char terminator, uint8_t *buffer, size_t length)
 
String readString ()
 
String readStringUntil (char terminator)
 
- Fonctions membres publiques hérités de Print
 Print ()
 
int getWriteError ()
 
void clearWriteError ()
 
virtual size_t write (uint8_t)=0
 
size_t write (const char *str)
 
virtual size_t write (const uint8_t *buffer, size_t size)
 
size_t write (const char *buffer, size_t size)
 
virtual int availableForWrite ()
 
size_t print (const __FlashStringHelper *)
 
size_t print (const String &)
 
size_t print (const char[])
 
size_t print (char)
 
size_t print (unsigned char, int=DEC)
 
size_t print (int, int=DEC)
 
size_t print (unsigned int, int=DEC)
 
size_t print (long, int=DEC)
 
size_t print (unsigned long, int=DEC)
 
size_t print (double, int=2)
 
size_t print (const Printable &)
 
size_t println (const __FlashStringHelper *)
 
size_t println (const String &s)
 
size_t println (const char[])
 
size_t println (char)
 
size_t println (unsigned char, int=DEC)
 
size_t println (int, int=DEC)
 
size_t println (unsigned int, int=DEC)
 
size_t println (long, int=DEC)
 
size_t println (unsigned long, int=DEC)
 
size_t println (double, int=2)
 
size_t println (const Printable &)
 
size_t println (void)
 
virtual void flush ()
 

Documentation des constructeurs et destructeur

◆ Stream()

Stream::Stream ( )
inline

Documentation des fonctions membres

◆ available()

virtual int Stream::available ( )
pure virtual

◆ find() [1/5]

bool Stream::find ( char *  target)

◆ find() [2/5]

bool Stream::find ( uint8_t *  target)
inline

◆ find() [3/5]

bool Stream::find ( char *  target,
size_t  length 
)

◆ find() [4/5]

bool Stream::find ( uint8_t *  target,
size_t  length 
)
inline

◆ find() [5/5]

bool Stream::find ( char  target)
inline

◆ findUntil() [1/4]

bool Stream::findUntil ( char *  target,
char *  terminator 
)

◆ findUntil() [2/4]

bool Stream::findUntil ( uint8_t *  target,
char *  terminator 
)
inline

◆ findUntil() [3/4]

bool Stream::findUntil ( char *  target,
size_t  targetLen,
char *  terminate,
size_t  termLen 
)

◆ findUntil() [4/4]

bool Stream::findUntil ( uint8_t *  target,
size_t  targetLen,
char *  terminate,
size_t  termLen 
)
inline

◆ getTimeout()

unsigned long Stream::getTimeout ( void  )
inline

◆ parseFloat()

float Stream::parseFloat ( LookaheadMode  lookahead = SKIP_ALL,
char  ignore = NO_IGNORE_CHAR 
)

◆ parseInt()

long Stream::parseInt ( LookaheadMode  lookahead = SKIP_ALL,
char  ignore = NO_IGNORE_CHAR 
)

◆ peek()

virtual int Stream::peek ( )
pure virtual

◆ read()

virtual int Stream::read ( )
pure virtual

◆ readBytes() [1/2]

size_t Stream::readBytes ( char *  buffer,
size_t  length 
)

◆ readBytes() [2/2]

size_t Stream::readBytes ( uint8_t *  buffer,
size_t  length 
)
inline

◆ readBytesUntil() [1/2]

size_t Stream::readBytesUntil ( char  terminator,
char *  buffer,
size_t  length 
)

◆ readBytesUntil() [2/2]

size_t Stream::readBytesUntil ( char  terminator,
uint8_t *  buffer,
size_t  length 
)
inline

◆ readString()

String Stream::readString ( )

◆ readStringUntil()

String Stream::readStringUntil ( char  terminator)

◆ setTimeout()

void Stream::setTimeout ( unsigned long  timeout)