Public Member Functions | Protected Attributes
g2o::HyperGraphElementActionCollection Class Reference

collection of actions More...

#include <hyper_graph_action.h>

Inheritance diagram for g2o::HyperGraphElementActionCollection:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ActionMapactionMap ()
 HyperGraphElementActionCollection (const std::string &name_)
 constructor. name_ is the name of the action e.g.draw).
virtual HyperGraphElementActionoperator() (HyperGraph::HyperGraphElement *element, Parameters *parameters)
virtual HyperGraphElementActionoperator() (const HyperGraph::HyperGraphElement *element, Parameters *parameters)
 redefine this to do the action stuff. If successful, the action returns a pointer to itself
bool registerAction (HyperGraphElementAction *action)
virtual ~HyperGraphElementActionCollection ()
 destructor: it deletes all actions in the pool.

Protected Attributes

ActionMap _actionMap

Detailed Description

collection of actions

collection of actions calls contains homogeneous actions operating on different types all collected actions have the same name and should have the same functionality

Definition at line 91 of file hyper_graph_action.h.


Constructor & Destructor Documentation

constructor. name_ is the name of the action e.g.draw).

Definition at line 68 of file hyper_graph_action.cpp.

destructor: it deletes all actions in the pool.

Definition at line 73 of file hyper_graph_action.cpp.


Member Function Documentation

Definition at line 101 of file hyper_graph_action.h.

HyperGraphElementAction * g2o::HyperGraphElementActionCollection::operator() ( HyperGraph::HyperGraphElement element,
HyperGraphElementAction::Parameters params 
) [virtual]

calling functions, they return a pointer to the instance of action in actionMap that was active on element

Reimplemented from g2o::HyperGraphElementAction.

Definition at line 78 of file hyper_graph_action.cpp.

HyperGraphElementAction * g2o::HyperGraphElementActionCollection::operator() ( const HyperGraph::HyperGraphElement element,
HyperGraphElementAction::Parameters parameters 
) [virtual]

redefine this to do the action stuff. If successful, the action returns a pointer to itself

Reimplemented from g2o::HyperGraphElementAction.

Definition at line 88 of file hyper_graph_action.cpp.

inserts an action in the pool. The action should have the same name of the container. returns falseon failure (the container has a different name than the action);

Definition at line 97 of file hyper_graph_action.cpp.


Member Data Documentation

Definition at line 106 of file hyper_graph_action.h.


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


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:30