OTB
9.0.0
Orfeo Toolbox
|
#include <otbWriterWatcherBase.h>
Public Member Functions | |
std::string | GetComment () const |
const char * | GetNameOfClass () |
itk::ProcessObject * | GetProcess () |
otb::Stopwatch & | GetStopwatch () |
void | operator= (const WriterWatcherBase &) |
WriterWatcherBase () | |
WriterWatcherBase (const WriterWatcherBase &) | |
WriterWatcherBase (itk::ProcessObject *process, const char *comment="") | |
WriterWatcherBase (itk::ProcessObject *process, itk::ProcessObject *source, const char *comment="") | |
virtual | ~WriterWatcherBase () |
Protected Types | |
typedef itk::SimpleMemberCommand< WriterWatcherBase > | CommandType |
Protected Member Functions | |
virtual void | EndFilter ()=0 |
virtual void | EndWriter ()=0 |
virtual void | ShowFilterProgress ()=0 |
virtual void | ShowWriterProgress ()=0 |
virtual void | StartFilter ()=0 |
virtual void | StartWriter ()=0 |
Protected Attributes | |
std::string | m_Comment |
CommandType::Pointer | m_EndFilterCommand |
unsigned long | m_EndFilterTag |
CommandType::Pointer | m_EndWriterCommand |
unsigned long | m_EndWriterTag |
itk::ProcessObject::Pointer | m_Process |
CommandType::Pointer | m_ProgressFilterCommand |
unsigned long | m_ProgressFilterTag |
CommandType::Pointer | m_ProgressWriterCommand |
unsigned long | m_ProgressWriterTag |
itk::ProcessObject::Pointer | m_SourceProcess |
CommandType::Pointer | m_StartFilterCommand |
unsigned long | m_StartFilterTag |
CommandType::Pointer | m_StartWriterCommand |
unsigned long | m_StartWriterTag |
otb::Stopwatch | m_Stopwatch |
This class is an abstract class Provides an interface to progress task mechanic.
Implement your callbacks
Definition at line 51 of file otbWriterWatcherBase.h.
|
protected |
Internal type
Definition at line 131 of file otbWriterWatcherBase.h.
otb::WriterWatcherBase::WriterWatcherBase | ( | 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::WriterWatcherBase::WriterWatcherBase | ( | itk::ProcessObject * | process, |
itk::ProcessObject * | source, | ||
const char * | comment = "" |
||
) |
This other constructor is provided so that the user can set a different processing filter than the one just before process in the pipeline
otb::WriterWatcherBase::WriterWatcherBase | ( | ) |
Default constructor
otb::WriterWatcherBase::WriterWatcherBase | ( | const WriterWatcherBase & | ) |
Copy constructor
|
virtual |
Destructor.
|
protectedpure virtual |
Callback method to show the EndEvent from the filter
Implemented in otb::StandardWriterWatcher.
|
protectedpure virtual |
Callback method to show the EndEvent from the writer
Implemented in otb::StandardWriterWatcher.
|
inline |
Get the comment for the watcher.
Definition at line 88 of file otbWriterWatcherBase.h.
|
inline |
Definition at line 74 of file otbWriterWatcherBase.h.
|
inline |
Methods to access member data Get a pointer to the process object being watched.
Definition at line 82 of file otbWriterWatcherBase.h.
|
inline |
Get a reference to the Stopwatch
Definition at line 94 of file otbWriterWatcherBase.h.
void otb::WriterWatcherBase::operator= | ( | const WriterWatcherBase & | ) |
operator=
|
protectedpure virtual |
Callback method to show the ProgressEvent from the filter
Implemented in otb::StandardWriterWatcher.
|
protectedpure virtual |
Callback method to show the ProgressEvent from the writer
Implemented in otb::StandardWriterWatcher.
|
protectedpure virtual |
Callback method to show the StartEvent from the filter
Implemented in otb::StandardWriterWatcher.
|
protectedpure virtual |
Callback method to show the StartEvent from the writer
Implemented in otb::StandardWriterWatcher.
|
protected |
Associated comment
Definition at line 122 of file otbWriterWatcherBase.h.
|
protected |
End writer callback
Definition at line 146 of file otbWriterWatcherBase.h.
|
protected |
End observer
Definition at line 164 of file otbWriterWatcherBase.h.
|
protected |
End writer callback
Definition at line 137 of file otbWriterWatcherBase.h.
|
protected |
End observer
Definition at line 155 of file otbWriterWatcherBase.h.
|
protected |
Abstract process object
Definition at line 125 of file otbWriterWatcherBase.h.
|
protected |
Progress writer callback
Definition at line 149 of file otbWriterWatcherBase.h.
|
protected |
Progress observer
Definition at line 167 of file otbWriterWatcherBase.h.
|
protected |
Progress writer callback
Definition at line 140 of file otbWriterWatcherBase.h.
|
protected |
Progress observer
Definition at line 158 of file otbWriterWatcherBase.h.
|
protected |
Second abstract process object representing the source
Definition at line 128 of file otbWriterWatcherBase.h.
|
protected |
Start filter callback
Definition at line 143 of file otbWriterWatcherBase.h.
|
protected |
Start oberserver
Definition at line 161 of file otbWriterWatcherBase.h.
|
protected |
Start writer callback
Definition at line 134 of file otbWriterWatcherBase.h.
|
protected |
Start oberserver
Definition at line 152 of file otbWriterWatcherBase.h.
|
protected |
Computing time
Definition at line 119 of file otbWriterWatcherBase.h.