RTT::types::StreamFactory Class Reference

#include <StreamFactory.hpp>

Inheritance diagram for RTT::types::StreamFactory:
Inheritance graph

List of all members.

Public Member Functions

Conversion to/from text

Used to convert data to human readable text and vice versa.

virtual std::ostream & write (std::ostream &os, base::DataSourceBase::shared_ptr in) const =0
virtual std::istream & read (std::istream &os, base::DataSourceBase::shared_ptr out) const =0
virtual std::string toString (base::DataSourceBase::shared_ptr in) const
virtual bool fromString (const std::string &value, base::DataSourceBase::shared_ptr out) const
virtual bool isStreamable () const =0

Detailed Description

Definition at line 16 of file StreamFactory.hpp.

Member Function Documentation

bool StreamFactory::fromString ( const std::string &  value,
base::DataSourceBase::shared_ptr  out 
) const [virtual]

Usability function which converts a string to data.

Definition at line 23 of file StreamFactory.cpp.

virtual bool RTT::types::StreamFactory::isStreamable ( ) const [pure virtual]
virtual std::istream& RTT::types::StreamFactory::read ( std::istream &  os,
base::DataSourceBase::shared_ptr  out 
) const [pure virtual]

Usability function which converts data to a string.

Definition at line 12 of file StreamFactory.cpp.

virtual std::ostream& RTT::types::StreamFactory::write ( std::ostream &  os,
base::DataSourceBase::shared_ptr  in 
) const [pure virtual]

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

Author(s): RTT Developers
autogenerated on Fri Sep 9 2016 04:02:20