OpenMPTL - Helper Library
C++ Microprocessor Template Library
Public Types | Public Member Functions | List of all members
mptl::fifo_stream< fifoT, deviceT > Class Template Reference

#include <fifo_stream.hpp>

Inheritance diagram for mptl::fifo_stream< fifoT, deviceT >:
poorman::ostream< fifoT::char_type >

Public Types

using char_type = typename fifoT::char_type
 
- Public Types inherited from poorman::ostream< fifoT::char_type >
using char_type = fifoT::char_type
 

Public Member Functions

 fifo_stream (fifoT &f)
 
poorman::ostream< char_type > & put (char_type c)
 
poorman::ostream< char_type > & write (const char_type *s, unsigned int count)
 
poorman::ostream< char_type > & puts (const char_type *s)
 
poorman::ostream< char_type > & flush ()
 
poorman::ostream< char_type > & endl ()
 
- Public Member Functions inherited from poorman::ostream< fifoT::char_type >
virtual ostreamput (char_type c)=0
 
virtual ostreamputs (const char_type *s)=0
 
virtual ostreamwrite (const char_type *s, unsigned int count)=0
 
std::enable_if< std::is_integral< valT >::value, ostream &>::type friend operator<< (ostream &st, valT val)
 hexadecimal output of any integral type More...
 
ostreamoperator<< (ostream &(*func)(ostream &))
 

Member Typedef Documentation

◆ char_type

template<typename fifoT, typename deviceT>
using mptl::fifo_stream< fifoT, deviceT >::char_type = typename fifoT::char_type

Constructor & Destructor Documentation

◆ fifo_stream()

template<typename fifoT, typename deviceT>
mptl::fifo_stream< fifoT, deviceT >::fifo_stream ( fifoT &  f)
inline

Member Function Documentation

◆ endl()

template<typename fifoT, typename deviceT>
poorman::ostream<char_type>& mptl::fifo_stream< fifoT, deviceT >::endl ( )
inlinevirtual

◆ flush()

template<typename fifoT, typename deviceT>
poorman::ostream<char_type>& mptl::fifo_stream< fifoT, deviceT >::flush ( )
inlinevirtual

◆ put()

template<typename fifoT, typename deviceT>
poorman::ostream<char_type>& mptl::fifo_stream< fifoT, deviceT >::put ( char_type  c)
inline

◆ puts()

template<typename fifoT, typename deviceT>
poorman::ostream<char_type>& mptl::fifo_stream< fifoT, deviceT >::puts ( const char_type s)
inline

◆ write()

template<typename fifoT, typename deviceT>
poorman::ostream<char_type>& mptl::fifo_stream< fifoT, deviceT >::write ( const char_type s,
unsigned int  count 
)
inline

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