Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
Ase::Emittable Class Referenceabstract

Base type for classes with Event subscription. More...

#include "api.hh"

Inheritance diagram for Ase::Emittable:
[legend]

Classes

struct  Connection
 

Public Member Functions

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)
 
- Public Member Functions inherited from std::enable_shared_from_this< SharedBase >
enable_shared_from_this (T... args)
 
operator= (T... args)
 
shared_from_this (T... args)
 
weak_from_this (T... args)
 
~enable_shared_from_this (T... args)
 

Public Attributes

const EventHandlereventhandler
 

Detailed Description

Base type for classes with Event subscription.

Definition at line 121 of file api.hh.

Member Function Documentation

◆ emit_notify()

virtual void Ase::Emittable::emit_notify ( const String detail)
pure virtual

Implemented in Ase::EmittableImpl.

◆ js_trigger()

void Ase::Emittable::js_trigger ( const String eventselector,
JsTrigger  callback 
)

Definition at line 218 of file object.cc.

Member Data Documentation

◆ eventhandler

const EventHandler& Ase::Emittable::eventhandler

Definition at line 129 of file api.hh.


The documentation for this class was generated from the following files: