Main MRPT website > C++ reference for MRPT 1.5.6
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

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

Definition at line 63 of file mrptEvent.h.

Member Function Documentation

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.

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

Definition at line 46 of file mrptEvent.h.

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

Definition at line 49 of file mrptEvent.h.

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

Member Data Documentation

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

Definition at line 65 of file mrptEvent.h.

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

Definition at line 51 of file mrptEvent.h.




Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018