RTT::Marshaller Class Reference
[Property Interface]

A Marshaller converts Property objects to a (file/text) format. More...

#include <rtt/Marshaller.hpp>

Inheritance diagram for RTT::Marshaller:
RTT::CPFMarshaller< std::ostream > RTT::EmptyHeaderMarshaller< o_stream > RTT::EmptyMarshaller RTT::INIMarshaller< output_stream > RTT::Orocos1Marshaller< output_stream > RTT::PropertyMarshaller RTT::SimpleMarshaller< o_stream > RTT::TableHeaderMarshaller< o_stream > RTT::TableMarshaller< o_stream > RTT::XMLMarshaller< o_stream > RTT::XMLRPCMarshaller< output_stream >

List of all members.

Public Member Functions

virtual void serialize (PropertyBase *v)=0
 Serialize a property.
virtual void serialize (const PropertyBag &v)=0
 Serialize the contents of a property bag with headers and footers.
virtual void flush ()=0
 Flush all buffers, write footers.

Detailed Description

A Marshaller converts Property objects to a (file/text) format.

See also:
Demarshaller
Property
PropertyBag

Definition at line 58 of file Marshaller.hpp.


Member Function Documentation

virtual void RTT::Marshaller::flush (  )  [pure 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.

Implemented in RTT::CPFMarshaller< std::ostream >, RTT::EmptyHeaderMarshaller< o_stream >, RTT::EmptyMarshaller, RTT::INIMarshaller< output_stream >, RTT::Orocos1Marshaller< output_stream >, RTT::PropertyMarshaller, RTT::SimpleMarshaller< o_stream >, RTT::TableHeaderMarshaller< o_stream >, RTT::TableMarshaller< o_stream >, RTT::XMLMarshaller< o_stream >, and RTT::XMLRPCMarshaller< output_stream >.

virtual void RTT::Marshaller::serialize ( const PropertyBag v  )  [pure virtual]
virtual void RTT::Marshaller::serialize ( PropertyBase v  )  [pure virtual]

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