1#ifndef __vtkSlicerTask_h
2#define __vtkSlicerTask_h
5#include "vtkSmartPointer.h"
14 void PrintSelf(ostream& os, vtkIndent indent)
override;
37 vtkGetMacro (Type,
int);
58 vtkSmartPointer<vtkMRMLAbstractLogic> TaskObject;
Superclass for MRML logic classes.
void(vtkMRMLAbstractLogic::* TaskFunctionPointer)(void *clientdata)
void operator=(const vtkSlicerTask &)
virtual void Execute()
Execute the task.
const char * GetTypeAsString()
void SetTaskFunction(vtkMRMLAbstractLogic *, TaskFunctionPointer, void *clientdata)
Set the function and object to call for the task.
~vtkSlicerTask() override
void SetTypeToNetworking()
void SetTypeToProcessing()
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSlicerTask(const vtkSlicerTask &)
static vtkSlicerTask * New()
vtkMRMLAbstractLogic::TaskFunctionPointer TaskFunctionPointer