An interface for setting and getting a stream object. More...
#include <rtt/marsh/StreamProcessor.hpp>
Public Member Functions | |
StreamProcessor (Stream &_s) | |
Create a StreamProcessor. | |
StreamProcessor (Stream *_s) | |
Create a StreamProcessor. | |
void | setStream (Stream &_s) |
Set a new Stream. | |
Stream & | getStream () |
Get the current Stream. | |
Protected Attributes | |
Stream * | s |
An interface for setting and getting a stream object.
This can be a file, a string buffer,...
Definition at line 49 of file StreamProcessor.hpp.
RTT::StreamProcessor< Stream >::StreamProcessor | ( | Stream & | _s | ) | [inline] |
Create a StreamProcessor.
_s | The stream to be processed. |
Definition at line 56 of file StreamProcessor.hpp.
RTT::StreamProcessor< Stream >::StreamProcessor | ( | Stream * | _s | ) | [inline] |
Create a StreamProcessor.
_s | The stream to be processed. |
Definition at line 64 of file StreamProcessor.hpp.
Stream& RTT::StreamProcessor< Stream >::getStream | ( | ) | [inline] |
Get the current Stream.
Definition at line 81 of file StreamProcessor.hpp.
void RTT::StreamProcessor< Stream >::setStream | ( | Stream & | _s | ) | [inline] |
Set a new Stream.
_s | The stream to be processed. |
Definition at line 72 of file StreamProcessor.hpp.