RTT::EmptyHeaderMarshaller< o_stream > Class Template Reference

A Dummy Empty Header Marshaller. More...

#include <rtt/marsh/EmptyHeaderMarshaller.hpp>

Inheritance diagram for RTT::EmptyHeaderMarshaller< o_stream >:
RTT::Marshaller RTT::StreamProcessor< o_stream >

List of all members.

Public Types

typedef o_stream output_stream
typedef o_stream OutputStream

Public Member Functions

 EmptyHeaderMarshaller (output_stream &os)
virtual void flush ()
 Flush all buffers, write footers.
virtual void serialize (PropertyBase *v)
 Serialize a property.
virtual void serialize (const PropertyBag &v)
 Serialize the contents of a property bag with headers and footers.
void setStream (o_stream &_s)
 Set a new Stream.
o_stream & getStream ()
 Get the current Stream.

Protected Attributes

o_stream * s

Detailed Description

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

A Dummy Empty Header Marshaller.

Definition at line 52 of file EmptyHeaderMarshaller.hpp.


Member Function Documentation

template<typename o_stream >
virtual void RTT::EmptyHeaderMarshaller< o_stream >::flush (  )  [inline, virtual]

Flush all buffers, write footers.

Instructs the Marshaller to flush any remaining buffered data and write a footer to indicate that serialization is done. A marshaller may choose to write nothing until this function is called, or print a summary, or anything else.

Implements RTT::Marshaller.

Definition at line 67 of file EmptyHeaderMarshaller.hpp.

o_stream & RTT::StreamProcessor< o_stream >::getStream (  )  [inline, inherited]

Get the current Stream.

Returns:
The current Stream.

Definition at line 81 of file StreamProcessor.hpp.

template<typename o_stream >
virtual void RTT::EmptyHeaderMarshaller< o_stream >::serialize ( const PropertyBag v  )  [inline, virtual]

Serialize the contents of a property bag with headers and footers.

Use this method on your 'root' PropertyBag, such that headers and footers are written.

Parameters:
v The property bag to be serialized.

Implements RTT::Marshaller.

Definition at line 73 of file EmptyHeaderMarshaller.hpp.

template<typename o_stream >
virtual void RTT::EmptyHeaderMarshaller< o_stream >::serialize ( PropertyBase v  )  [inline, virtual]

Serialize a property.

Parameters:
v The property to be serialized.

Implements RTT::Marshaller.

Definition at line 69 of file EmptyHeaderMarshaller.hpp.

void RTT::StreamProcessor< o_stream >::setStream ( o_stream &  _s  )  [inline, inherited]

Set a new Stream.

Parameters:
_s The stream to be processed.

Definition at line 72 of file StreamProcessor.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 23 13:22:43 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3