Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

MPluginControlInputPort Class Reference

A plugin control input port.

#include <MPluginControlInputPort.h>

Inheritance diagram for MPluginControlInputPort:

MControlInputPort MPluginPort MPort MPluginPortDescriptor List of all members.

Public Slots

virtual bool Connect (MControlOutputPort *port)
virtual bool Disconnect (MControlOutputPort *port)
virtual void SetValue (float f)

Public Member Functions

virtual float * Buffer ()
virtual float Value () const

Protected Member Functions

 MPluginControlInputPort (MPlugin *plugin, const unsigned long portNumber)

Protected Attributes

float _localValue

Friends

void MPlugin::createControlInput (const unsigned long portNumber)

Constructor & Destructor Documentation

MPluginControlInputPort::MPluginControlInputPort MPlugin plugin,
const unsigned long  portNumber
[protected]
 

Creates an plugin control input port corresponding to the portNumberth port of the LADSPA plugin.


Member Function Documentation

float * MPluginControlInputPort::Buffer  )  [virtual]
 

The buffer to be associated with the port.

In that case, the buffer will be a mere float.

Reimplemented from MPluginPort.

float MPluginControlInputPort::Value  )  const [virtual]
 

The current value of the control input.

bool MPluginControlInputPort::Connect MControlOutputPort port  )  [virtual, slot]
 

Implements MControlInputPort.

bool MPluginControlInputPort::Disconnect MControlOutputPort port  )  [virtual, slot]
 

Implements MControlInputPort.

void MPluginControlInputPort::SetValue float  f  )  [virtual, slot]
 

Sets the value of the control input to f.

This will write f to the Buffer( ).


Member Data Documentation

float MPluginControlInputPort::_localValue [protected]
 

Actual local buffer.


The documentation for this class was generated from the following files:
Generated on Mon Jan 31 12:43:31 2005 for la Marmite by Doxygen 1.4.1