Orocos Real-Time Toolkit  2.6.0
Public Member Functions | Protected Attributes
RTT::marsh::StreamProcessor< Stream > Class Template Reference

An interface for setting and getting a stream object. More...

#include <rtt/marsh/StreamProcessor.hpp>

List of all members.

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

Detailed Description

template<class Stream>
class RTT::marsh::StreamProcessor< Stream >

An interface for setting and getting a stream object.

This can be a file, a string buffer,...

Definition at line 50 of file StreamProcessor.hpp.


Constructor & Destructor Documentation

template<class Stream>
RTT::marsh::StreamProcessor< Stream >::StreamProcessor ( Stream &  _s) [inline]

Create a StreamProcessor.

Parameters:
_sThe stream to be processed.

Definition at line 57 of file StreamProcessor.hpp.

template<class Stream>
RTT::marsh::StreamProcessor< Stream >::StreamProcessor ( Stream *  _s) [inline]

Create a StreamProcessor.

Parameters:
_sThe stream to be processed.

Definition at line 65 of file StreamProcessor.hpp.


Member Function Documentation

template<class Stream>
Stream& RTT::marsh::StreamProcessor< Stream >::getStream ( ) [inline]

Get the current Stream.

Returns:
The current Stream.

Definition at line 82 of file StreamProcessor.hpp.

template<class Stream>
void RTT::marsh::StreamProcessor< Stream >::setStream ( Stream &  _s) [inline]

Set a new Stream.

Parameters:
_sThe stream to be processed.

Definition at line 73 of file StreamProcessor.hpp.


The documentation for this class was generated from the following file: