#include "ICOMETLog.hxx" #include "ICOMETEventLoopFunction.hxx" COMET::ICOMETEventLoopFunction::ICOMETEventLoopFunction() {} COMET::ICOMETEventLoopFunction::~ICOMETEventLoopFunction() {} bool COMET::ICOMETEventLoopFunction::operator () (ICOMETEvent& event) { COMETWarn("Event loop without processing operator " << event.GetName()); return true; } int COMET::ICOMETEventLoopFunction::Process(ICOMETEvent& event, int outputFiles) { if (operator()(event)) return 0; return -1; } void COMET::ICOMETEventLoopFunction::Initialize(void) {} void COMET::ICOMETEventLoopFunction::BeginFile(IVInputFile *const) {} void COMET::ICOMETEventLoopFunction::EndFile(IVInputFile *const) {} void COMET::ICOMETEventLoopFunction::Finalize(ICOMETOutput * const value) {} void COMET::ICOMETEventLoopFunction::Usage(void) {} bool COMET::ICOMETEventLoopFunction::SetOption(std::string option, std::string value) { COMETWarn("Empty set option called with " << option << "=" << value); return false; }