--- PamCut/CollectionActions/CollectionAction/CollectionAction.h 2009/05/27 13:30:09 1.1 +++ PamCut/CollectionActions/CollectionAction/CollectionAction.h 2009/05/29 10:10:30 1.2 @@ -38,7 +38,8 @@ _actionName(actionName) { } /*! @brief Destructor. */ - ~CollectionAction() { + virtual ~CollectionAction() { + } /*! @brief The initialization routine. @@ -84,6 +85,11 @@ */ virtual void Finalize() = 0; + /*! @brief Returns the action name. */ + const char *GetName(){ + return _actionName; + } + private: const char* _actionName; };