17 #pragma warning(disable:654)
35 virtual void before(CustomEventTypeRef evt,
const std::string&
name);
37 virtual void after(CustomEventTypeRef evt,
const std::string& name,
const StatusCode &sc);
57 (
const std::string& name ,
126 if ( 0 == m_toolSvc )
131 log <<
"Could not retrieve 'ToolSvc' " << sc <<
endmsg ;
136 sc = m_toolSvc->retrieveTool
137 (
"SequencerTimerTool/TIMER" , m_timer ,
this ,
true ) ;
141 <<
"Could not retrieve ISequencerTimerTool" <<
endmsg ;
153 <<
"Could not retrieve 'IncidentSvc'" << sc <<
endmsg ;
166 <<
"Could not retrieve 'ApplicationMgr'" << sc <<
endmsg ;
169 if ( m_map.end() == m_map.find( m_appMgr ) )
171 int timer = m_timer->addTimer(
"EVENT LOOP" ) ;
172 m_map.insert ( m_appMgr , timer ) ;
238 if ( 0 == alg ) { return ; }
240 if (
m_map.
end() != found ) { return ; }
242 std::string nick = alg->
name() ;
249 <<
"Insert non-structural component '"
250 << alg->
name() <<
"' of type '"
262 if ( 0 == alg ) { return ; }
268 if ( 0 == alg ) { return ; }
275 <<
"Insert non-structural component '"
276 << alg->
name() <<
"' of type '"
279 std::string nick = alg->
name() ;
292 if ( 0 == alg ) { return ; }
294 if (
m_map.
end() == found ) { return ; }
302 if ( name.empty() && evt.empty() ) {
return; }
306 std::string nick = name +
":" +
evt;
315 timer = found->second;
324 if ( name.empty() && evt.empty() ) {
return; }
327 std::string nick = name +
":" +
evt;
333 log <<
MSG::WARNING <<
"Trying to stop the measure of the timing for '"
334 << nick <<
"' but it was never started. Check the code"