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

#include <Logger.h>

Graphe d'héritage de Logger:

Fonctions membres publiques

 Logger ()
 
 Logger (USBDeviceClass &usb)
 
virtual void begin (unsigned long)
 
virtual void end (void)
 
virtual size_t write (uint8_t)
 
virtual size_t write (const uint8_t *buffer, size_t size)
 
virtual int available (void)
 
virtual int availableForWrite (void)
 
virtual int peek (void)
 
virtual int read (void)
 
virtual void flush (void)
 
size_t readBytes (char *buffer, size_t length)
 
size_t print (const __FlashStringHelper *, uint8_t type=MSG_TYPE_USER)
 
size_t print (const String &, uint8_t type=MSG_TYPE_USER)
 
size_t print (const char[], uint8_t type=MSG_TYPE_USER)
 
size_t print (char, uint8_t type=MSG_TYPE_USER)
 
size_t print (unsigned char, int=DEC, uint8_t type=MSG_TYPE_USER)
 
size_t print (int, int=DEC, uint8_t type=MSG_TYPE_USER)
 
size_t print (unsigned int, int=DEC, uint8_t type=MSG_TYPE_USER)
 
size_t print (long, int=DEC, uint8_t type=MSG_TYPE_USER)
 
size_t print (unsigned long, int=DEC, uint8_t type=MSG_TYPE_USER)
 
size_t print (double, int=2, uint8_t type=MSG_TYPE_USER)
 
size_t print (const Printable &, uint8_t type=MSG_TYPE_USER)
 
size_t println (const __FlashStringHelper *, uint8_t type=MSG_TYPE_USER)
 
size_t println (const String &, uint8_t type=MSG_TYPE_USER)
 
size_t println (const char[], uint8_t type=MSG_TYPE_USER)
 
size_t println (char, uint8_t type=MSG_TYPE_USER)
 
size_t println (unsigned char, int=DEC, uint8_t type=MSG_TYPE_USER)
 
size_t println (int, int=DEC, uint8_t type=MSG_TYPE_USER)
 
size_t println (unsigned int, int=DEC, uint8_t type=MSG_TYPE_USER)
 
size_t println (long, int=DEC, uint8_t type=MSG_TYPE_USER)
 
size_t println (unsigned long, int=DEC, uint8_t type=MSG_TYPE_USER)
 
size_t println (double, int=2, uint8_t type=MSG_TYPE_USER)
 
size_t println (const Printable &, uint8_t type=MSG_TYPE_USER)
 
size_t println (uint8_t type=MSG_TYPE_USER)
 
int getWriteError ()
 
void setUseProtocol (uint8_t value)
 
void receive ()
 
uint8_t checkForProtocolStart (uint16_t start, uint16_t len)
 
void setCbGetBricks (void(*cb)())
 
void setForcedType (bool force, int type)
 

Documentation des constructeurs et destructeur

◆ Logger() [1/2]

Logger::Logger ( )

◆ Logger() [2/2]

Logger::Logger ( USBDeviceClass &  usb)
inline

Documentation des fonctions membres

◆ available()

int Logger::available ( void  )
virtual

◆ availableForWrite()

int Logger::availableForWrite ( void  )
virtual

◆ begin()

void Logger::begin ( unsigned long  baudrate)
virtual

◆ checkForProtocolStart()

uint8_t Logger::checkForProtocolStart ( uint16_t  start,
uint16_t  len 
)

◆ end()

void Logger::end ( void  )
virtual

◆ flush()

void Logger::flush ( void  )
virtual

◆ getWriteError()

int Logger::getWriteError ( )

◆ peek()

int Logger::peek ( void  )
virtual

◆ print() [1/11]

size_t Logger::print ( const __FlashStringHelper *  strHelper,
uint8_t  type = MSG_TYPE_USER 
)

◆ print() [2/11]

size_t Logger::print ( const String &  str,
uint8_t  type = MSG_TYPE_USER 
)

◆ print() [3/11]

size_t Logger::print ( const char  str[],
uint8_t  type = MSG_TYPE_USER 
)

◆ print() [4/11]

size_t Logger::print ( char  c,
uint8_t  type = MSG_TYPE_USER 
)

◆ print() [5/11]

size_t Logger::print ( unsigned char  c,
int  base = DEC,
uint8_t  type = MSG_TYPE_USER 
)

◆ print() [6/11]

size_t Logger::print ( int  i,
int  base = DEC,
uint8_t  type = MSG_TYPE_USER 
)

◆ print() [7/11]

size_t Logger::print ( unsigned int  i,
int  base = DEC,
uint8_t  type = MSG_TYPE_USER 
)

◆ print() [8/11]

size_t Logger::print ( long  l,
int  base = DEC,
uint8_t  type = MSG_TYPE_USER 
)

◆ print() [9/11]

size_t Logger::print ( unsigned long  l,
int  base = DEC,
uint8_t  type = MSG_TYPE_USER 
)

◆ print() [10/11]

size_t Logger::print ( double  d,
int  digit = 2,
uint8_t  type = MSG_TYPE_USER 
)

◆ print() [11/11]

size_t Logger::print ( const Printable p,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [1/12]

size_t Logger::println ( const __FlashStringHelper *  strHelper,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [2/12]

size_t Logger::println ( const String &  str,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [3/12]

size_t Logger::println ( const char  str[],
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [4/12]

size_t Logger::println ( char  c,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [5/12]

size_t Logger::println ( unsigned char  c,
int  base = DEC,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [6/12]

size_t Logger::println ( int  i,
int  base = DEC,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [7/12]

size_t Logger::println ( unsigned int  i,
int  base = DEC,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [8/12]

size_t Logger::println ( long  l,
int  base = DEC,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [9/12]

size_t Logger::println ( unsigned long  l,
int  base = DEC,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [10/12]

size_t Logger::println ( double  d,
int  digit = 2,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [11/12]

size_t Logger::println ( const Printable p,
uint8_t  type = MSG_TYPE_USER 
)

◆ println() [12/12]

size_t Logger::println ( uint8_t  type = MSG_TYPE_USER)

◆ read()

int Logger::read ( void  )
virtual

◆ readBytes()

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

◆ receive()

void Logger::receive ( )

◆ setCbGetBricks()

void Logger::setCbGetBricks ( void(*)()  cb)

◆ setForcedType()

void Logger::setForcedType ( bool  force,
int  type 
)

◆ setUseProtocol()

void Logger::setUseProtocol ( uint8_t  value)

◆ write() [1/2]

size_t Logger::write ( uint8_t  data)
virtual

◆ write() [2/2]

size_t Logger::write ( const uint8_t *  buffer,
size_t  size 
)
virtual