eXperiment robotics framework

ZonePlugin Class Reference
[Plugin: Manager of Zones]

Delimit zones in the world. More...

#include <plugins/erf_manager_zones.hpp>

Inheritance diagram for ZonePlugin:

Inheritance graph
[legend]
Collaboration diagram for ZonePlugin:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ZonePlugin ()
void run ()
 run gets called every time. Draw your vizualizations here.
void save (XE *xe_out=0)
 updates xml data.
void load (XE *xe_in=0)
int event (const XE *xe_in, XE *xe_out)
 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.

Public Attributes

std::auto_ptr< ZoneDeleterzoneDeleter
std::auto_ptr< fltk::ItemGroup > itemGroup
fltk::CheckButton * checkButton_zone_new
fltk::CheckButton * checkButton_zone_del
Window3dwindow3d
string windowName


Detailed Description

Delimit zones in the world.

Definition at line 120 of file erf_manager_zones.hpp.


Constructor & Destructor Documentation

ZonePlugin::ZonePlugin (  ) 


Member Function Documentation

void ZonePlugin::run (  )  [virtual]

run gets called every time. Draw your vizualizations here.

Reimplemented from Plugin.

void ZonePlugin::save ( XE xe_out = 0  )  [virtual]

updates xml data.

Does not write to disk, only updates the output with the current xml data. If no output is specified it means to update the own xe with the program variables

Parameters:
xe_out it can update the xe or output to an xe_out.

Reimplemented from Serializable.

void ZonePlugin::load ( XE xe_in = 0  ) 

int ZonePlugin::event ( const XE xe_in,
XE xe_out 
) [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 from XmlHandler.


Member Data Documentation

Definition at line 124 of file erf_manager_zones.hpp.

std::auto_ptr<fltk::ItemGroup> ZonePlugin::itemGroup

Definition at line 125 of file erf_manager_zones.hpp.

Definition at line 126 of file erf_manager_zones.hpp.

Definition at line 127 of file erf_manager_zones.hpp.

Definition at line 128 of file erf_manager_zones.hpp.

Definition at line 129 of file erf_manager_zones.hpp.


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

The miarn project - written by Joao Xavier