46 for( ; i != _reporter_list.end(); i++ )
48 reporter = (*i).second ;
49 if( reporter )
delete reporter ;
50 _reporter_list.erase( i ) ;
60 _reporter_list[reporter_name] = reporter_object ;
71 i = _reporter_list.find( reporter_name ) ;
72 if( i != _reporter_list.end() )
75 _reporter_list.erase( i ) ;
84 i = _reporter_list.find( reporter_name ) ;
85 if( i != _reporter_list.end() )
97 for( ; i != _reporter_list.end(); i++ )
99 reporter = (*i).second ;
100 if( reporter ) reporter->
report( dhi ) ;
115 << (
void *)
this <<
")" << endl ;
117 if( _reporter_list.size() )
123 for( ; i != ie; i++ )
128 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)
virtual void dump(ostream &strm) const
dumps information about this object
static ostream & LMarg(ostream &strm)
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