Static Public Member Functions | Private Member Functions | List of all members
uavcan::OStream Class Reference

#include <ostream.hpp>

Inheritance diagram for uavcan::OStream:
Inheritance graph
[legend]

Static Public Member Functions

static OStreamendl (OStream &stream)
 
static OStreaminstance ()
 

Private Member Functions

 OStream ()
 
- Private Member Functions inherited from uavcan::Noncopyable
 Noncopyable ()
 
 ~Noncopyable ()
 

Detailed Description

Compact replacement for std::ostream for use on embedded systems. Can be used for printing UAVCAN messages to stdout.

Relevant discussion: https://groups.google.com/forum/#!topic/px4users/6c1CLNutN90

Usage: OStream::instance() << "Hello world!" << OStream::endl;

Definition at line 22 of file ostream.hpp.

Constructor & Destructor Documentation

◆ OStream()

uavcan::OStream::OStream ( )
inlineprivate

Definition at line 24 of file ostream.hpp.

Member Function Documentation

◆ endl()

static OStream& uavcan::OStream::endl ( OStream stream)
inlinestatic

Definition at line 33 of file ostream.hpp.

◆ instance()

static OStream& uavcan::OStream::instance ( )
inlinestatic

Definition at line 27 of file ostream.hpp.


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


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:05