Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
ascii_string_writer< size > Class Template Reference

generic helper class for ASCII output More...

#include <serial_io.h>

Inheritance diagram for ascii_string_writer< size >:
Collaboration diagram for ascii_string_writer< size >:

Public Member Functions

 ascii_string_writer (void)
 
void put (char c)
 
void puts (char *c)
 
void putf (float value)
 
const charget_content (void)
 
- Public Member Functions inherited from serial_output
void puti (int value, int base=10)
 
void putx (int32_t value, uint8_t digits=8)
 
void putf (float value)
 
virtual void puts (const char *data)
 
void newline (void)
 
void blank (void)
 

Detailed Description

template<unsigned size>
class ascii_string_writer< size >

generic helper class for ASCII output

Definition at line 70 of file serial_io.h.

Constructor & Destructor Documentation

◆ ascii_string_writer()

Definition at line 73 of file serial_io.h.

Member Function Documentation

◆ get_content()

template<unsigned size>
const char * ascii_string_writer< size >::get_content ( void  )
inline

Definition at line 99 of file serial_io.h.

◆ put()

template<unsigned size>
void ascii_string_writer< size >::put ( char  c)
inlinevirtual

Reimplemented from serial_output.

Definition at line 78 of file serial_io.h.

◆ putf()

template<unsigned size>
void ascii_string_writer< size >::putf ( float  value)
inline

Definition at line 91 of file serial_io.h.

References ftoa().

◆ puts()

template<unsigned size>
void ascii_string_writer< size >::puts ( char c)
inline

Definition at line 85 of file serial_io.h.


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