The printstream is a stream for printing characters to the terminal window. More...
#include <rtt/os/rtstreams.hpp>
Public Types | |
typedef streambufs::streamsize | streamsize |
Public Member Functions | |
virtual basic_ostreams & | put (char c) |
virtual basic_ostreams & | write (const char *c, streamsize n) |
basic_ostreams & | operator<< (int i) |
Operators. | |
basic_ostreams & | operator<< (long i) |
basic_ostreams & | operator<< (char c) |
basic_ostreams & | operator<< (char *c) |
basic_ostreams & | operator<< (double f) |
basic_ostreams & | operator<< (std::string s) |
basic_ostreams & | operator<< (unsigned int u) |
basic_ostreams & | operator<< (basic_ostreams &(*f)(basic_ostreams &)) |
Private Attributes | |
printbufs | printer |
The printstream is a stream for printing characters to the terminal window.
It mimics the behaviour of iostreams cout.
Definition at line 199 of file rtstreams.hpp.
basic_ostreams& RTT::rt_std::basic_ostreams::operator<< | ( | int | i | ) | [inherited] |
Operators.
These can not be virtual, so each one calls the appropriate read or write method defined above.