28#ifndef UOBJDELETIONTHREAD_H
29#define UOBJDELETIONTHREAD_H
32#include "rtabmap/utilite/UEvent.h"
33#include "rtabmap/utilite/UEventsManager.h"
47 virtual std::string
getClassName()
const {
return std::string(
"UObjDeletedEvent");}
95 int id()
const {
return id_;}
116 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)