OTB
9.0.0
Orfeo Toolbox
|
#include <otbFilterWatcherBase.h>
Public Member Functions | |
FilterWatcherBase () | |
FilterWatcherBase (const FilterWatcherBase &) | |
FilterWatcherBase (itk::ProcessObject *process, const char *comment="") | |
std::string | GetComment () |
const char * | GetNameOfClass () |
itk::ProcessObject * | GetProcess () |
otb::Stopwatch & | GetStopwatch () |
void | operator= (const FilterWatcherBase &) |
virtual | ~FilterWatcherBase () |
Protected Member Functions | |
virtual void | ShowProgressCallback () |
typedef itk::SimpleMemberCommand< FilterWatcherBase > | CommandType |
otb::Stopwatch | m_Stopwatch |
std::string | m_Comment |
itk::ProcessObject::Pointer | m_Process |
CommandType::Pointer | m_StartFilterCommand |
CommandType::Pointer | m_EndFilterCommand |
CommandType::Pointer | m_ProgressFilterCommand |
unsigned long | m_StartTag |
unsigned long | m_EndTag |
unsigned long | m_ProgressTag |
bool | m_Started |
bool | m_Ended |
virtual void | StartFilterCallback () |
virtual void | EndFilterCallback () |
virtual void | ShowProgress ()=0 |
virtual void | StartFilter ()=0 |
virtual void | EndFilter ()=0 |
This class is an abstract class Provides an interface to progress task mechanic.
Implement your callbacks
Definition at line 48 of file otbFilterWatcherBase.h.
|
protected |
Internal type
Definition at line 140 of file otbFilterWatcherBase.h.
otb::FilterWatcherBase::FilterWatcherBase | ( | itk::ProcessObject * | process, |
const char * | comment = "" |
||
) |
Constructor. Takes a ProcessObject to monitor and an optional comment string that is prepended to each event message.
otb::FilterWatcherBase::FilterWatcherBase | ( | ) |
Default constructor
otb::FilterWatcherBase::FilterWatcherBase | ( | const FilterWatcherBase & | ) |
Copy constructor
|
virtual |
Destructor.
|
protectedpure virtual |
Callback method to show the EndEvent
Implemented in otb::StandardOneLineFilterWatcher< PrintCallbackType >, otb::StandardOneLineFilterWatcher<>, and otb::StandardFilterWatcher.
|
inlineprotectedvirtual |
Callback method to show the EndEvent
Definition at line 111 of file otbFilterWatcherBase.h.
|
inline |
Get the comment for the watcher.
Definition at line 81 of file otbFilterWatcherBase.h.
|
inline |
Definition at line 67 of file otbFilterWatcherBase.h.
|
inline |
Methods to access member data Get a pointer to the process object being watched.
Definition at line 75 of file otbFilterWatcherBase.h.
|
inline |
Get a reference to the Stopwatch
Definition at line 87 of file otbFilterWatcherBase.h.
void otb::FilterWatcherBase::operator= | ( | const FilterWatcherBase & | ) |
operator=
|
protectedpure virtual |
Callback method to show the ProgressEvent
Implemented in otb::StandardOneLineFilterWatcher< PrintCallbackType >, otb::StandardOneLineFilterWatcher<>, and otb::StandardFilterWatcher.
|
inlineprotectedvirtual |
Callback method to show the ProgressEvent
Definition at line 94 of file otbFilterWatcherBase.h.
|
protectedpure virtual |
Callback method to show the StartEvent
Implemented in otb::StandardOneLineFilterWatcher< PrintCallbackType >, otb::StandardOneLineFilterWatcher<>, and otb::StandardFilterWatcher.
|
inlineprotectedvirtual |
Callback method to show the StartEvent
Definition at line 100 of file otbFilterWatcherBase.h.
|
protected |
Associated comment
Definition at line 134 of file otbFilterWatcherBase.h.
|
protected |
Some filters (for ex. persistents) invoke the EndEvent several times Work around this by remembering if it was called or not
Definition at line 166 of file otbFilterWatcherBase.h.
|
protected |
End filter callback
Definition at line 146 of file otbFilterWatcherBase.h.
|
protected |
End observer
Definition at line 155 of file otbFilterWatcherBase.h.
|
protected |
Abstract process object
Definition at line 137 of file otbFilterWatcherBase.h.
|
protected |
Progress filter callback
Definition at line 149 of file otbFilterWatcherBase.h.
|
protected |
Progress observer
Definition at line 158 of file otbFilterWatcherBase.h.
|
protected |
Some filters (for ex. persistents) invoke the StartEvent several times Work around this by remembering if it was called or not
Definition at line 162 of file otbFilterWatcherBase.h.
|
protected |
Start filter callback
Definition at line 143 of file otbFilterWatcherBase.h.
|
protected |
Start oberserver
Definition at line 152 of file otbFilterWatcherBase.h.
|
protected |
Computing time
Definition at line 131 of file otbFilterWatcherBase.h.