OrocosComponentLibrary  2.7.0
Public Types | Public Member Functions
TableMarshaller< o_stream > Class Template Reference

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

#include <TableMarshaller.hpp>

List of all members.

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.
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: