Orocos Real-Time Toolkit
2.8.3
|
A MarshallInterface converts Property objects to a (file/text) format. More...
#include <rtt/marsh/MarshallInterface.hpp>
Public Member Functions | |
virtual | ~MarshallInterface () |
virtual void | serialize (base::PropertyBase *v)=0 |
Serialize a property. More... | |
virtual void | serialize (const PropertyBag &v)=0 |
Serialize the contents of a property bag with headers and footers. More... | |
virtual void | flush ()=0 |
Flush all buffers, write footers. More... | |
A MarshallInterface converts Property objects to a (file/text) format.
Definition at line 55 of file MarshallInterface.hpp.
|
inlinevirtual |
Definition at line 58 of file MarshallInterface.hpp.
References boost::serialization::serialize().
|
pure virtual |
Flush all buffers, write footers.
Instructs the MarshallInterface 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::marsh::XMLRPCMarshaller< output_stream >, RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::PropertyMarshaller.
Referenced by RTT::marsh::PropertyMarshaller::flush().
|
pure virtual |
Serialize a property.
v | The property to be serialized. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::PropertyMarshaller.
Referenced by RTT::marsh::PropertyMarshaller::serialize().
|
pure 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.
v | The property bag to be serialized. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, RTT::marsh::XMLRPCMarshaller< output_stream >, and RTT::marsh::PropertyMarshaller.