|
Anklang-0.3.0.dev551+gad1415e2 anklang-0.3.0.dev551+gad1415e2
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. | |
Public Member Functions inherited from Ase::Emittable | |
| void | js_trigger (const String &eventselector, JsTrigger callback) |
Public Member Functions inherited from std::enable_shared_from_this< SharedBase > | |
| 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 | |
Public Attributes inherited from Ase::Emittable | |
| 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 |