Ingen  0.5.1
Public Member Functions | List of all members
Ingen::Server::LV2Plugin Class Reference

Implementation of an LV2 plugin (loaded shared library). More...

#include <LV2Plugin.hpp>

+ Inheritance diagram for Ingen::Server::LV2Plugin:
+ Collaboration diagram for Ingen::Server::LV2Plugin:

Public Member Functions

 LV2Plugin (World *world, const LilvPlugin *lplugin)
 
BlockImplinstantiate (BufferFactory &bufs, const Raul::Symbol &symbol, bool polyphonic, GraphImpl *parent, Engine &engine, const LilvState *state)
 
const Raul::Symbol symbol () const
 
Worldworld () const
 
const LilvPlugin * lilv_plugin () const
 
void update_properties ()
 
void load_presets ()
 
Raul::URI bundle_uri () const
 
- Public Member Functions inherited from Ingen::Server::PluginImpl
 PluginImpl (Ingen::URIs &uris, const Atom &type, const Raul::URI &uri)
 
const Atomtype () const
 
void set_type (const Atom &t)
 
bool is_zombie () const
 
void set_is_zombie (bool t)
 
const Presets & presets (bool force_reload=false)
 
- Public Member Functions inherited from Ingen::Resource
 Resource (const URIs &uris, const Raul::URI &uri)
 
Resourceoperator= (const Resource &rhs)
 
virtual const Atomget_property (const Raul::URI &uri) const
 Get a single property value. More...
 
virtual const Atomset_property (const Raul::URI &uri, const Atom &value, Graph ctx=Graph::DEFAULT)
 Set (replace) a property value. More...
 
virtual const Atomset_property (const Raul::URI &uri, const URIs::Quark &value, Graph ctx=Graph::DEFAULT)
 Set (replace) a property value. More...
 
virtual bool add_property (const Raul::URI &uri, const Atom &value, Graph ctx=Graph::DEFAULT)
 Add a property value. More...
 
virtual void remove_property (const Raul::URI &uri, const Atom &value)
 Remove a property. More...
 
virtual void remove_property (const Raul::URI &uri, const URIs::Quark &value)
 Remove a property. More...
 
virtual bool has_property (const Raul::URI &uri, const Atom &value) const
 Return true iff a property is set with a specific value. More...
 
virtual bool has_property (const Raul::URI &uri, const URIs::Quark &value) const
 Return true iff a property is set with a specific value. More...
 
void set_properties (const Properties &p)
 Set (replace) several properties at once. More...
 
void add_properties (const Properties &p)
 Add several properties at once. More...
 
void remove_properties (const Properties &p)
 Remove several properties at once. More...
 
virtual void on_property (const Raul::URI &uri, const Atom &value)
 Hook called whenever a property is added. More...
 
virtual void on_property_removed (const Raul::URI &uri, const Atom &value)
 Hook called whenever a property value is removed. More...
 
virtual void set_uri (const Raul::URI &uri)
 
Properties properties (Resource::Graph ctx) const
 Get all the properties with a given context. More...
 
const URIsuris () const
 
const Raul::URI & uri () const
 
const Propertiesproperties () const
 
Propertiesproperties ()
 

Additional Inherited Members

- Public Types inherited from Ingen::Server::PluginImpl
typedef std::pair< Raul::URI, std::string > Preset
 
typedef std::map< Raul::URI, std::string > Presets
 
- Public Types inherited from Ingen::Resource
enum  Graph {
  DEFAULT,
  EXTERNAL,
  INTERNAL
}
 
- Static Public Member Functions inherited from Ingen::Resource
static Raul::URI graph_to_uri (Graph g)
 
static Graph uri_to_graph (const char *uri)
 
static bool type (const URIs &uris, const Properties &properties, bool &graph, bool &block, bool &port, bool &is_output)
 Get the ingen type from a set of Properties. More...
 
- Protected Member Functions inherited from Ingen::Resource
const Atomset_property (const Raul::URI &uri, const Atom &value) const
 
- Protected Attributes inherited from Ingen::Server::PluginImpl
Atom _type
 
Presets _presets
 
bool _presets_loaded
 
bool _is_zombie
 
- Protected Attributes inherited from Ingen::Resource
const URIs_uris
 

Detailed Description

Implementation of an LV2 plugin (loaded shared library).


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