11 #ifndef GAUDIKERNEL_GUARDS_H
12 #define GAUDIKERNEL_GUARDS_H 1
122 template <
class OBJECT,
class FUNCTION>
128 if ( svc && m_sc.isFailure() ) { m_sc = svc->handleErr( *obj, m_sc ); }
132 if ( svc ) { m_sc = svc->handle( *obj, e ); }
136 if ( svc ) { m_sc = svc->handle( *obj, e ); }
140 if ( svc ) { m_sc = svc->handle( *obj ); }
263 bool m_customEvtType =
false;
268 if ( m_customEvtType ) {
269 m_svc->before( m_cevt, m_obj );
271 m_svc->before( m_evt, m_obj );
274 if ( m_customEvtType ) {
275 m_svc->before( m_cevt, m_objName );
277 m_svc->before( m_evt, m_objName );
286 if ( m_customEvtType ) {
288 m_svc->after( m_cevt, m_obj, *m_sc );
290 m_svc->after( m_cevt, m_obj );
294 m_svc->after( m_evt, m_obj, *m_sc );
296 m_svc->after( m_evt, m_obj );
300 if ( m_customEvtType ) {
302 m_svc->after( m_cevt, m_objName, *m_sc );
304 m_svc->after( m_cevt, m_objName );
308 m_svc->after( m_evt, m_objName, *m_sc );
310 m_svc->after( m_evt, m_objName );
324 #endif // GAUDIKERNEL_GUARDS_H