| 
    Anklang-0.3.0.dev502+ga23511a1 anklang-0.3.0.dev502+ga23511a1
    
   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 | get_name () const =0 | 
| virtual void | set_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) | 
| 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) | 
Public Attributes | |
| Member<&Gadget::get_name,&Gadget::set_name > | name | 
  Public Attributes inherited from Ase::Emittable | |
| const EventHandler & | eventhandler | 
      
  | 
  pure virtual | 
Retrieve parent container.
Implemented in Ase::GadgetImpl.
Referenced by _project(), Ase::Device::_track(), and Ase::NativeDeviceImpl::remove_device().
| ProjectImpl * Ase::Gadget::_project | ( | ) | const | 
      
  | 
  pure virtual | 
Assign parent container.
Implemented in Ase::ClapDeviceImpl, Ase::DeviceImpl, Ase::GadgetImpl, Ase::NativeDeviceImpl, and Ase::TrackImpl.
      
  | 
  pure virtual | 
Retrieve handles for all properties.
Implemented in Ase::ClapDeviceImpl, Ase::GadgetImpl, and Ase::NativeDeviceImpl.
      
  | 
  virtual | 
Retrieve session data.
Implemented in Ase::GadgetImpl, and Ase::ServerImpl.
      
  | 
  virtual | 
List all property identifiers.
Definition at line 177 of file gadget.cc.
References std::vector::push_back(), and std::vector::reserve().
Assign session data, prefix ephemerals with '_'.
Implemented in Ase::GadgetImpl, and Ase::ServerImpl.
| Member<&Gadget::get_name,&Gadget::set_name> Ase::Gadget::name |