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;
84 void warning(
const char *format, ...);
109 const char *m_lastMessage;
113 LT_END_LIDAR_NAMESPACE
114 #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 displayWarning(const char *message)
void updateCompleted(double delta, const char *message)
Update the amount of work that has been done.
virtual void displayWarning(const char *message)
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)
void warning(const char *format,...)