Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
vtkQtConnection Class Reference

#include <vtkQtConnection.h>

Inheritance diagram for vtkQtConnection:
Collaboration diagram for vtkQtConnection:

Signals

void EmitExecute (vtkObject *, unsigned long, void *client_data, void *call_data, vtkCommand *)
 

Public Member Functions

 vtkQtConnection (vtkEventQtSlotConnect *owner)
 
 ~vtkQtConnection ()
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void Execute (vtkObject *caller, unsigned long event, void *client_data)
 
void SetConnection (vtkObject *vtk_obj, unsigned long event, const QObject *qt_obj, const char *slot, void *client_data, float priority=0.0, Qt::ConnectionType type=Qt::AutoConnection)
 
bool IsConnection (vtkObject *vtk_obj, unsigned long event, const QObject *qt_obj, const char *slot, void *client_data)
 

Static Public Member Functions

static void DoCallback (vtkObject *vtk_obj, unsigned long event, void *client_data, void *call_data)
 

Protected Slots

void deleteConnection ()
 

Protected Attributes

vtkObject * VTKObject
 
vtkCallbackCommand * Callback
 
const QObject * QtObject
 
void * ClientData
 
unsigned long VTKEvent
 
QString QtSlot
 
vtkEventQtSlotConnect * Owner
 

Detailed Description

Definition at line 65 of file vtkQtConnection.h.

Constructor & Destructor Documentation

vtkQtConnection::vtkQtConnection ( vtkEventQtSlotConnect *  owner)

Definition at line 53 of file vtkQtConnection.cxx.

References Callback, ClientData, DoCallback(), mitk::New(), QtObject, VTKEvent, and VTKObject.

vtkQtConnection::~vtkQtConnection ( )

Definition at line 66 of file vtkQtConnection.cxx.

References Callback, and VTKObject.

Member Function Documentation

void vtkQtConnection::deleteConnection ( )
protectedslot

Definition at line 153 of file vtkQtConnection.cxx.

References Owner.

Referenced by SetConnection().

void vtkQtConnection::DoCallback ( vtkObject *  vtk_obj,
unsigned long  event,
void *  client_data,
void *  call_data 
)
static

Definition at line 76 of file vtkQtConnection.cxx.

References Execute().

Referenced by vtkQtConnection().

void vtkQtConnection::EmitExecute ( vtkObject *  ,
unsigned  long,
void *  client_data,
void *  call_data,
vtkCommand *   
)
signal

Referenced by Execute(), and SetConnection().

void vtkQtConnection::Execute ( vtkObject *  caller,
unsigned long  event,
void *  client_data 
)

Definition at line 85 of file vtkQtConnection.cxx.

References Callback, ClientData, EmitExecute(), Owner, QtObject, QtSlot, VTKEvent, and VTKObject.

Referenced by DoCallback().

bool vtkQtConnection::IsConnection ( vtkObject *  vtk_obj,
unsigned long  event,
const QObject *  qt_obj,
const char *  slot,
void *  client_data 
)

Definition at line 101 of file vtkQtConnection.cxx.

References ClientData, QtObject, QtSlot, VTKEvent, and VTKObject.

void vtkQtConnection::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Definition at line 158 of file vtkQtConnection.cxx.

References QtObject, QtSlot, VTKEvent, and VTKObject.

void vtkQtConnection::SetConnection ( vtkObject *  vtk_obj,
unsigned long  event,
const QObject *  qt_obj,
const char *  slot,
void *  client_data,
float  priority = 0.0,
Qt::ConnectionType  type = Qt::AutoConnection 
)

Member Data Documentation

vtkCallbackCommand* vtkQtConnection::Callback
protected

Definition at line 108 of file vtkQtConnection.h.

Referenced by Execute(), SetConnection(), vtkQtConnection(), and ~vtkQtConnection().

void* vtkQtConnection::ClientData
protected

Definition at line 110 of file vtkQtConnection.h.

Referenced by Execute(), IsConnection(), SetConnection(), and vtkQtConnection().

vtkEventQtSlotConnect* vtkQtConnection::Owner
protected

Definition at line 113 of file vtkQtConnection.h.

Referenced by deleteConnection(), and Execute().

const QObject* vtkQtConnection::QtObject
protected

Definition at line 109 of file vtkQtConnection.h.

Referenced by Execute(), IsConnection(), PrintSelf(), SetConnection(), and vtkQtConnection().

QString vtkQtConnection::QtSlot
protected

Definition at line 112 of file vtkQtConnection.h.

Referenced by Execute(), IsConnection(), PrintSelf(), and SetConnection().

unsigned long vtkQtConnection::VTKEvent
protected

Definition at line 111 of file vtkQtConnection.h.

Referenced by Execute(), IsConnection(), PrintSelf(), SetConnection(), and vtkQtConnection().

vtkObject* vtkQtConnection::VTKObject
protected

The documentation for this class was generated from the following files: