iso::synth::SwitchPort2< FunctionValueType > Class Template Reference

#include <iso_synth_switch_port.h>

Inherits iso::synth::SwitchPort.

Inheritance diagram for iso::synth::SwitchPort2< FunctionValueType >:

Inheritance graph
[legend]
Collaboration diagram for iso::synth::SwitchPort2< FunctionValueType >:

Collaboration graph
[legend]
List of all members.

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

template<class FunctionValueType>
class iso::synth::SwitchPort2< FunctionValueType >


Constructor & Destructor Documentation

template<class FunctionValueType>
iso::synth::SwitchPort2< FunctionValueType >::SwitchPort2 ( PortOwner pOwner,
const data::Values &  pValues,
void(PortOwner::*)(FunctionValueType)  pSetFunction 
)

parameter based contructor

Parameters:
pOwner the port owner this switch port belongs to
pValues switch port values
pSetFunction set function

template<class FunctionValueType>
iso::synth::SwitchPort2< FunctionValueType >::SwitchPort2 ( const String pName,
PortOwner pOwner,
const data::Values &  pValues,
void(PortOwner::*)(FunctionValueType)  pSetFunction 
)

name and parameter based contructor

Parameters:
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

template<class FunctionValueType>
iso::synth::SwitchPort2< FunctionValueType >::SwitchPort2 ( const data::Values &  pValues,
void(PortOwner::*)(FunctionValueType)  pSetFunction,
const serialize::SerializeData &  pSerializeData 
) throw (serialize::SerializeException)

serialization based constructor

Parameters:
pValues switch port values
pSetFunction set function
pSerializeData serialization data
Exceptions:
SerializeException failed to create switch port
Parameters:
pSetFunction set function in unit or derived class

template<class FunctionValueType>
iso::synth::SwitchPort2< FunctionValueType >::~SwitchPort2 (  ) 

destructor


Member Function Documentation

template<class FunctionValueType>
void iso::synth::SwitchPort2< FunctionValueType >::set ( data::Values  pValues  )  throw (SynthException) [virtual]

set values

Parameters:
pValues array of values
Exceptions:
SynthException failed to set values

Implements iso::synth::SwitchPort.


Member Data Documentation

template<class FunctionValueType>
void(PortOwner::* iso::synth::SwitchPort2< FunctionValueType >::mSetFunction)(FunctionValueType) [protected]

pointer to a function in unit or derived classes which sets a value


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