Orocos Real-Time Toolkit 2.6.0
(Almost) Real-Time output streams. More...
|This is a stream class for use in limited environments. More...|
|An basic_istream is a stream which can be read. More...|
|An basic_ostreams is a stream which can be written to. More...|
|An IO stream based on strings. More...|
|The printstream is a stream for printing characters to the terminal window. More...|
|Stringstreams, are not guaranteed to be hard realtime. More...|
OS Abstractions such as Mutexes, Semaphores and Threads.
|basic_ostreams &||RTT::os::endl (basic_ostreams &)|
|Flush and newline. |
(Almost) Real-Time output streams.
If you really have to print something out from a RealTime thread, you can use the streams of the os namespace, which will call the rtos_printf functions (which are supposed to be as realtime as possible) of the OS you are using. Be warned, these classes have not been tested extensively and might in certain cases still break hard-realtime behaviour. avoid using it from your most critical threads and production code.
Definition in file rtstreams.hpp.