Ingen  0.5.1
Classes | Public Types | Public Member Functions | List of all members
Ingen::Server::ControlBindings Class Reference

Classes

struct  Key
 

Public Types

enum  Type {
  NULL_CONTROL,
  MIDI_BENDER,
  MIDI_CC,
  MIDI_RPN,
  MIDI_NRPN,
  MIDI_CHANNEL_PRESSURE,
  MIDI_NOTE
}
 
typedef std::map< Key, PortImpl * > Bindings
 

Public Member Functions

 ControlBindings (Engine &engine)
 
Key port_binding (PortImpl *port) const
 
Key binding_key (const Atom &binding) const
 
void learn (PortImpl *port)
 
void port_binding_changed (RunContext &context, PortImpl *port, const Atom &binding)
 
void port_value_changed (RunContext &context, PortImpl *port, Key key, const Atom &value)
 
void pre_process (RunContext &context, Buffer *control_in)
 
void post_process (RunContext &context, Buffer *control_out)
 
SPtr< Bindings > remove (const Raul::Path &path)
 Remove all bindings for path or children of path. More...
 
SPtr< Bindings > remove (PortImpl *port)
 Remove binding for a particular port. More...
 

Member Function Documentation

§ remove() [1/2]

SPtr< ControlBindings::Bindings > Ingen::Server::ControlBindings::remove ( const Raul::Path &  path)

Remove all bindings for path or children of path.

The caller must safely drop the returned reference in the post-processing thread after at least one process thread has run.

§ remove() [2/2]

SPtr< ControlBindings::Bindings > Ingen::Server::ControlBindings::remove ( PortImpl port)

Remove binding for a particular port.

The caller must safely drop the returned reference in the post-processing thread after at least one process thread has run.


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