hpp-core
4.10.1
Implement basic classes for canonical path planning for kinematic chains.
|
Go to the documentation of this file.
17 #ifndef HPP_CORE_PLUGIN_HH
18 #define HPP_CORE_PLUGIN_HH
33 const std::string&
name ()
const
45 if (initialized_)
return true;
56 : name_ (
name), version_ (
version), initialized_ (false)
60 std::string name_, version_;
72 #define HPP_CORE_DEFINE_PLUGIN(PluginClassName) \
74 ::hpp::core::ProblemSolverPlugin* createProblemSolverPlugin () \
76 return new PluginClassName (); \
100 #endif // HPP_CORE_PLUGIN_HH
virtual ~ProblemSolverPlugin()
Definition: plugin.hh:50
bool loadPlugin(const std::string &lib, ProblemSolverPtr_t ps)
const std::string & name() const
Definition: plugin.hh:33
ProblemSolverPlugin(const std::string &name, const std::string &version)
Definition: plugin.hh:55
Definition: basic-configuration-shooter.hh:26
bool initialize(ProblemSolverPtr_t ps)
Definition: plugin.hh:43
std::string findPluginLibrary(const std::string &name)
const std::string & version() const
Definition: plugin.hh:38
Definition: problem-solver.hh:68
Plugin mechanism to declare new features in ProblemSolver class.
Definition: plugin.hh:31
virtual bool impl_initialize(ProblemSolverPtr_t ps)=0