getParameter

ModuleInterface::getParameter

Returns a Module parameter.

Declaration

virtual void* getParameter(const std::string& parameterName);

Parameters

Name

Type

Description

parameterName

const std::string&

The parameter’s name to get the value from.

Returns

A pointer to the parameter associated to parameterName. The actual pointer type should be found on the Module’s documentation.

If no parameter is associated to parameterName, this function returns nullptr.