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

MPluginPortDescriptor Class Reference

A plugin port descriptor. More...

#include <MPluginPortDescriptor.h>

Inheritance diagram for MPluginPortDescriptor:

MPluginPort MPluginAudioInputPort MPluginAudioOutputPort MPluginControlInputPort MPluginControlOutputPort List of all members.

Public Member Functions

virtual MPluginDescriptorPluginDescriptor () const
virtual const LADSPA_PortDescriptor PortDescriptor () const
virtual string Name () const
virtual string FullName () const
virtual bool IsAudio () const
virtual bool IsControl () const
virtual bool IsInput () const
virtual bool IsOutput () const
virtual unsigned long PortNumber () const

Protected Member Functions

 MPluginPortDescriptor (MPluginDescriptor *pluginDescriptor, unsigned long portNumber)

Protected Attributes

MPluginDescriptor_pluginDescriptor
unsigned long _portNumber

Friends

void MPluginDescriptor::createAudioInput (const unsigned long portNumber)
void MPluginDescriptor::createAudioOutput (const unsigned long portNumber)
void MPluginDescriptor::createControlInput (const unsigned long portNumber)
void MPluginDescriptor::createControlOutput (const unsigned long portNumber)

Detailed Description

This is the descriptor of a plugin port ( belonging to a MPluginDescriptor ).

It's not an actual port and it's not holding any buffer.


Constructor & Destructor Documentation

MPluginPortDescriptor::MPluginPortDescriptor MPluginDescriptor pluginDescriptor,
unsigned long  portNumber
[protected]
 

Creates a port corresponding to the portNumberth port of the LADSPA plugin structures and belonging to pluginDescriptor.


Member Function Documentation

MPluginDescriptor * MPluginPortDescriptor::PluginDescriptor  )  const [virtual]
 

The plugin descriptor owning the port.

const LADSPA_PortDescriptor MPluginPortDescriptor::PortDescriptor  )  const [virtual]
 

The LADSPA_PortDescriptor corresponding to the port.

string MPluginPortDescriptor::Name  )  const [virtual]
 

The name of the port.

string MPluginPortDescriptor::FullName  )  const [virtual]
 

The full name of the port.

The full name of the port is given acccording to the format : plugin_label::port_name.

bool MPluginPortDescriptor::IsAudio  )  const [virtual]
 

Is the port an audio port ?

bool MPluginPortDescriptor::IsControl  )  const [virtual]
 

Is the port a control port ?

bool MPluginPortDescriptor::IsInput  )  const [virtual]
 

Is the port an input port ?

bool MPluginPortDescriptor::IsOutput  )  const [virtual]
 

Is the port an output port ?

unsigned long MPluginPortDescriptor::PortNumber  )  const [virtual]
 

The number of the port in the LADSPA plugin structures.


Member Data Documentation

MPluginDescriptor* MPluginPortDescriptor::_pluginDescriptor [protected]
 

The plugin descriptor owning the port.

unsigned long MPluginPortDescriptor::_portNumber [protected]
 

The number of the port in the LADSPA plugin structures.


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