mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
0.12.3: Increased Tango rendering performance, modified all handleEvent() with new interface (now returning bool)
This commit is contained in:
@@ -50,13 +50,14 @@ signals:
|
||||
void objDeletionEventReceived(int);
|
||||
|
||||
protected:
|
||||
virtual void handleEvent(UEvent * event)
|
||||
virtual bool handleEvent(UEvent * event)
|
||||
{
|
||||
if(event->getClassName().compare("UObjDeletedEvent") == 0 &&
|
||||
event->getCode() == _watchedId)
|
||||
{
|
||||
emit objDeletionEventReceived(_watchedId);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
private:
|
||||
int _watchedId;
|
||||
|
||||
Reference in New Issue
Block a user