Orocos Real-Time Toolkit
2.8.3
|
An basic_ostreams is a stream which can be written to. More...
#include <rtt/os/rtstreams.hpp>
Public Types | |
typedef streambufs::streamsize | streamsize |
Public Member Functions | |
basic_ostreams (streambufs &s) | |
virtual | ~basic_ostreams () |
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 &)) |
An basic_ostreams is a stream which can be written to.
Read operations will have no effect.
Definition at line 145 of file rtstreams.hpp.
Definition at line 149 of file rtstreams.hpp.
|
inline |
Definition at line 151 of file rtstreams.hpp.
References RTT::os::endl(), and RTT::operator<<().
|
virtual |
Definition at line 236 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | int | i | ) |
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().
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | long | i | ) |
Definition at line 122 of file rtstreams.cpp.
References int_to_string().
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | char | c | ) |
Definition at line 129 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | char * | c | ) |
Definition at line 135 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | double | f | ) |
Definition at line 146 of file rtstreams.cpp.
References float_to_string().
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | std::string | s | ) |
Definition at line 153 of file rtstreams.cpp.
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | unsigned int | u | ) |
Definition at line 159 of file rtstreams.cpp.
References unsigned_int_to_string().
basic_ostreams & RTT::os::basic_ostreams::operator<< | ( | basic_ostreams &(*)(basic_ostreams &) | f | ) |
Definition at line 141 of file rtstreams.cpp.
|
virtual |
Definition at line 56 of file rtstreams.cpp.
|
virtual |
Definition at line 50 of file rtstreams.cpp.