2016-05-10 20:12:48 +01:00
|
|
|
#ifndef Hadrons____FILEBASENAME____hpp_
|
|
|
|
#define Hadrons____FILEBASENAME____hpp_
|
|
|
|
|
|
|
|
#include <Hadrons/Global.hpp>
|
|
|
|
#include <Hadrons/Module.hpp>
|
|
|
|
#include <Hadrons/ModuleFactory.hpp>
|
|
|
|
|
|
|
|
BEGIN_HADRONS_NAMESPACE
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* ___FILEBASENAME___ *
|
|
|
|
******************************************************************************/
|
2016-05-12 18:33:08 +01:00
|
|
|
class ___FILEBASENAME___Par: Serializable
|
2016-05-10 20:12:48 +01:00
|
|
|
{
|
|
|
|
public:
|
2016-05-12 18:33:08 +01:00
|
|
|
GRID_SERIALIZABLE_CLASS_MEMBERS(___FILEBASENAME___Par,
|
|
|
|
unsigned int, i);
|
|
|
|
};
|
|
|
|
|
|
|
|
class ___FILEBASENAME___: public Module<___FILEBASENAME___Par>
|
|
|
|
{
|
2016-05-10 20:12:48 +01:00
|
|
|
public:
|
|
|
|
// constructor
|
|
|
|
___FILEBASENAME___(const std::string name);
|
|
|
|
// destructor
|
|
|
|
virtual ~___FILEBASENAME___(void) = default;
|
|
|
|
// dependency relation
|
|
|
|
virtual std::vector<std::string> getInput(void);
|
|
|
|
virtual std::vector<std::string> getOutput(void);
|
|
|
|
// setup
|
|
|
|
virtual void setup(void);
|
|
|
|
// execution
|
|
|
|
virtual void execute(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
MODULE_REGISTER(___FILEBASENAME___);
|
|
|
|
|
|
|
|
END_HADRONS_NAMESPACE
|
|
|
|
|
|
|
|
#endif // Hadrons____FILEBASENAME____hpp_
|