6 #ifndef MOTORCORTEX_CORE_PS_FILEXML_H
7 #define MOTORCORTEX_CORE_PS_FILEXML_H
9 #include "ps_filebase.h"
16 namespace mcx::parameter_server {
30 std::future<bool> save(
const std::string& file_name,
Parameter* root,
size_t max_number_of_trials,
size_t delay_us,
31 bool force_update)
override;
33 std::future<bool> load(
const std::string& file_name,
Parameter* root, cmd_line::SystemMode system_mode,
34 bool is_relative)
override;
39 static cmd_line::SystemMode getAttributeSystemMode(tinyxml2::XMLElement* element);
40 static bool isForce(tinyxml2::XMLElement* element);
43 const ExceptionPair exception_pair_;
48 #endif // MOTORCORTEX_CORE_PS_FILEXML_H