The ProgressListener class.
More...
#include <progressNotification.h>
The ProgressListener class.
Definition at line 59 of file progressNotification.h.
◆ ProgressListener() [1/2]
Class constructor.
- Parameters
-
Definition at line 34 of file progressNotification.cpp.
References __notif, GUM_CONNECT, whenProgress(), and whenStop().
virtual void whenProgress(const void *src, const Size step, const double time)=0
When progress was made.
virtual void whenStop(const void *src, const std::string &message)=0
When it stops.
ProgressListener(ProgressNotifier ¬if)
Class constructor.
#define GUM_CONNECT(sender, signal, receiver, target)
ProgressNotifier & __notif
The scheme configuration.
◆ ~ProgressListener()
gum::ProgressListener::~ProgressListener |
( |
| ) |
|
|
virtual |
Class destructor.
Definition at line 47 of file progressNotification.cpp.
ProgressListener(ProgressNotifier ¬if)
Class constructor.
◆ ProgressListener() [2/2]
Copy constructor.
Definition at line 41 of file progressNotification.cpp.
References GUM_ERROR.
44 GUM_ERROR(OperationNotAllowed,
"No copy constructor for ProgressListener");
ProgressListener(ProgressNotifier ¬if)
Class constructor.
ProgressNotifier & __notif
The scheme configuration.
#define GUM_ERROR(type, msg)
◆ attachSignal__()
INLINE void gum::Listener::attachSignal__ |
( |
__sig__::ISignaler * |
sender | ) |
|
|
inherited |
◆ detachSignal__()
INLINE void gum::Listener::detachSignal__ |
( |
__sig__::ISignaler * |
sender | ) |
|
|
inherited |
◆ operator=()
Copy operator.
Definition at line 49 of file progressNotification.cpp.
References GUM_ERROR.
51 GUM_ERROR(OperationNotAllowed,
"No copy constructor for ProgressListener");
ProgressListener(ProgressNotifier ¬if)
Class constructor.
#define GUM_ERROR(type, msg)
◆ whenProgress()
virtual void gum::ProgressListener::whenProgress |
( |
const void * |
src, |
|
|
const Size |
step, |
|
|
const double |
time |
|
) |
| |
|
pure virtual |
When progress was made.
- Parameters
-
src | The signal source. |
step | The advancement in percent. |
time | The time. |
Referenced by ProgressListener().
◆ whenStop()
virtual void gum::ProgressListener::whenStop |
( |
const void * |
src, |
|
|
const std::string & |
message |
|
) |
| |
|
pure virtual |
When it stops.
- Parameters
-
src | The signal source. |
message | A message. |
Referenced by ProgressListener().
◆ __notif
The documentation for this class was generated from the following files: