Skip to content

Class Ase::EventConnection

ClassList > Ase > EventConnection

Public Attributes

Type Name
EventDispatcher * dispatcher_ = = nullptr
EventHandler handler_
const String selector_

Public Functions

Type Name
EventConnection (EventDispatcher & edispatcher, const String & eventselector, EventHandler handler)
bool connected () const
void disconnect ()
void emit (const Event & event, const String & event_type, const String & detailedevent)
~EventConnection ()

Public Attributes Documentation

variable dispatcher_

EventDispatcher* Ase::EventConnection::dispatcher_;

variable handler_

EventHandler Ase::EventConnection::handler_;

variable selector_

const String Ase::EventConnection::selector_;

Public Functions Documentation

function EventConnection

inline Ase::EventConnection::EventConnection (
    EventDispatcher & edispatcher,
    const String & eventselector,
    EventHandler handler
) 

function connected

inline bool Ase::EventConnection::connected () const

function disconnect

void Ase::EventConnection::disconnect () 

function emit

inline void Ase::EventConnection::emit (
    const Event & event,
    const String & event_type,
    const String & detailedevent
) 

function ~EventConnection

Ase::EventConnection::~EventConnection () 


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/object.cc