app component inherits from core component. OamModule uses name instead of class...
[anna.git] / include / anna / core / oam / Module.hpp
index 39bc31c..d3c3542 100644 (file)
@@ -137,7 +137,7 @@ class Module {
   Handler a_defaultHandler;        // default OAM handler
   Handler *a_handler;              // Handler reference
 
-  std::string a_className;         // module description
+  std::string a_name;         // module description
   bool a_counters_enabled;         // Enable/Disable registered counters over this module (default is 'false')
   bool a_alarms_enabled;           // Enable/Disable registered alarms over this module (default is 'false')
 
@@ -208,9 +208,9 @@ public:
 
 
   /** Constructor
-      @param className Logical name for the class (better use fullNaming format including namespace resolution)
+      @param name Logical name for the class (better use fullNaming format including namespace resolution)
    */
-  Module(const std::string &className) :    a_className(className),
+  Module(const std::string &name) :    a_name(name),
     a_handler(&a_defaultHandler),
     a_counters_enabled(false),
     a_counterRecorder(NULL),
@@ -385,7 +385,7 @@ public:
 
      @param OAM module name
   */
-  const char *getClassName() const throw() { return a_className.c_str(); }
+  const char *getName() const throw() { return a_name.c_str(); }
 
 
   /**