Signals | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ObjDeletionHandler Class Reference

#include <ObjDeletionHandler.h>

Inheritance diagram for ObjDeletionHandler:
Inheritance graph
[legend]

Signals

void objDeletionEventReceived (int)
 

Public Member Functions

 ObjDeletionHandler (int watchedId, QObject *receiver=0, const char *member=0)
 
virtual ~ObjDeletionHandler ()
 
- 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 _watchedId
 

Detailed Description

Definition at line 35 of file ObjDeletionHandler.h.

Constructor & Destructor Documentation

ObjDeletionHandler::ObjDeletionHandler ( int  watchedId,
QObject *  receiver = 0,
const char *  member = 0 
)
inline

Definition at line 40 of file ObjDeletionHandler.h.

virtual ObjDeletionHandler::~ObjDeletionHandler ( )
inlinevirtual

Definition at line 47 of file ObjDeletionHandler.h.

Member Function Documentation

virtual bool ObjDeletionHandler::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 53 of file ObjDeletionHandler.h.

void ObjDeletionHandler::objDeletionEventReceived ( int  )
signal

Member Data Documentation

int ObjDeletionHandler::_watchedId
private

Definition at line 63 of file ObjDeletionHandler.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:08