#ifndef MODULE1_H #define MODULE1_H #ifndef ZMENVIRONMENT_H #include "ZMutility/ZMenvironment.h" #endif #include "ZMutility/iostream" #include "ZMutility/iostream" USING( std::cin ) USING( std::cout ) USING( std::endl ) USING( std::flush ) #ifndef ELERRORLOG_H #include "ErrorLogger/ErrorLog.h" #endif #include "frame1.h" class Event; class Module { // This is an extremely skeletal mock-up of the Module or Package base // classes in CDF or D0. Each module is derived from this. public: Module( const std::string & name ); virtual void operator()( Event & e ) = 0; // do this module's processing! protected: // Note that this is the only line ErrorLog errlog; // inserted because of the ErrorLogger // mechanism! }; // Module #endif // MODULE1_H