OrocosComponentLibrary  2.8.3
Public Types | Public Member Functions | List of all members
TableMarshaller< o_stream > Class Template Reference

A marsh::MarshallInterface for generating a stream of numbers, ordered in columns. More...

#include <TableMarshaller.hpp>

Inheritance diagram for TableMarshaller< o_stream >:

Public Types

typedef o_stream output_stream
 
typedef o_stream OutputStream
 

Public Member Functions

 TableMarshaller (output_stream &os, std::string sep=" ")
 Create a new marshaller, streaming the data to a stream. More...
 
virtual void serialize (base::PropertyBase *v)
 
virtual void serialize (const PropertyBag &v)
 
virtual void flush ()
 

Detailed Description

template<typename o_stream>
class RTT::TableMarshaller< o_stream >

A marsh::MarshallInterface for generating a stream of numbers, ordered in columns.

A new row is created on each flush() command. The TableHeaderMarshaller can create the appropriate heading for the columns.

Definition at line 56 of file TableMarshaller.hpp.

Constructor & Destructor Documentation

TableMarshaller ( output_stream &  os,
std::string  sep = " " 
)
inline

Create a new marshaller, streaming the data to a stream.

Parameters
osThe stream to write the data to (i.e. cerr)
sepThe separater to place between each column and at the end of the line.

Definition at line 70 of file TableMarshaller.hpp.


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