12 #ifndef __LIDAR_PROGRESS_DELEGATE_H__
13 #define __LIDAR_PROGRESS_DELEGATE_H__
17 LT_BEGIN_LIDAR_NAMESPACE
44 virtual void reportProgress(
double progress,
const char *message) = 0;
104 const char *m_lastMessage;
108 LT_END_LIDAR_NAMESPACE
109 #endif // __LIDAR_PROGRESS_DELEGATE_H__
virtual ~ProgressDelegate(void)
void reportProgress(double fractionDone, const char *message)
Displays the progress of the operation.
double getProgress(void) const
Get the fraction the work completed.
ProgressDelegate is the base class for progress and interrupt reporting.
~PercentProgressDelegate(void)
void updateCompleted(double delta, const char *message)
Update the amount of work that has been done.
void setTotal(double total)
Set the total amount of work that must be done.
bool getCancelled(void)
Indicate weather the operation should be cancelled.
virtual void reportProgress(double progress, const char *message)=0
Displays the progress of the operation.
virtual bool getCancelled(void)=0
Indicate weather the operation should be cancelled.
PercentProgressDelegate(void)
void setCancelled(bool cancel)