Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkSlicerTask Class Reference

#include <Base/Logic/vtkSlicerTask.h>

Inheritance diagram for vtkSlicerTask:
Inheritance graph
[legend]
Collaboration diagram for vtkSlicerTask:
Collaboration graph
[legend]

Public Types

enum  { Undefined = 0, Processing, Networking }
 
typedef vtkObject Superclass
 
typedef vtkMRMLAbstractLogic::TaskFunctionPointer TaskFunctionPointer
 

Public Member Functions

virtual void Execute ()
 
Execute the task. More...
 
virtual const char * GetClassName ()
 
virtual int GetType ()
 
const char * GetTypeAsString ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetTaskFunction (vtkMRMLAbstractLogic *, TaskFunctionPointer, void *clientdata)
 
Set the function and object to call for the task. More...
 
virtual void SetType (int)
 
void SetTypeToNetworking ()
 
void SetTypeToProcessing ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkSlicerTaskNew ()
 
static vtkSlicerTaskSafeDownCast (vtkObject *o)
 

Protected Member Functions

void operator= (const vtkSlicerTask &)
 
 vtkSlicerTask ()
 
 vtkSlicerTask (const vtkSlicerTask &)
 
 ~vtkSlicerTask () override
 

Detailed Description

Definition at line 9 of file vtkSlicerTask.h.

Member Typedef Documentation

◆ Superclass

typedef vtkObject vtkSlicerTask::Superclass

Definition at line 13 of file vtkSlicerTask.h.

◆ TaskFunctionPointer

typedef vtkMRMLAbstractLogic::TaskFunctionPointer vtkSlicerTask::TaskFunctionPointer

Definition at line 16 of file vtkSlicerTask.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

The type of task - this can be used, for example, to decide how many concurrent threads should be allowed

Enumerator
Undefined 
Processing 
Networking 

Definition at line 29 of file vtkSlicerTask.h.

Constructor & Destructor Documentation

◆ vtkSlicerTask() [1/2]

vtkSlicerTask::vtkSlicerTask ( )
protected

◆ ~vtkSlicerTask()

vtkSlicerTask::~vtkSlicerTask ( )
overrideprotected

◆ vtkSlicerTask() [2/2]

vtkSlicerTask::vtkSlicerTask ( const vtkSlicerTask )
protected

Member Function Documentation

◆ Execute()

virtual void vtkSlicerTask::Execute ( )
virtual


Execute the task.

◆ GetClassName()

virtual const char* vtkSlicerTask::GetClassName ( )
virtual

◆ GetType()

virtual int vtkSlicerTask::GetType ( )
virtual

◆ GetTypeAsString()

const char* vtkSlicerTask::GetTypeAsString ( )
inline

Definition at line 41 of file vtkSlicerTask.h.

◆ IsA()

virtual int vtkSlicerTask::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkSlicerTask::IsTypeOf ( const char *  type)
static

◆ New()

static vtkSlicerTask* vtkSlicerTask::New ( )
static

◆ operator=()

void vtkSlicerTask::operator= ( const vtkSlicerTask )
protected

◆ PrintSelf()

void vtkSlicerTask::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ SafeDownCast()

static vtkSlicerTask* vtkSlicerTask::SafeDownCast ( vtkObject *  o)
static

◆ SetTaskFunction()

void vtkSlicerTask::SetTaskFunction ( vtkMRMLAbstractLogic ,
TaskFunctionPointer  ,
void *  clientdata 
)


Set the function and object to call for the task.

◆ SetType()

virtual void vtkSlicerTask::SetType ( int  )
virtual

◆ SetTypeToNetworking()

void vtkSlicerTask::SetTypeToNetworking ( )
inline

Definition at line 39 of file vtkSlicerTask.h.

◆ SetTypeToProcessing()

void vtkSlicerTask::SetTypeToProcessing ( )
inline

Definition at line 38 of file vtkSlicerTask.h.


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