#include <MPort.h>
Inheritance diagram for MPort:

Signals | |
| void | Connected (MPort *port) |
| void | Disconnected (MPort *port) |
Public Member Functions | |
| virtual string | Name () const |
| virtual string | FullName () const |
| virtual float * | Buffer ()=0 |
| virtual MModule * | Module () const |
| virtual bool | IsAudio () const =0 |
| virtual bool | IsControl () const =0 |
| virtual bool | IsInput () const =0 |
| virtual bool | IsOutput () const =0 |
| virtual bool | IsConnectedTo (const MPort *port) const =0 |
| virtual unsigned int | NumberOfConnections () const =0 |
| virtual MPort * | Connection (const unsigned int n) const =0 |
Protected Member Functions | |
| MPort (string name, MModule *module) | |
Protected Attributes | |
| string | _name |
| MModule * | _module |
|
||||||||||||
|
Creates a port called name and belonging to the module module.
|
|
|
The name of the port.
|
|
|
The full name of the port.
The full name of the port is given according to the format : Reimplemented in MExternalAudioInputPort. |
|
|
The buffer associated with the port.
Implemented in MClientAudioInputPort, MClientAudioOutputPort, MExternalAudioInputPort, MPluginAudioInputPort, MPluginAudioOutputPort, MPluginControlInputPort, and MPluginControlOutputPort. |
|
|
The module owning the port.
|
|
|
Is the port an audio port ?
Implemented in MAudioInputPort, MAudioOutputPort, MControlInputPort, and MControlOutputPort. |
|
|
Is the port a control port ?
Implemented in MAudioInputPort, MAudioOutputPort, MControlInputPort, and MControlOutputPort. |
|
|
Is the port an input port ?
Implemented in MAudioInputPort, MAudioOutputPort, MControlInputPort, and MControlOutputPort. |
|
|
Is the port an output port ?
Implemented in MAudioInputPort, MAudioOutputPort, MControlInputPort, and MControlOutputPort. |
|
|
Is the port connected to port ?
Implemented in MAudioInputPort, MAudioOutputPort, MControlInputPort, and MControlOutputPort. |
|
|
The number of ports connected from or to this port.
Implemented in MAudioInputPort, MAudioOutputPort, MControlInputPort, and MControlOutputPort. |
|
|
The nth port connected to this port.
Implemented in MAudioInputPort, MAudioOutputPort, MControlInputPort, and MControlOutputPort. |
|
|
Signal that this port was connected to port.
|
|
|
Signal that this port was disconnected from port.
|
|
|
The name of the port.
|
|
|
The module owning the port.
|