RTT::INIMarshaller< output_stream > Class Template Reference

A Marshaller which writes out the properties in MS .INI format. More...

#include <rtt/marsh/INIMarshaller.hpp>

Inheritance diagram for RTT::INIMarshaller< output_stream >:
RTT::Marshaller RTT::PropertyBagVisitor

List of all members.

Public Member Functions

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

Protected Member Functions

virtual void introspect (const PropertyBase *v)
virtual void introspect (const Property< PropertyBag > &b)
virtual void introspect (PropertyBase *p)=0
 Callback for a Property which is not a PropertyBag.
virtual void introspect (Property< PropertyBag > &p)=0
 Callback for a Property which is a PropertyBag.

Protected Attributes

output_stream & _os

Detailed Description

template<typename output_stream>
class RTT::INIMarshaller< output_stream >

A Marshaller which writes out the properties in MS .INI format.

Warning:
: No Orocos class exists yet which can read the INI file back in.

Definition at line 55 of file INIMarshaller.hpp.


Member Function Documentation

template<typename output_stream >
virtual void RTT::INIMarshaller< output_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 89 of file INIMarshaller.hpp.

virtual void RTT::Marshaller::serialize ( PropertyBase v  )  [pure virtual, inherited]
template<typename output_stream >
virtual void RTT::INIMarshaller< output_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 82 of file INIMarshaller.hpp.

References RTT::PropertyBag::identify().


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