class mrpt::system::mrptEventOnDestroy

Overview

An event sent by any CObservable object (automatically) just before being destroyed and telling its observers to unsubscribe.

#include <mrpt/system/mrptEvent.h>

class mrptEventOnDestroy: public mrpt::system::mrptEvent
{
public:
    // fields

    const CObservable* source_object;

    // construction

    mrptEventOnDestroy(const CObservable* obj);
};