Public Member Functions | Protected Attributes

QmitkCallbackEvent Class Reference

This kind of object is posted into the Qt event queue in order to call some method from the GUI thread. More...

List of all members.

Public Member Functions

 QmitkCallbackEvent (itk::Command *cmd, itk::EventObject *e)
 ~QmitkCallbackEvent ()
itk::Command * command ()
itk::EventObject * itkevent ()

Protected Attributes

itk::Command::Pointer m_Command
itk::EventObject * m_Event

Detailed Description

This kind of object is posted into the Qt event queue in order to call some method from the GUI thread.

Definition at line 24 of file QmitkCallbackFromGUIThread.cpp.


Constructor & Destructor Documentation

QmitkCallbackEvent::QmitkCallbackEvent ( itk::Command *  cmd,
itk::EventObject *  e 
) [inline]

Definition at line 23 of file QmitkCallbackFromGUIThread.cpp.

                         : public QEvent
{

  public:

QmitkCallbackEvent::~QmitkCallbackEvent (  ) [inline]

Definition at line 30 of file QmitkCallbackFromGUIThread.cpp.

    : QEvent(QEvent::User),
      m_Command(cmd),
      m_Event(e)
    {

Member Function Documentation

itk::Command* QmitkCallbackEvent::command (  ) [inline]

Definition at line 35 of file QmitkCallbackFromGUIThread.cpp.

References m_Event.

Referenced by QmitkCallbackFromGUIThread::event().

    {
      delete m_Event;
itk::EventObject* QmitkCallbackEvent::itkevent (  ) [inline]

Definition at line 40 of file QmitkCallbackFromGUIThread.cpp.

References m_Command.

Referenced by QmitkCallbackFromGUIThread::event().

    {
      return m_Command;

Member Data Documentation

itk::Command::Pointer QmitkCallbackEvent::m_Command [protected]

Definition at line 47 of file QmitkCallbackFromGUIThread.cpp.

Referenced by itkevent().

itk::EventObject* QmitkCallbackEvent::m_Event [protected]

Definition at line 48 of file QmitkCallbackFromGUIThread.cpp.

Referenced by command().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines