Skip to content

Class Ase::EmittableImpl

ClassList > Ase > EmittableImpl

Implementation type for classes with Event subscription.

  • #include <object.hh>

Inherits the following classes: Ase::Emittable

Inherited by the following classes: Ase::AudioPropertyImpl, Ase::ClapPropertyImpl, Ase::ObjectImpl, Ase::ParameterProperty

Classes

Type Name
struct EventDispatcher

Public Functions

Type Name
virtual void emit_event (const String & type, const String & detail, const ValueR fields={}) override
virtual void emit_notify (const String & detail) override
Emit notify:detail , multiple notifications maybe coalesced if a CoalesceNotifies instance exists.
virtual ASE_USE_RESULT Connection on_event (const String & eventselector, const EventHandler & eventhandler) override

Public Functions inherited from Ase::Emittable

See Ase::Emittable

Type Name
virtual void emit_event (const String & type, const String & detail, const ValueR fields={}) = 0
virtual void emit_notify (const String & detail) = 0
void js_trigger (const String & eventselector, JsTrigger callback)
virtual ASE_USE_RESULT Connection on_event (const String & eventselector, const EventHandler & eventhandler) = 0

Protected Functions

Type Name
virtual ~EmittableImpl ()

Protected Functions inherited from Ase::VirtualBase

See Ase::VirtualBase

Type Name
virtual ~VirtualBase () noexcept = 0

Public Functions Documentation

function emit_event

virtual void Ase::EmittableImpl::emit_event (
    const String & type,
    const String & detail,
    const ValueR fields={}
) override

Implements Ase::Emittable::emit_event


function emit_notify

virtual void Ase::EmittableImpl::emit_notify (
    const String & detail
) override

Implements Ase::Emittable::emit_notify


function on_event

virtual ASE_USE_RESULT Connection Ase::EmittableImpl::on_event (
    const String & eventselector,
    const EventHandler & eventhandler
) override

Implements Ase::Emittable::on_event


Protected Functions Documentation

function ~EmittableImpl

virtual Ase::EmittableImpl::~EmittableImpl () 


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