|
Anklang-0.3.0.dev797+g4e3241f3 anklang-0.3.0.dev797+g4e3241f3
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Base type for classes that have a Property. More...
#include "api.hh"
Public Member Functions | |
| virtual GadgetImpl * | _parent () const =0 |
| Retrieve parent container. | |
| virtual void | _set_parent (GadgetImpl *parent)=0 |
| Assign parent container. | |
| ProjectImpl * | _project () const |
| Find Project in parent ancestry. | |
| virtual String | name () const =0 |
| virtual void | name (const std::string &n)=0 |
| virtual String | type_nick () const =0 |
| virtual StringS | list_properties () |
| List all property identifiers. | |
| virtual PropertyP | access_property (String ident) |
| Retrieve handle for a Property. | |
| virtual PropertyS | access_properties ()=0 |
| Retrieve handles for all properties. | |
| Value | get_value (String ident) |
| Get native property value. | |
| bool | set_value (String ident, const Value &v) |
| Set native property value. | |
| virtual bool | set_data (const String &key, const Value &v)=0 |
| Assign session data, prefix ephemerals with '_'. | |
| virtual Value | get_data (const String &key) const =0 |
| Retrieve session data. | |
Public Member Functions inherited from Ase::Emittable | |
| 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 > | |
| 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) |
Additional Inherited Members | |
Public Attributes inherited from Ase::Emittable | |
| const EventHandler & | eventhandler |
|
pure virtual |
Retrieve parent container.
Implemented in Ase::GadgetImpl.
Referenced by _project(), and Ase::Device::_track().
| ProjectImpl * Ase::Gadget::_project | ( | ) | const |
|
pure virtual |
Assign parent container.
Implemented in Ase::DeviceImpl, and Ase::GadgetImpl.
|
pure virtual |
Retrieve handles for all properties.
Implemented in Ase::GadgetImpl.
Referenced by access_property(), and list_properties().
|
virtual |
Retrieve handle for a Property.
Definition at line 187 of file gadget.cc.
References access_properties().
Referenced by get_value(), and set_value().
Retrieve session data.
Implemented in Ase::GadgetImpl, and Ase::ServerImpl.
|
virtual |
List all property identifiers.
Definition at line 176 of file gadget.cc.
References access_properties(), std::vector::push_back(), and std::vector::reserve().
Assign session data, prefix ephemerals with '_'.
Implemented in Ase::GadgetImpl, and Ase::ServerImpl.