RTT::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::StreamProcessor< Stream >

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.


Constructor & Destructor Documentation

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

Create a StreamProcessor.

Parameters:
_s The stream to be processed.

Definition at line 56 of file StreamProcessor.hpp.

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

Create a StreamProcessor.

Parameters:
_s The stream to be processed.

Definition at line 64 of file StreamProcessor.hpp.


Member Function Documentation

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

Get the current Stream.

Returns:
The current Stream.

Definition at line 81 of file StreamProcessor.hpp.

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

Set a new Stream.

Parameters:
_s The stream to be processed.

Definition at line 72 of file StreamProcessor.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 23 13:22:43 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3