Class Ase::Emittable
Base type for classes with Event subscription.
#include <api.hh>
Inherits the following classes: Ase::SharedBase
Inherited by the following classes: Ase::EmittableImpl, Ase::Object, Ase::Property
Classes
Type | Name |
---|---|
struct | Connection |
Public Functions
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 inherited from Ase::VirtualBase
See Ase::VirtualBase
Type | Name |
---|---|
virtual | ~VirtualBase () noexcept = 0 |
Public Functions Documentation
function emit_event
virtual void Ase::Emittable::emit_event (
const String & type,
const String & detail,
const ValueR fields={}
) = 0
function emit_notify
virtual void Ase::Emittable::emit_notify (
const String & detail
) = 0
function js_trigger
void Ase::Emittable::js_trigger (
const String & eventselector,
JsTrigger callback
)
function on_event
virtual ASE_USE_RESULT Connection Ase::Emittable::on_event (
const String & eventselector,
const EventHandler & eventhandler
) = 0
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/api.hh