ComponentBinding Class Reference

#include <binding.h>

Collaboration diagram for ComponentBinding:

List of all members.

Public Member Functions

 ComponentBinding (SDFcomponent *c, uint nrParams)
 ~ComponentBinding ()
SDFcomponentgetComponent () const
double getValue (uint param) const
void setValue (uint param, double val)
uint nrParams () const

Private Attributes

SDFcomponentcomponent
vector< double > params

Constructor & Destructor Documentation

ComponentBinding::ComponentBinding ( SDFcomponent c,
uint  nrParams 
) [inline]
ComponentBinding::~ComponentBinding (  )  [inline]

Member Function Documentation

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]

Member Data Documentation

vector<double> ComponentBinding::params [private]

Referenced by getValue(), nrParams(), and setValue().


The documentation for this class was generated from the following files: