Main MRPT website > C++ reference for MRPT 1.5.8
List of all members | Public Member Functions | Public Attributes | Protected Member Functions
mrpt::utils::mrptEventOnDestroy Class Reference

Detailed Description

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

Definition at line 58 of file mrptEvent.h.

#include <mrpt/utils/mrptEvent.h>

Inheritance diagram for mrpt::utils::mrptEventOnDestroy:
Inheritance graph

Public Member Functions

 mrptEventOnDestroy (const CObservable *obj)
 
template<class EVENTTYPE >
bool isOfType () const
 
template<class EVENTTYPE >
const EVENTTYPE * getAs () const
 
template<class EVENTTYPE >
EVENTTYPE * getAsNonConst () const
 

Public Attributes

const CObservablesource_object
 
mrpt::system::TTimeStamp timestamp
 

Protected Member Functions

void do_nothing () MRPT_OVERRIDE
 Just to allow this class to be polymorphic. More...
 

Constructor & Destructor Documentation

◆ mrptEventOnDestroy()

mrpt::utils::mrptEventOnDestroy::mrptEventOnDestroy ( const CObservable obj)
inline

Definition at line 63 of file mrptEvent.h.

Member Function Documentation

◆ do_nothing()

void mrpt::utils::mrptEventOnDestroy::do_nothing ( )
inlineprotectedvirtual

Just to allow this class to be polymorphic.

Reimplemented from mrpt::utils::mrptEvent.

Definition at line 61 of file mrptEvent.h.

◆ getAs()

template<class EVENTTYPE >
const EVENTTYPE* mrpt::utils::mrptEvent::getAs ( ) const
inlineinherited

Definition at line 46 of file mrptEvent.h.

◆ getAsNonConst()

template<class EVENTTYPE >
EVENTTYPE* mrpt::utils::mrptEvent::getAsNonConst ( ) const
inlineinherited

Definition at line 49 of file mrptEvent.h.

◆ isOfType()

template<class EVENTTYPE >
bool mrpt::utils::mrptEvent::isOfType ( ) const
inlineinherited

Member Data Documentation

◆ source_object

const CObservable* mrpt::utils::mrptEventOnDestroy::source_object

Definition at line 65 of file mrptEvent.h.

◆ timestamp

mrpt::system::TTimeStamp mrpt::utils::mrptEvent::timestamp
inherited

Definition at line 51 of file mrptEvent.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.8 Git: f67d0f871 Wed Sep 25 18:32:17 2019 +0200 at lun oct 28 01:58:29 CET 2019