hpp-core  6.0.0
Implement basic classes for canonical path planning for kinematic chains.
Plugins

Classes

class  hpp::core::ProblemSolverPlugin
 Plugin mechanism to declare new features in ProblemSolver class. More...
 

Macros

#define HPP_CORE_DEFINE_PLUGIN(PluginClassName)
 

Detailed Description

Macro Definition Documentation

◆ HPP_CORE_DEFINE_PLUGIN

#define HPP_CORE_DEFINE_PLUGIN (   PluginClassName)
Value:
extern "C" { \
::hpp::core::ProblemSolverPlugin* createProblemSolverPlugin() { \
return new PluginClassName(); \
} \
}
Plugin mechanism to declare new features in ProblemSolver class.
Definition: plugin.hh:42

To create a plugin, create a class that derives from hpp::core::ProblemSolverPlugin and call this macro in the root namespace. To load the plugin, use

std::string filename;
Definition: problem-solver.hh:78
bool loadPlugin(const std::string &lib, ProblemSolverPtr_t ps)