| 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 |
* |
* |
| 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. |
| 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 |
}; |
}; |