Public Member Functions | List of all members
RTT::types::StreamFactory Class Referenceabstract

#include <StreamFactory.hpp>

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

Public Member Functions

virtual ~StreamFactory ()
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 54 of file StreamFactory.hpp.

Constructor & Destructor Documentation

virtual RTT::types::StreamFactory::~StreamFactory ( )

Definition at line 57 of file StreamFactory.hpp.

Member Function Documentation

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

Usability function which converts a string to data.

Definition at line 61 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
string StreamFactory::toString ( base::DataSourceBase::shared_ptr  in) const

Usability function which converts data to a string.

Definition at line 50 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 Oct 25 2019 03:59:48