g2o
|
library of actions, indexed by the action name; More...
#include <hyper_graph_action.h>
Public Member Functions | |
HyperGraphElementAction * | actionByName (const std::string &name) |
bool | registerAction (HyperGraphElementAction *action) |
bool | unregisterAction (HyperGraphElementAction *action) |
HyperGraphElementAction::ActionMap & | actionMap () |
Static Public Member Functions | |
static HyperGraphActionLibrary * | instance () |
return the single instance of the HyperGraphActionLibrary More... | |
static void | destroy () |
free the instance 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 138 of file hyper_graph_action.h.
|
protected |
Definition at line 142 of file hyper_graph_action.cpp.
|
protected |
Definition at line 160 of file hyper_graph_action.cpp.
HyperGraphElementAction * g2o::HyperGraphActionLibrary::actionByName | ( | const std::string & | name | ) |
Definition at line 167 of file hyper_graph_action.cpp.
Referenced by g2o::G2oQGLViewer::draw(), g2o::DrawAction::initializeDrawActionsCache(), and g2o::deprecated::VertexSE3WriteGnuplotAction::operator()().
|
inline |
Definition at line 151 of file hyper_graph_action.h.
|
static |
free the instance
Definition at line 154 of file hyper_graph_action.cpp.
|
static |
return the single instance of the HyperGraphActionLibrary
Definition at line 146 of file hyper_graph_action.cpp.
Referenced by g2o::G2oQGLViewer::draw(), g2o::G2O_ATTRIBUTE_CONSTRUCTOR(), g2o::DrawAction::initializeDrawActionsCache(), g2o::deprecated::VertexSE3WriteGnuplotAction::operator()(), g2o::RegisterActionProxy< T >::RegisterActionProxy(), and g2o::RegisterActionProxy< T >::~RegisterActionProxy().
bool g2o::HyperGraphActionLibrary::registerAction | ( | HyperGraphElementAction * | action | ) |
Definition at line 175 of file hyper_graph_action.cpp.
References __PRETTY_FUNCTION__, g2o::HyperGraphElementAction::name(), and g2o::HyperGraphElementActionCollection::registerAction().
Referenced by g2o::G2O_ATTRIBUTE_CONSTRUCTOR(), and g2o::RegisterActionProxy< T >::RegisterActionProxy().
bool g2o::HyperGraphActionLibrary::unregisterAction | ( | HyperGraphElementAction * | action | ) |
Definition at line 196 of file hyper_graph_action.cpp.
References g2o::HyperGraphElementActionCollection::actionMap(), and g2o::HyperGraphElementActionCollection::unregisterAction().
Referenced by g2o::RegisterActionProxy< T >::~RegisterActionProxy().
|
protected |
Definition at line 155 of file hyper_graph_action.h.
|
staticprivate |
Definition at line 157 of file hyper_graph_action.h.