ComponentBinding Class Reference
#include <binding.h>
Collaboration diagram for ComponentBinding:
Public Member Functions | |
ComponentBinding (SDFcomponent *c, uint nrParams) | |
~ComponentBinding () | |
SDFcomponent * | getComponent () const |
double | getValue (uint param) const |
void | setValue (uint param, double val) |
uint | nrParams () const |
Private Attributes | |
SDFcomponent * | component |
vector< double > | params |
Constructor & Destructor Documentation
ComponentBinding::ComponentBinding | ( | SDFcomponent * | c, | |
uint | nrParams | |||
) | [inline] |
ComponentBinding::~ComponentBinding | ( | ) | [inline] |
Member Function Documentation
SDFcomponent* ComponentBinding::getComponent | ( | ) | const [inline] |
References component.
Referenced by SDFconvertToHTML::convertPlatformMapping(), createMappingNode(), CompBindings::find(), SDFconvertToHTML::outputPlatformMappingAsDot(), and CompBindings::unbind().
double ComponentBinding::getValue | ( | uint | param | ) | const |
getValue () The function returns the value of a parameter.
References nrParams(), and params.
Referenced by CompBindings::bind(), LoadBalanceBinding::changeBandwidthAllocation(), SDFconvertToHTML::convertPlatformMapping(), createMappingNode(), and CompBindings::unbind().
Here is the call graph for this function:
uint ComponentBinding::nrParams | ( | ) | const [inline] |
References params.
Referenced by getValue().
void ComponentBinding::setValue | ( | uint | param, | |
double | val | |||
) | [inline] |
References params.
Referenced by NetworkInterface::reserveConnection(), and Memory::reserveMemory().
Member Data Documentation
SDFcomponent* ComponentBinding::component [private] |
Referenced by getComponent().
vector<double> ComponentBinding::params [private] |
Referenced by getValue(), nrParams(), and setValue().
The documentation for this class was generated from the following files: