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

#include <TableHeaderMarshaller.hpp>

Inheritance diagram for RTT::TableHeaderMarshaller< 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)
 
virtual void serialize (const Property< PropertyBag > &v)
 
int store (const std::string &s)
 
 TableHeaderMarshaller (output_stream &os)
 
virtual ~TableHeaderMarshaller ()
 
- 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::vector< std::string > header
 
int level
 
int line
 

Additional Inherited Members

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

Detailed Description

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

A marsh::MarshallInterface for generating headers of tables. It is used in conjunction with TableMarshaller and generates a header for the following numbers.

Todo:
: build a tree for formatting and print all on flush().

Definition at line 55 of file TableHeaderMarshaller.hpp.

Member Typedef Documentation

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

Definition at line 62 of file TableHeaderMarshaller.hpp.

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

Definition at line 63 of file TableHeaderMarshaller.hpp.

Constructor & Destructor Documentation

template<typename o_stream >
RTT::TableHeaderMarshaller< o_stream >::TableHeaderMarshaller ( output_stream os)
inline

Definition at line 65 of file TableHeaderMarshaller.hpp.

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

Definition at line 72 of file TableHeaderMarshaller.hpp.

Member Function Documentation

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

Implements RTT::marsh::MarshallInterface.

Definition at line 173 of file TableHeaderMarshaller.hpp.

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

Implements RTT::marsh::MarshallInterface.

Definition at line 74 of file TableHeaderMarshaller.hpp.

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

Implements RTT::marsh::MarshallInterface.

Definition at line 84 of file TableHeaderMarshaller.hpp.

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

Serializing a propery<bag> : pad the line below with spaces.

Print our name

Serialize all properties on the line below.

Pad this line with spaces

Definition at line 131 of file TableHeaderMarshaller.hpp.

template<typename o_stream >
int RTT::TableHeaderMarshaller< o_stream >::store ( const std::string &  s)
inline
Returns
the number of characters on this line.

Definition at line 119 of file TableHeaderMarshaller.hpp.

Member Data Documentation

template<typename o_stream >
std::vector<std::string> RTT::TableHeaderMarshaller< o_stream >::header
private

Definition at line 60 of file TableHeaderMarshaller.hpp.

template<typename o_stream >
int RTT::TableHeaderMarshaller< o_stream >::level
private

Definition at line 58 of file TableHeaderMarshaller.hpp.

template<typename o_stream >
int RTT::TableHeaderMarshaller< o_stream >::line
private

Definition at line 59 of file TableHeaderMarshaller.hpp.


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


ocl
Author(s): OCL Development Team
autogenerated on Mon Mar 23 2020 04:47:20