eXperiment robotics framework

XmlHandler Class Reference
[Xml]

Returns a XmlHandler in case of the plugin with the specified id is a XmlHandler. More...

#include <erf/erf_xml.hpp>>

Inheritance diagram for XmlHandler:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 XmlHandler ()
virtual int event (const XE *xe_in, XE *xe_out=0)
 xml event handling, input (a question) must be given in xml that gets replied both by the returning error code (-1 means message reception error, 0 message received but answer is no, >0 acknowledges and is related to the question) and by the xe_out.


Detailed Description

Returns a XmlHandler in case of the plugin with the specified id is a XmlHandler.

A class to handle xml events.

Todo:
add "xml_recognize" to query the interfaces(xml elements) the xml handler accepts

Definition at line 210 of file erf_xml.hpp.


Constructor & Destructor Documentation

XmlHandler::XmlHandler (  )  [inline]

Definition at line 212 of file erf_xml.hpp.


Member Function Documentation

virtual int XmlHandler::event ( const XE xe_in,
XE xe_out = 0 
) [inline, virtual]

xml event handling, input (a question) must be given in xml that gets replied both by the returning error code (-1 means message reception error, 0 message received but answer is no, >0 acknowledges and is related to the question) and by the xe_out.

Parameters:
xe_in input xml.
xe_out output xml, not mandatory.
Returns:
an error code.

Reimplemented in ManagerTagsPlugin, and ZonePlugin.

Definition at line 219 of file erf_xml.hpp.


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

The miarn project - written by Joao Xavier