|
| Preset (Preset&& src) noexcept |
|
Preset& | operator= (Preset&& src) noexcept |
|
| ~Preset () noexcept override |
|
GstPreset* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GstPreset* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
Glib::StringArrayHandle | get_preset_names () const |
| Get a copy of preset names as a nullptr terminated string array. More...
|
|
Glib::StringArrayHandle | get_property_names () const |
| Get a the names of the GObject properties that can be used for presets. More...
|
|
bool | load_preset (const Glib::ustring& name) |
| Load the given preset. More...
|
|
bool | save_preset (const Glib::ustring& name) |
| Save the current object settings as a preset under the given name. More...
|
|
bool | rename_preset (const Glib::ustring& old_name, const Glib::ustring& new_name) |
| Renames a preset. More...
|
|
bool | delete_preset (const Glib::ustring& name) |
| Delete the given preset. More...
|
|
bool | set_meta (const Glib::ustring& name, const Glib::ustring& tag, const Glib::ustring& value) |
| Sets a new value for an existing meta data item or adds a new item. More...
|
|
bool | is_editable () const |
| Check if one can add new presets, change existing ones and remove presets. More...
|
|
bool | get_meta (const Glib::ustring& name, const Glib::ustring& tag, Glib::ustring& value) const |
| Gets the value for an existing meta data tag. More...
|
|
virtual Glib::StringArrayHandle | get_preset_names_vfunc () const |
|
virtual Glib::StringArrayHandle | get_property_names_vfunc () const |
|
virtual bool | load_preset_vfunc (const Glib::ustring& name) |
|
virtual bool | save_preset_vfunc (const Glib::ustring& name) const |
|
virtual bool | rename_preset_vfunc (const Glib::ustring& old_name, const Glib::ustring& new_name) |
|
virtual bool | delete_preset_vfunc (const Glib::ustring& name) |
|
virtual bool | set_meta_vfunc (const Glib::ustring& name, const Glib::ustring& tag, const Glib::ustring& value) |
|
virtual bool | get_meta_vfunc (const Glib::ustring& name, const Glib::ustring& tag, Glib::ustring& value) const |
|
| Interface () |
|
| Interface (Interface &&src) noexcept |
|
Interface & | operator= (Interface &&src) noexcept |
|
| Interface (const Glib::Interface_Class &interface_class) |
|
| Interface (GObject *castitem) |
|
| ~Interface () noexcept override |
|
| Interface (const Interface &)=delete |
|
Interface & | operator= (const Interface &)=delete |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
| ObjectBase (const ObjectBase &)=delete |
|
ObjectBase & | operator= (const ObjectBase &)=delete |
|
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
|
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
|
void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
|
void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
|
void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
|
void | connect_property_changed (const Glib::ustring &property_name, sigc::slot< void > &&slot) |
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, sigc::slot< void > &&slot) |
|
void | freeze_notify () |
|
void | thaw_notify () |
|
virtual void | reference () const |
|
virtual void | unreference () const |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
GObject * | gobj_copy () const |
|
| trackable () noexcept |
|
| trackable (const trackable &src) noexcept |
|
| trackable (trackable &&src) |
|
| ~trackable () |
|
void | add_destroy_notify_callback (void *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) |
|
void | remove_destroy_notify_callback (void *data) const |
|
A helper interface for element presets.
This interface offers methods to query and manipulate parameter preset sets. A preset is a bunch of property settings, together with meta data and a name. The name of a preset serves as key for subsequent method calls to manipulate single presets. All instances of one type will share the list of presets. The list is created on demand, if presets are not used, the list is not created.
The interface comes with a default implementation that serves most plugins. Wrapper plugins will override most methods to implement support for the native preset format of those wrapped plugins. One method that is useful to be overridden is property_names_vfunc(). With that, one can control which properties are saved and in which order.
Last reviewed on 2016-06-06 (1.8.0)