Returns the configuration node’s value as a SCALAR_TYPE.
mco_SCALAR_TYPE mco_fh_config_node_get_SCALAR_TYPE(/*IN*/ mco_fh_config_node_h n,
/*IN*/ SCALAR_TYPE def)
n
def
This function returns the value of the configuration node. If the field value is
inaccessible or cannot be represented as a SCALAR_TYPE, it returns the default value
in argument def.
SCALAR_TYPE
bool TestFeedHandler::setup(mco_fh_config_node_h cfgroot)
{
// Read "delayms" parameter from module configuration.
delayms_ = mco_fh_config_node_get_int8(mco_fh_config_node_get_child(cfgroot, "delayms"), 0);
return true;
}