Skip to content
Snippets Groups Projects
Commit ec8d8640 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Add className static members in classes Handle and AxialHandle.

parent 4c931d1f
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ namespace hpp { ...@@ -32,6 +32,7 @@ namespace hpp {
class HPP_MANIPULATION_DLLAPI AxialHandle : public Handle class HPP_MANIPULATION_DLLAPI AxialHandle : public Handle
{ {
public: public:
static std::string className;
/// Create constraint corresponding to a gripper grasping this object /// Create constraint corresponding to a gripper grasping this object
/// \param robot the robot that grasps the handle, /// \param robot the robot that grasps the handle,
/// \param grasp object containing the grasp information /// \param grasp object containing the grasp information
......
...@@ -31,6 +31,7 @@ namespace hpp { ...@@ -31,6 +31,7 @@ namespace hpp {
class HPP_MANIPULATION_DLLAPI Handle class HPP_MANIPULATION_DLLAPI Handle
{ {
public: public:
static std::string className;
virtual ~Handle () {}; virtual ~Handle () {};
/// Create constraint corresponding to a gripper grasping this object /// Create constraint corresponding to a gripper grasping this object
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
namespace hpp { namespace hpp {
namespace manipulation { namespace manipulation {
std::string AxialHandle::className ("AxialHandle");
static const matrix3_t I3 = matrix3_t::Identity(); static const matrix3_t I3 = matrix3_t::Identity();
AxialHandlePtr_t AxialHandle::create (const std::string& name, AxialHandlePtr_t AxialHandle::create (const std::string& name,
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
namespace hpp { namespace hpp {
namespace manipulation { namespace manipulation {
std::string Handle::className ("Handle");
namespace { namespace {
static const matrix3_t I3 = matrix3_t::Identity(); static const matrix3_t I3 = matrix3_t::Identity();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment