#include <iso_synth_switch_port.h>
Inherits iso::synth::Port.
Inherited by iso::synth::SwitchPort2< FunctionValueType >.
Inheritance diagram for iso::synth::SwitchPort:
Public Member Functions | |
SwitchPort (PortOwner *pOwner, const data::Values &pValues) | |
parameter based contructor | |
SwitchPort (const String &pName, PortOwner *pOwner, const data::Values &pValues) | |
name and parameter based contructor | |
~SwitchPort () | |
destructor | |
const data::Values & | values () const |
return values | |
data::Values & | values () |
return values | |
virtual void | set (data::Values pValues)=0 throw (SynthException) |
set values | |
virtual String | info (bool pPropagate=false) const |
print info | |
Static Public Attributes | |
static const String | sClassName |
default name | |
Protected Member Functions | |
void | createName (const String &pPortName) |
creates a full input port name by concatenating it's unit name and port name | |
Protected Attributes | |
data::Values | mValues |
internal values | |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const SwitchPort &pPort) |
print switch port information |
SwitchPort::SwitchPort | ( | PortOwner * | pOwner, | |
const data::Values & | pValues | |||
) |
parameter based contructor
pOwner | the port owner this switch port belongs to | |
pValues | switch port values |
name and parameter based contructor
pName | name of the input port | |
pOwner | the port owner this switch port belongs to | |
pValues | switch port values |
SwitchPort::~SwitchPort | ( | ) |
destructor
const data::Values & SwitchPort::values | ( | ) | const |
return values
data::Values & SwitchPort::values | ( | ) |
return values
virtual void iso::synth::SwitchPort::set | ( | data::Values | pValues | ) | throw (SynthException) [pure virtual] |
set values
pValues | array of values |
SynthException | failed to set values |
Implemented in iso::synth::SwitchPort2< FunctionValueType >.
base::String SwitchPort::info | ( | bool | pPropagate = false |
) | const [virtual] |
print info
pPropagate | if true, the info method invocation travels up the unit patch |
Reimplemented from iso::synth::Port.
void SwitchPort::createName | ( | const String & | pPortName | ) | [protected] |
creates a full input port name by concatenating it's unit name and port name
pPortName | port name |
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const SwitchPort & | pPort | |||
) | [friend] |
print switch port information
const base::String SwitchPort::sClassName [static] |
data::Values iso::synth::SwitchPort::mValues [protected] |
internal values
this one stores values directly