2017-06-06 17:45:30 +01:00
|
|
|
#ifndef Hadrons____NAMESPACE_______FILEBASENAME____hpp_
|
|
|
|
#define Hadrons____NAMESPACE_______FILEBASENAME____hpp_
|
2016-12-05 04:53:31 +00:00
|
|
|
|
2018-08-28 17:17:00 +01:00
|
|
|
#include <Hadrons/Global.hpp>
|
|
|
|
#include <Hadrons/Module.hpp>
|
|
|
|
#include <Hadrons/ModuleFactory.hpp>
|
2016-12-05 04:53:31 +00:00
|
|
|
|
|
|
|
BEGIN_HADRONS_NAMESPACE
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* ___FILEBASENAME___ *
|
|
|
|
******************************************************************************/
|
2016-12-05 05:29:32 +00:00
|
|
|
BEGIN_MODULE_NAMESPACE(___NAMESPACE___)
|
|
|
|
|
|
|
|
class ___FILEBASENAME___Par: Serializable
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
GRID_SERIALIZABLE_CLASS_MEMBERS(___FILEBASENAME___Par,
|
|
|
|
unsigned int, i);
|
|
|
|
};
|
|
|
|
|
2016-12-14 18:19:46 +00:00
|
|
|
class T___FILEBASENAME___: public Module<___FILEBASENAME___Par>
|
2016-12-05 04:53:31 +00:00
|
|
|
{
|
2016-12-05 05:29:32 +00:00
|
|
|
public:
|
|
|
|
// constructor
|
2016-12-14 18:19:46 +00:00
|
|
|
T___FILEBASENAME___(const std::string name);
|
2016-12-05 05:29:32 +00:00
|
|
|
// destructor
|
2018-04-24 17:55:08 +01:00
|
|
|
virtual ~T___FILEBASENAME___(void) {};
|
2016-12-05 05:29:32 +00:00
|
|
|
// 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);
|
|
|
|
};
|
|
|
|
|
2018-04-23 17:35:01 +01:00
|
|
|
MODULE_REGISTER(___FILEBASENAME___, T___FILEBASENAME___, ___NAMESPACE___);
|
2016-12-05 04:53:31 +00:00
|
|
|
|
2016-12-14 18:19:46 +00:00
|
|
|
END_MODULE_NAMESPACE
|
2016-12-05 04:53:31 +00:00
|
|
|
|
|
|
|
END_HADRONS_NAMESPACE
|
|
|
|
|
2017-06-06 17:45:30 +01:00
|
|
|
#endif // Hadrons____NAMESPACE_______FILEBASENAME____hpp_
|