RTK  2.6.0
Reconstruction Toolkit
Public Types | Public Member Functions | Protected Member Functions | List of all members
rtk::ProgressCommand< TCaller > Class Template Referenceabstract

#include <rtkProgressCommands.h>

+ Inheritance diagram for rtk::ProgressCommand< TCaller >:
+ Collaboration diagram for rtk::ProgressCommand< TCaller >:

Public Types

typedef itk::SmartPointer< SelfPointer
 
typedef ProgressCommand Self
 
typedef itk::Command Superclass
 

Public Member Functions

void Execute (itk::Object *caller, const itk::EventObject &event) override
 
void Execute (const itk::Object *caller, const itk::EventObject &event) override
 

Protected Member Functions

virtual void End (const TCaller *)
 
virtual void Run (const TCaller *caller)=0
 

Detailed Description

template<typename TCaller>
class rtk::ProgressCommand< TCaller >

Abstract superclass to all progress callbacks. Derived classes must implement the Run() method.

Author
Aurélien Coussat

Definition at line 37 of file rtkProgressCommands.h.

Member Typedef Documentation

◆ Pointer

template<typename TCaller >
typedef itk::SmartPointer<Self> rtk::ProgressCommand< TCaller >::Pointer

Definition at line 43 of file rtkProgressCommands.h.

◆ Self

template<typename TCaller >
typedef ProgressCommand rtk::ProgressCommand< TCaller >::Self

Standard class typedefs.

Definition at line 41 of file rtkProgressCommands.h.

◆ Superclass

template<typename TCaller >
typedef itk::Command rtk::ProgressCommand< TCaller >::Superclass

Definition at line 42 of file rtkProgressCommands.h.

Member Function Documentation

◆ End()

template<typename TCaller >
virtual void rtk::ProgressCommand< TCaller >::End ( const TCaller *  )
inlineprotectedvirtual

Callback function executed when filter concludes.

Reimplemented in rtk::PercentageProgressCommand< TCaller >.

Definition at line 77 of file rtkProgressCommands.h.

◆ Execute() [1/2]

template<typename TCaller >
void rtk::ProgressCommand< TCaller >::Execute ( itk::Object caller,
const itk::EventObject event 
)
inlineoverridevirtual

Implements itk::Command.

Definition at line 46 of file rtkProgressCommands.h.

◆ Execute() [2/2]

template<typename TCaller >
void rtk::ProgressCommand< TCaller >::Execute ( const itk::Object caller,
const itk::EventObject event 
)
inlineoverridevirtual

Implements itk::Command.

Definition at line 52 of file rtkProgressCommands.h.

◆ Run()

template<typename TCaller >
virtual void rtk::ProgressCommand< TCaller >::Run ( const TCaller *  caller)
protectedpure virtual

Callback function to be redefined by derived classes.

Implemented in rtk::PercentageProgressCommand< TCaller >.


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