RDK Documentation (Open Sourced RDK Components)
|
Go to the source code of this file.
Functions | |
void | getValues (const char *paramName[], const unsigned int paramCount, param_t ***paramValArr, size_t **retValCount, WDMP_STATUS **retStatus) |
getValues interface returns the parameter values. More... | |
void | setValues (const ParamVal paramVal[], const unsigned int paramCount, const WEBPA_SET_TYPE setType, money_trace_spans *timeSpan, WDMP_STATUS **retStatus, char *transaction_id) |
setValues interface sets the parameter value. More... | |
@description This file describes the Webpa Abstraction Layer
Definition in file webpa_parameter.h.
void getValues | ( | const char * | paramName[], |
const unsigned int | paramCount, | ||
param_t *** | paramValArr, | ||
size_t ** | retValCount, | ||
WDMP_STATUS ** | retStatus | ||
) |
getValues interface returns the parameter values.
getValues supports an option to pass wildward parameters. This can be achieved by passing an object name followed by '.' instead of parameter name.
[in] | paramName | List of Parameters. |
[in] | paramCount | Number of parameters. |
[out] | timeSpan | timing_values for each component. |
[out] | paramValArr | Two dimentional array of parameter name/value pairs. |
[out] | retValCount | List of "number of parameters" for each input paramName. Usually retValCount will be 1 except for wildcards request where it represents the number of param/value pairs retrieved for the particular wildcard parameter. |
[out] | retStatus | List of Return status. |
getValues supports an option to pass wildward parameters. This can be achieved by passing an object name followed by '.' instead of parameter name.
[in] | paramName | List of Parameters. |
[in] | paramCount | Number of parameters. |
[out] | paramValArr | Two dimentional array of parameter name/value pairs. |
[out] | retValCount | List of "number of parameters" for each input paramName. Usually retValCount will be 1 except for wildcards request where it represents the number of param/value pairs retrieved for the particular wildcard parameter. |
[out] | retStatus | List of Return status. |
Definition at line 68 of file webpa_parameter.cpp.
void setValues | ( | const ParamVal | paramVal[], |
const unsigned int | paramCount, | ||
const WEBPA_SET_TYPE | setType, | ||
money_trace_spans * | timeSpan, | ||
WDMP_STATUS ** | retStatus, | ||
char * | transaction_id | ||
) |
setValues interface sets the parameter value.
[in] | paramVal | List of Parameter name/value pairs. |
[in] | paramCount | Number of parameters. |
[in] | setType | Flag to specify the type of set operation. |
[out] | timeSpan | timing_values for each component. |
[out] | retStatus | List of Return status. |
[in] | paramVal | List of Parameter name/value pairs. |
[in] | paramCount | Number of parameters. |
[out] | retStatus | List of Return status. |
Definition at line 95 of file webpa_parameter.cpp.