Public Member Functions | Protected Member Functions | Private Attributes | List of all members
rtabmap::ProgressionStatus Class Reference

#include <ProgressionStatus.h>

Inheritance diagram for rtabmap::ProgressionStatus:
Inheritance graph
[legend]

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 ()
 
- Public Member Functions inherited from rtabmap::ProgressState
bool isCanceled () const
 
 ProgressState ()
 
void setCanceled (bool canceled)
 
virtual ~ProgressState ()
 
- Public Member Functions inherited from UEventsHandler
void registerToEventsManager ()
 
void unregisterFromEventsManager ()
 
- Public Member Functions inherited from UEventsSender
 UEventsSender ()
 
virtual ~UEventsSender ()
 

Protected Member Functions

virtual bool handleEvent (UEvent *event)
 
- Protected Member Functions inherited from UEventsHandler
 UEventsHandler ()
 
virtual ~UEventsHandler ()
 
- Protected Member Functions inherited from UEventsSender
void post (UEvent *event, bool async=true) const
 

Private Attributes

int count_
 
JavaVM * jvm_
 
int max_
 
jobject rtabmap_
 

Detailed Description

Definition at line 27 of file ProgressionStatus.h.

Constructor & Destructor Documentation

rtabmap::ProgressionStatus::ProgressionStatus ( )
inline

Definition at line 30 of file ProgressionStatus.h.

virtual rtabmap::ProgressionStatus::~ProgressionStatus ( )
inlinevirtual

Definition at line 75 of file ProgressionStatus.h.

Member Function Documentation

virtual bool rtabmap::ProgressionStatus::callback ( const std::string &  msg) const
inlinevirtual

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)
inlineprotectedvirtual

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.

Returns
"true" to notify UEventsManager that this handler took ownership of the event (meaning it must delete it). The event will not be dispatched to next handlers.
"false" to let event be dispatched to next handlers (default behavior). UEventsManager will take care of deleting the event.

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.

Member Data Documentation

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.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:09