mcx::parameter_server::FileSerializationJson

mcx::parameter_server::FileSerializationJson

Inherits from mcx::parameter_server::FileSerialization

Public Functions

Name
FileSerializationJson()
~FileSerializationJson() override
virtual std::future< bool > save(const std::string & file_name, Parameter * root, size_t max_number_of_trials, size_t delay_us, bool force_update) override
virtual std::future< bool > load(const std::string & file_name, Parameter * root, cmd_line::SystemMode system_mode, bool is_relative) override

Additional inherited members

Public Types inherited from mcx::parameter_server::FileSerialization

Name
enum class ExceptionListType { NO_EXCEPTIONS, REGARD_ALL_EXCEPT, IGNORE_ALL_EXCEPT}
using const std::vector< Parameter * > & ExceptionList
using std::pair< ExceptionListType, ExceptionList > ExceptionPair

Public Functions inherited from mcx::parameter_server::FileSerialization

Name
virtual ~FileSerialization() =default
size_t decodeValues(Parameter * param, const char * str_cursor, size_t str_len, char * decode_buf, size_t decode_buf_size)

Public Functions Documentation

function FileSerializationJson

inline FileSerializationJson()

function ~FileSerializationJson

~FileSerializationJson() override

function save

virtual std::future< bool > save(
    const std::string & file_name,
    Parameter * root,
    size_t max_number_of_trials,
    size_t delay_us,
    bool force_update
) override

Reimplements: mcx::parameter_server::FileSerialization::save

function load

virtual std::future< bool > load(
    const std::string & file_name,
    Parameter * root,
    cmd_line::SystemMode system_mode,
    bool is_relative
) override

Reimplements: mcx::parameter_server::FileSerialization::load


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