g2o
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
g2o::RegisterActionProxy< T > Class Template Reference

#include <hyper_graph_action.h>

Public Member Functions

 RegisterActionProxy ()
 

Private Attributes

HyperGraphElementAction::HyperGraphElementActionPtr _action
 

Detailed Description

template<typename T>
class g2o::RegisterActionProxy< T >

Definition at line 224 of file hyper_graph_action.h.

Constructor & Destructor Documentation

◆ RegisterActionProxy()

template<typename T >
g2o::RegisterActionProxy< T >::RegisterActionProxy ( )
inline

Definition at line 226 of file hyper_graph_action.h.

226 {
227#ifdef G2O_DEBUG_ACTIONLIB
228 std::cout << __FUNCTION__ << ": Registering action of type "
229 << typeid(T).name() << std::endl;
230#endif
231 _action.reset(new T());
233 }
bool registerAction(const HyperGraphElementAction::HyperGraphElementActionPtr &action)
static HyperGraphActionLibrary * instance()
return the single instance of the HyperGraphActionLibrary
HyperGraphElementAction::HyperGraphElementActionPtr _action

References g2o::RegisterActionProxy< T >::_action, g2o::HyperGraphActionLibrary::instance(), and g2o::HyperGraphActionLibrary::registerAction().

Member Data Documentation

◆ _action


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