// ShortModule.cc // // #include "ShortModule.h" #include "SampleEvent.h" ShortModule::ShortModule(const std::string &name){ errlog.setModule(name); } ShortModule::~ShortModule(){ } void ShortModule::invoke(Event &e){ //this will log 12 ELerrors each time for (int i=1; i!=350; i++){ //it is called e.datum++; if (e.datum % 30 == 4) { errlog (ELerror, "Error"); } } errlog << "ShortModule done." << endmsg; //This will be attached to $$ N1:1 } //the last error logged.