mcx::user_parameters::UserParametersBase

mcx::user_parameters::UserParametersBase

Inherited by mcx::user_parameters::UserParametersVersion0, mcx::user_parameters::UserParametersVersion1

Public Functions

Name
virtual UserParametersData load(const nlohmann::json & json) =0
virtual ~UserParametersBase() =default

Protected Functions

Name
mcx::parameter_server::ParameterType getParameterType(std::string param_type_string)
std::tuple< Parameter, bool > createParameter(std::string type, const std::string & path, size_t total_bytes, const std::string & err)

Public Functions Documentation

function load

virtual UserParametersData load(
    const nlohmann::json & json
) =0

Reimplemented by: mcx::user_parameters::UserParametersVersion0::load, mcx::user_parameters::UserParametersVersion1::load

function ~UserParametersBase

virtual ~UserParametersBase() =default

Protected Functions Documentation

function getParameterType

static inline mcx::parameter_server::ParameterType getParameterType(
    std::string param_type_string
)

function createParameter

static std::tuple< Parameter, bool > createParameter(
    std::string type,
    const std::string & path,
    size_t total_bytes,
    const std::string & err
)

Updated on 2022-04-05 at 16:21:27 +0200