Public Types | Public Member Functions | Private Attributes | List of all members
RTT::TableMarshaller< o_stream > Class Template Reference

#include <TableMarshaller.hpp>

Inheritance diagram for RTT::TableMarshaller< o_stream >:
Inheritance graph
[legend]

Public Types

typedef o_stream output_stream
 
typedef o_stream OutputStream
 

Public Member Functions

virtual void flush ()
 
virtual void serialize (base::PropertyBase *v)
 
virtual void serialize (const PropertyBag &v)
 
 TableMarshaller (output_stream &os, std::string sep=" ")
 
virtual ~TableMarshaller ()
 
- Public Member Functions inherited from RTT::marsh::MarshallInterface
virtual ~MarshallInterface ()
 
- Public Member Functions inherited from RTT::marsh::StreamProcessor< o_stream >
o_stream & getStream ()
 
void setStream (o_stream &_s)
 
 StreamProcessor (o_stream &_s)
 
 StreamProcessor (o_stream *_s)
 

Private Attributes

std::string msep
 

Additional Inherited Members

- Protected Attributes inherited from RTT::marsh::StreamProcessor< o_stream >
o_stream * s
 

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.

Member Typedef Documentation

template<typename o_stream>
typedef o_stream RTT::TableMarshaller< o_stream >::output_stream

Definition at line 61 of file TableMarshaller.hpp.

template<typename o_stream>
typedef o_stream RTT::TableMarshaller< o_stream >::OutputStream

Definition at line 62 of file TableMarshaller.hpp.

Constructor & Destructor Documentation

template<typename o_stream>
RTT::TableMarshaller< o_stream >::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.

template<typename o_stream>
virtual RTT::TableMarshaller< o_stream >::~TableMarshaller ( )
inlinevirtual

Definition at line 74 of file TableMarshaller.hpp.

Member Function Documentation

template<typename o_stream>
virtual void RTT::TableMarshaller< o_stream >::flush ( )
inlinevirtual

Implements RTT::marsh::MarshallInterface.

Definition at line 98 of file TableMarshaller.hpp.

template<typename o_stream>
virtual void RTT::TableMarshaller< o_stream >::serialize ( base::PropertyBase v)
inlinevirtual

Implements RTT::marsh::MarshallInterface.

Definition at line 76 of file TableMarshaller.hpp.

template<typename o_stream>
virtual void RTT::TableMarshaller< o_stream >::serialize ( const PropertyBag v)
inlinevirtual

Implements RTT::marsh::MarshallInterface.

Definition at line 87 of file TableMarshaller.hpp.

Member Data Documentation

template<typename o_stream>
std::string RTT::TableMarshaller< o_stream >::msep
private

Definition at line 59 of file TableMarshaller.hpp.


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


ocl
Author(s): OCL Development Team
autogenerated on Wed Jun 26 2019 19:26:27