#include <iso_synth_switch_port.h>
Inherits iso::synth::SwitchPort.
Inheritance diagram for iso::synth::SwitchPort2< FunctionValueType >:
Public Member Functions | |
SwitchPort2 (PortOwner *pOwner, const data::Values &pValues, void(PortOwner::*pSetFunction)(FunctionValueType)) | |
parameter based contructor | |
SwitchPort2 (const String &pName, PortOwner *pOwner, const data::Values &pValues, void(PortOwner::*pSetFunction)(FunctionValueType)) | |
name and parameter based contructor | |
SwitchPort2 (const data::Values &pValues, void(PortOwner::*pSetFunction)(FunctionValueType), const serialize::SerializeData &pSerializeData) throw (serialize::SerializeException) | |
serialization based constructor | |
~SwitchPort2 () | |
destructor | |
void | set (data::Values pValues) throw (SynthException) |
set values | |
Protected Attributes | |
void(PortOwner::* | mSetFunction )(FunctionValueType) |
pointer to a function in unit or derived classes which sets a value |
iso::synth::SwitchPort2< FunctionValueType >::SwitchPort2 | ( | PortOwner * | pOwner, | |
const data::Values & | pValues, | |||
void(PortOwner::*)(FunctionValueType) | pSetFunction | |||
) |
parameter based contructor
pOwner | the port owner this switch port belongs to | |
pValues | switch port values | |
pSetFunction | set function |
iso::synth::SwitchPort2< FunctionValueType >::SwitchPort2 | ( | const String & | pName, | |
PortOwner * | pOwner, | |||
const data::Values & | pValues, | |||
void(PortOwner::*)(FunctionValueType) | pSetFunction | |||
) |
name and parameter based contructor
pName | name of the input port | |
pOwner | the port owner this switch port belongs to | |
pValues | switch port values | |
pSetFunction | set function in unit or derived class |
iso::synth::SwitchPort2< FunctionValueType >::SwitchPort2 | ( | const data::Values & | pValues, | |
void(PortOwner::*)(FunctionValueType) | pSetFunction, | |||
const serialize::SerializeData & | pSerializeData | |||
) | throw (serialize::SerializeException) |
serialization based constructor
pValues | switch port values | |
pSetFunction | set function | |
pSerializeData | serialization data |
SerializeException | failed to create switch port |
pSetFunction | set function in unit or derived class |
iso::synth::SwitchPort2< FunctionValueType >::~SwitchPort2 | ( | ) |
destructor
void iso::synth::SwitchPort2< FunctionValueType >::set | ( | data::Values | pValues | ) | throw (SynthException) [virtual] |
set values
pValues | array of values |
SynthException | failed to set values |
Implements iso::synth::SwitchPort.
void(PortOwner::* iso::synth::SwitchPort2< FunctionValueType >::mSetFunction)(FunctionValueType) [protected] |
pointer to a function in unit or derived classes which sets a value