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 setMax (int max)
 
void setSwiftCallback (void *classPtr, void(*callback)(void *, int, int))
 
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_
 
int max_
 
void(* swiftCallback )(void *, int, int)
 
void * swiftClassPtr_
 

Detailed Description

Definition at line 29 of file ProgressionStatus.h.

Constructor & Destructor Documentation

◆ ProgressionStatus()

rtabmap::ProgressionStatus::ProgressionStatus ( )
inline

Definition at line 32 of file ProgressionStatus.h.

◆ ~ProgressionStatus()

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

Definition at line 90 of file ProgressionStatus.h.

Member Function Documentation

◆ callback()

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

Reimplemented from rtabmap::ProgressState.

Definition at line 81 of file ProgressionStatus.h.

◆ finish()

void rtabmap::ProgressionStatus::finish ( )
inline

Definition at line 76 of file ProgressionStatus.h.

◆ getMax()

int rtabmap::ProgressionStatus::getMax ( ) const
inline

Definition at line 69 of file ProgressionStatus.h.

◆ handleEvent()

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 93 of file ProgressionStatus.h.

◆ increment()

void rtabmap::ProgressionStatus::increment ( int  count = 1) const
inline

Definition at line 71 of file ProgressionStatus.h.

◆ reset()

void rtabmap::ProgressionStatus::reset ( int  max)
inline

Definition at line 56 of file ProgressionStatus.h.

◆ setMax()

void rtabmap::ProgressionStatus::setMax ( int  max)
inline

Definition at line 65 of file ProgressionStatus.h.

◆ setSwiftCallback()

void rtabmap::ProgressionStatus::setSwiftCallback ( void *  classPtr,
void(*)(void *, int, int)  callback 
)
inline

Definition at line 49 of file ProgressionStatus.h.

Member Data Documentation

◆ count_

int rtabmap::ProgressionStatus::count_
private

Definition at line 141 of file ProgressionStatus.h.

◆ max_

int rtabmap::ProgressionStatus::max_
private

Definition at line 142 of file ProgressionStatus.h.

◆ swiftCallback

void(* rtabmap::ProgressionStatus::swiftCallback) (void *, int, int)
private

Definition at line 148 of file ProgressionStatus.h.

◆ swiftClassPtr_

void* rtabmap::ProgressionStatus::swiftClassPtr_
private

Definition at line 147 of file ProgressionStatus.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00