gepetto::gui::SlotExceptionCatch Class Referenceabstract

#include <gepetto/gui/safeapplication.hh>

Inheritance diagram for gepetto::gui::SlotExceptionCatch:
[legend]
Collaboration diagram for gepetto::gui::SlotExceptionCatch:
[legend]

Public Member Functions

 SlotExceptionCatch ()
 
virtual bool safeNotify (QApplication *app, QObject *receiver, QEvent *e)=0
 Inherited classes must call impl_notify method surronded by a try/catch. More...
 
void addAsLeaf (SlotExceptionCatch *child)
 

Protected Member Functions

bool impl_notify (QApplication *app, QObject *receiver, QEvent *e)
 

Protected Attributes

SlotExceptionCatchchild_
 

Constructor & Destructor Documentation

◆ SlotExceptionCatch()

gepetto::gui::SlotExceptionCatch::SlotExceptionCatch ( )
inline

References safeNotify().

Member Function Documentation

◆ addAsLeaf()

void gepetto::gui::SlotExceptionCatch::addAsLeaf ( SlotExceptionCatch child)
inline

References addAsLeaf(), and child_.

Referenced by addAsLeaf().

◆ impl_notify()

bool gepetto::gui::SlotExceptionCatch::impl_notify ( QApplication *  app,
QObject *  receiver,
QEvent *  e 
)
inlineprotected

◆ safeNotify()

virtual bool gepetto::gui::SlotExceptionCatch::safeNotify ( QApplication *  app,
QObject *  receiver,
QEvent *  e 
)
pure virtual

Inherited classes must call impl_notify method surronded by a try/catch.

Referenced by impl_notify(), gepetto::gui::SafeApplication::notify(), and SlotExceptionCatch().

Member Data Documentation

◆ child_

SlotExceptionCatch* gepetto::gui::SlotExceptionCatch::child_
protected

Referenced by addAsLeaf(), and impl_notify().