library of actions, indexed by the action name; More...
#include <hyper_graph_action.h>
Public Member Functions | |
HyperGraphElementAction * | actionByName (const std::string &name) |
HyperGraphElementAction::ActionMap & | actionMap () |
bool | registerAction (HyperGraphElementAction *action) |
bool | unregisterAction (HyperGraphElementAction *action) |
Static Public Member Functions | |
static void | destroy () |
free the instance More... | |
static HyperGraphActionLibrary * | instance () |
return the single instance of the HyperGraphActionLibrary More... | |
Protected Member Functions | |
HyperGraphActionLibrary () | |
~HyperGraphActionLibrary () | |
Protected Attributes | |
HyperGraphElementAction::ActionMap | _actionMap |
Static Private Attributes | |
static HyperGraphActionLibrary * | actionLibInstance = 0 |
library of actions, indexed by the action name;
library of actions, indexed by the action name; one can use ti to register a collection of actions
Definition at line 136 of file hyper_graph_action.h.
|
protected |
Definition at line 141 of file hyper_graph_action.cpp.
|
protected |
Definition at line 159 of file hyper_graph_action.cpp.
HyperGraphElementAction * g2o::HyperGraphActionLibrary::actionByName | ( | const std::string & | name | ) |
Definition at line 166 of file hyper_graph_action.cpp.
|
inline |
Definition at line 149 of file hyper_graph_action.h.
|
static |
free the instance
Definition at line 153 of file hyper_graph_action.cpp.
|
static |
return the single instance of the HyperGraphActionLibrary
Definition at line 145 of file hyper_graph_action.cpp.
bool g2o::HyperGraphActionLibrary::registerAction | ( | HyperGraphElementAction * | action | ) |
Definition at line 174 of file hyper_graph_action.cpp.
bool g2o::HyperGraphActionLibrary::unregisterAction | ( | HyperGraphElementAction * | action | ) |
Definition at line 195 of file hyper_graph_action.cpp.
|
protected |
Definition at line 153 of file hyper_graph_action.h.
|
staticprivate |
Definition at line 155 of file hyper_graph_action.h.