MeVisLab Toolbox Reference
mlEventSource.h File Reference
#include "mlBase.h"

Go to the source code of this file.

Classes

class  ml::EventSource
 EventSourceBase class adds event listener handling to Base. More...
 
class  ml::BaseEvent
 BaseEvent is the base class for all events emitted from EventSourceBase. More...
 
class  ml::EventSourceDeletedEvent
 EventSourceRemovedEvent is used to indicate when the EventSourceBase object is removed. More...
 

Namespaces

 ml
 Main documentation file for ML users and developers.
 

Typedefs

typedef void ml::BaseEventCallback(void *, BaseEvent *)
 

Functions

template<typename ToTypePtr >
ToTypePtr mlbaseevent_cast (ml::BaseEvent *from)
 cast operation for safely casting BaseEvents to derived types More...
 
template<typename ToTypePtr >
ToTypePtr mlbaseevent_cast (const ml::BaseEvent *from)
 Overload of the above template function, which makes conversion of const-pointers possible. More...
 

Function Documentation

◆ mlbaseevent_cast() [1/2]

template<typename ToTypePtr >
ToTypePtr mlbaseevent_cast ( const ml::BaseEvent from)
inline

Overload of the above template function, which makes conversion of const-pointers possible.

Definition at line 137 of file mlEventSource.h.

◆ mlbaseevent_cast() [2/2]

template<typename ToTypePtr >
ToTypePtr mlbaseevent_cast ( ml::BaseEvent from)
inline

cast operation for safely casting BaseEvents to derived types

Definition at line 123 of file mlEventSource.h.