Orocos Real-Time Toolkit
2.8.3
|
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 | |
printstream () | |
virtual | ~printstream () |
virtual basic_ostreams & | put (char c) |
virtual basic_ostreams & | write (const char *c, streamsize n) |
basic_ostreams & | operator<< (int i) |
Operators. More... | |
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 200 of file rtstreams.hpp.
|
inherited |
Definition at line 149 of file rtstreams.hpp.
|
inline |
Definition at line 205 of file rtstreams.hpp.
References RTT::os::cout.
|
virtual |
Definition at line 240 of file rtstreams.cpp.
|
inherited |
Operators.
These can not be virtual, so each one calls the appropriate read or write method defined above.
Definition at line 115 of file rtstreams.cpp.
References int_to_string().
|
inherited |
Definition at line 122 of file rtstreams.cpp.
References int_to_string().
|
inherited |
Definition at line 129 of file rtstreams.cpp.
|
inherited |
Definition at line 135 of file rtstreams.cpp.
|
inherited |
Definition at line 146 of file rtstreams.cpp.
References float_to_string().
|
inherited |
Definition at line 153 of file rtstreams.cpp.
|
inherited |
Definition at line 159 of file rtstreams.cpp.
References unsigned_int_to_string().
|
inherited |
Definition at line 141 of file rtstreams.cpp.
|
virtualinherited |
Definition at line 56 of file rtstreams.cpp.
|
virtualinherited |
Definition at line 50 of file rtstreams.cpp.