Orocos Real-Time Toolkit  2.8.3
Public Member Functions | Protected Attributes | List of all members
RTT::marsh::StreamProcessor< Stream > Class Template Reference

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

#include <rtt/marsh/rtt-marsh-fwd.hpp>

Public Member Functions

 StreamProcessor (Stream &_s)
 Create a StreamProcessor. More...
 
 StreamProcessor (Stream *_s)
 Create a StreamProcessor. More...
 
void setStream (Stream &_s)
 Set a new Stream. More...
 
Stream & getStream ()
 Get the current Stream. More...
 

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 19 of file rtt-marsh-fwd.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.

Member Data Documentation

template<class Stream>
Stream* RTT::marsh::StreamProcessor< Stream >::s
protected

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