/[PAMELA software]/PamCut/CollectionActions/CollectionAction/CollectionAction.h
ViewVC logotype

Diff of /PamCut/CollectionActions/CollectionAction/CollectionAction.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by pam-fi, Wed May 27 13:30:09 2009 UTC revision 1.3 by pam-fi, Wed Aug 5 13:58:05 2009 UTC
# Line 11  Line 11 
11  #define COLLECTIONACTION_H_  #define COLLECTIONACTION_H_
12    
13  #include <PamLevel2.h>  #include <PamLevel2.h>
14    #include "../../CommonDefs.h"
15    
16  /*! @brief An abstract class that defines the interface of a generic collection action.  /*! @brief An abstract class that defines the interface of a generic collection action.
17   *   *
# Line 38  public: Line 39  public:
39      _actionName(actionName) {      _actionName(actionName) {
40    }    }
41    /*! @brief Destructor. */    /*! @brief Destructor. */
42    ~CollectionAction() {    virtual ~CollectionAction() {
43    
44    }    }
45    
46    /*! @brief The initialization routine.    /*! @brief The initialization routine.
# Line 84  public: Line 86  public:
86     */     */
87    virtual void Finalize() = 0;    virtual void Finalize() = 0;
88    
89      /*! @brief Returns the action name. */
90      const char *GetName(){
91        return _actionName;
92      }
93    
94  private:  private:
95    const char* _actionName;    const char* _actionName;
96  };  };

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23