20#ifndef UOBJDELETIONTHREAD_H
21#define UOBJDELETIONTHREAD_H
24#include "rtabmap/utilite/UEvent.h"
25#include "rtabmap/utilite/UEventsManager.h"
39 virtual std::string
getClassName()
const {
return std::string(
"UObjDeletedEvent");}
87 int id()
const {
return id_;}
108 virtual void mainLoop()
Backward-compatible alias header for UThread.
static void post(UEvent *event, bool async=true, const UEventsSender *sender=0)
virtual std::string getClassName() const
void startDeletion(int waitMs=0)
virtual ~UObjDeletionThread()
UObjDeletionThread(T *obj, int id=0)
void join(bool killFirst=false)