From fdc38afb0ee883304029d1177d203621083cfe5a Mon Sep 17 00:00:00 2001
From: Mansard <nmansard@laas.fr>
Date: Wed, 22 Jun 2011 12:05:40 +0200
Subject: [PATCH] Use the helper to implement the entity.

---
 include/sot-dynamic/dynamic.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/include/sot-dynamic/dynamic.h b/include/sot-dynamic/dynamic.h
index 8b70743..a21c5bb 100644
--- a/include/sot-dynamic/dynamic.h
+++ b/include/sot-dynamic/dynamic.h
@@ -93,12 +93,7 @@ class SOTDYNAMIC_EXPORT Dynamic
   friend class sot::command::InitializeRobot;
 
  public:
-  virtual const std::string& getClassName () const
-  {
-    return CLASS_NAME;
-  }
-  static const std::string CLASS_NAME;
-  virtual const std::string& getClassName( void ) const { return CLASS_NAME; }
+  DYNAMIC_GRAPH_ENTITY_DECL();
 
  protected:
  public:
-- 
GitLab