46 for( ; i != _reporter_list.end(); i++ )
48 reporter = (*i).second ;
49 if( reporter ) {
delete reporter ; (*i).second = 0 ; }
53 _reporter_list.clear() ;
62 _reporter_list[reporter_name] = reporter_object ;
73 i = _reporter_list.find( reporter_name ) ;
74 if( i != _reporter_list.end() )
77 _reporter_list.erase( i ) ;
86 i = _reporter_list.find( reporter_name ) ;
87 if( i != _reporter_list.end() )
99 for( ; i != _reporter_list.end(); i++ )
101 reporter = (*i).second ;
102 if( reporter ) reporter->
report( dhi ) ;
117 << (
void *)
this <<
")" << endl ;
119 if( _reporter_list.size() )
125 for( ; i != ie; i++ )
130 reporter->
dump( strm ) ;
static BESReporterList * TheList()
map< string, BESReporter * >::const_iterator Reporter_citer
virtual void report(BESDataHandlerInterface &dhi)
virtual BESReporter * remove_reporter(string reporter_name)
static ostream & LMarg(ostream &strm)
virtual void dump(ostream &strm) const
dumps information about this object
map< string, BESReporter * >::iterator Reporter_iter
virtual bool add_reporter(string reporter_name, BESReporter *handler)
virtual void dump(ostream &strm) const =0
dump the contents of this object to the specified ostream
Structure storing information used by the BES to handle the request.
virtual ~BESReporterList(void)
virtual BESReporter * find_reporter(string reporter_name)
virtual void report(BESDataHandlerInterface &dhi)=0