iso::synth::Port Class Reference

abstract mother of all port classes More...

#include <iso_synth_port.h>

Inherited by iso::synth::AudioPort, and iso::synth::SwitchPort.

Inheritance diagram for iso::synth::Port:

Inheritance graph
[legend]
Collaboration diagram for iso::synth::Port:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Port (PortOwner *pPortOwner)
 parameter based contructor
 Port (const String &pName, PortOwner *pPortOwner)
 parameter based contructor
virtual ~Port ()
 destructor
virtual const String & name () const
 returns port name
void setName (const base::String &pName)
 set port name
virtual PortOwner * owner ()
 returns associated unit
virtual String info (bool pPropagate=false) const
 print info

Static Public Attributes

static const String sClassName
 default name

Protected Member Functions

 Port ()
 default constructor

Protected Attributes

PortOwner * mOwner
 associated unit
String mName
 switch port name

Detailed Description

abstract mother of all port classes

of all port classes

Created by Daniel Bisig on 5/17/06. Copyright 2006 Daniel Bisig All rights reserved.


Constructor & Destructor Documentation

Port::Port ( PortOwner *  pPortOwner  ) 

parameter based contructor

Parameters:
pPortOwner port owner this port is attached to

Port::Port ( const String &  pName,
PortOwner *  pPortOwner 
)

parameter based contructor

Parameters:
pName name of port
pPortOwner port owner this port is attached to

Port::~Port (  )  [virtual]

destructor

Port::Port (  )  [protected]

default constructor


Member Function Documentation

const base::String & Port::name (  )  const [virtual]

returns port name

Returns:
String containing port name

Reimplemented in iso::synth::ControlPort.

void Port::setName ( const base::String &  pName  ) 

set port name

Parameters:
pName port name

PortOwner * Port::owner (  )  [virtual]

returns associated unit

base::String Port::info ( bool  pPropagate = false  )  const [virtual]

print info

Parameters:
pPropagate ignored

Reimplemented in iso::synth::AudioPort, iso::synth::ControlPort, iso::synth::InputPort, iso::synth::OutputPort, and iso::synth::SwitchPort.


Member Data Documentation

const base::String Port::sClassName [static]

default name

Reimplemented in iso::synth::AudioPort, iso::synth::ControlPort, iso::synth::InputPort, iso::synth::OutputPort, and iso::synth::SwitchPort.

PortOwner* iso::synth::Port::mOwner [protected]

associated unit

String iso::synth::Port::mName [protected]

switch port name


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:18:42 2011 for synth by  doxygen 1.5.1