Orocos Real-Time Toolkit  2.5.0
Classes | Namespaces | Defines | Functions
rtstreams.hpp File Reference

(Almost) Real-Time output streams. More...

#include "fosi.h"
#include "rtconversions.hpp"
#include "rtstreambufs.hpp"

Go to the source code of this file.

Classes

class  RTT::os::basic_streams
 This is a stream class for use in limited environments. More...
class  RTT::os::basic_istreams
 An basic_istream is a stream which can be read. More...
class  RTT::os::basic_ostreams
 An basic_ostreams is a stream which can be written to. More...
class  RTT::os::basic_iostreams
 An IO stream based on strings. More...
class  RTT::os::printstream
 The printstream is a stream for printing characters to the terminal window. More...
class  RTT::os::stringstreams
 Stringstreams, are not guaranteed to be hard realtime. More...

Namespaces

namespace  RTT
 

Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.


namespace  RTT::os
 

OS Abstractions such as Mutexes, Semaphores and Threads.


Functions

basic_ostreams & RTT::os::endl (basic_ostreams &)
 Flush and newline.

Detailed Description

(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.