ParameterProvider

About the ParameterProvider class

The WaveBlocks Project

@author: R. Bourquin @copyright: Copyright (C) 2010, 2011, 2012 R. Bourquin @license: Modified BSD License

Inheritance diagram

Inheritance diagram of ParameterProvider

Class documentation

class WaveBlocks.ParameterProvider
compute_parameters()

Compute some further parameters from the given ones.

get_parameters()

Return a copy of the dict containing all parameters.

Returns:A copy of the dict containing all parameters. The dict will be copied.
get_timemanager()

Return the embedded TimeManager instance.

params = None

Dict for storing the configuration parameters.

set_parameters(params)

Overwrite the dict containing all parameters with a newly provided dict with (possibly) changed parameters.

Parameters:params – A ParameterProvider instance or a dict with new parameters. The values will be deep-copied. No old values will remain.
update_parameters(params)

Overwrite the dict containing all parameters with a newly provided dict with (possibly) changed parameters.

Parameters:params – A ParameterProvider instance or a dict with new parameters. The values will be deep-copied. Old values are only overwritten if we have got new values.

Table Of Contents

Previous topic

ParameterLoader

Next topic

Utils

This Page