Definition of the MsgStream class used to transmit messages.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
IntegerProperty m_frequency
The frequency with which the number of events should be reported.
Property * declareProperty(const std::string &name, T &property, const std::string &doc="none") const
Declare the named property.
int m_total
The total events seen.
EventCounter(const std::string &name, ISvcLocator *pSvcLocator)
Constructor(s)
StatusCode finalize()
the default (empty) implementation of IStateful::finalize() method
int m_skip
The number of events skipped since the last time the count was reported.
StatusCode execute()
The action to be performed by the algorithm on an event.
This class is used for returning status codes from appropriate routines.
virtual const std::string & name() const
The identifying name of the algorithm object.
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
StatusCode initialize()
the default (empty) implementation of IStateful::initialize() method
Base class from which all concrete algorithm classes should be derived.
virtual ~EventCounter()
Destructor.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.