#include <ProgressionStatus.h>
Public Member Functions | |
virtual bool | callback (const std::string &msg) const |
void | finish () |
int | getMax () const |
void | increment (int count=1) const |
ProgressionStatus () | |
void | reset (int max) |
void | setJavaObjects (JavaVM *jvm, jobject rtabmap) |
void | setMax (int max) |
virtual | ~ProgressionStatus () |
Protected Member Functions | |
virtual bool | handleEvent (UEvent *event) |
Private Attributes | |
int | count_ |
JavaVM * | jvm_ |
int | max_ |
jobject | rtabmap_ |
Definition at line 27 of file ProgressionStatus.h.
rtabmap::ProgressionStatus::ProgressionStatus | ( | ) | [inline] |
Definition at line 30 of file ProgressionStatus.h.
virtual rtabmap::ProgressionStatus::~ProgressionStatus | ( | ) | [inline, virtual] |
Definition at line 75 of file ProgressionStatus.h.
virtual bool rtabmap::ProgressionStatus::callback | ( | const std::string & | msg | ) | const [inline, virtual] |
Reimplemented from rtabmap::ProgressState.
Definition at line 66 of file ProgressionStatus.h.
void rtabmap::ProgressionStatus::finish | ( | ) | [inline] |
Definition at line 61 of file ProgressionStatus.h.
int rtabmap::ProgressionStatus::getMax | ( | ) | const [inline] |
Definition at line 54 of file ProgressionStatus.h.
virtual bool rtabmap::ProgressionStatus::handleEvent | ( | UEvent * | event | ) | [inline, protected, virtual] |
Method called by the UEventsManager to handle an event. Important : this method must do a minimum of work because the faster the dispatching loop is done; the faster the events are received. If a handling function takes too much time, the events list can grow faster than it is emptied. The event can be modified.
Implements UEventsHandler.
Definition at line 78 of file ProgressionStatus.h.
void rtabmap::ProgressionStatus::increment | ( | int | count = 1 | ) | const [inline] |
Definition at line 56 of file ProgressionStatus.h.
void rtabmap::ProgressionStatus::reset | ( | int | max | ) | [inline] |
Definition at line 41 of file ProgressionStatus.h.
void rtabmap::ProgressionStatus::setJavaObjects | ( | JavaVM * | jvm, |
jobject | rtabmap | ||
) | [inline] |
Definition at line 35 of file ProgressionStatus.h.
void rtabmap::ProgressionStatus::setMax | ( | int | max | ) | [inline] |
Definition at line 50 of file ProgressionStatus.h.
int rtabmap::ProgressionStatus::count_ [private] |
Definition at line 115 of file ProgressionStatus.h.
JavaVM* rtabmap::ProgressionStatus::jvm_ [private] |
Definition at line 117 of file ProgressionStatus.h.
int rtabmap::ProgressionStatus::max_ [private] |
Definition at line 116 of file ProgressionStatus.h.
jobject rtabmap::ProgressionStatus::rtabmap_ [private] |
Definition at line 118 of file ProgressionStatus.h.