Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Implementation type for classes with Event subscription. More...
#include "object.hh"
Classes | |
struct | EventDispatcher |
Public Member Functions | |
ASE_USE_RESULT Connection | on_event (const String &eventselector, const EventHandler &eventhandler) override |
void | emit_event (const String &type, const String &detail, const ValueR fields={}) override |
void | emit_notify (const String &detail) override |
Emit notify:detail , multiple notifications maybe coalesced if a CoalesceNotifies instance exists. | |
![]() | |
void | js_trigger (const String &eventselector, JsTrigger callback) |
![]() | |
T | enable_shared_from_this (T... args) |
T | operator= (T... args) |
T | shared_from_this (T... args) |
T | weak_from_this (T... args) |
T | ~enable_shared_from_this (T... args) |
Friends | |
class | EventConnection |
Additional Inherited Members | |
![]() | |
const EventHandler & | eventhandler |
|
overridevirtual |
Implements Ase::Emittable.
|
overridevirtual |
Emit notify:detail
, multiple notifications maybe coalesced if a CoalesceNotifies instance exists.
Implements Ase::Emittable.
Definition at line 164 of file object.cc.
References std::unordered_set::insert(), and std::enable_shared_from_this< SharedBase >::weak_from_this().
Referenced by Ase::TrackImpl::_set_parent(), Ase::ProjectImpl::create_track(), Ase::ProjectImpl::redo(), Ase::ProjectImpl::remove_track(), Ase::TrackImpl::serialize(), and Ase::ProjectImpl::undo().
|
override |
|
friend |