Class BackupFileManager
Defined in File BackupFileManager.hpp
Nested Relationships
Nested Types
Class Documentation
-
class BackupFileManager
Public Functions
-
BackupFileManager(std::filesystem::path root_directory, std::function<void(std::string)> info_logger = nullptr, std::function<void(std::string)> debug_logger = nullptr)
Construct a BackupFileManager
- Parameters:
root_directory – [in] Specify the root directory that the backup files should live in
-
BackupFileManager &clear_on_startup(bool value = true)
Set whether any previously existing backups should be cleared out on startup. By default this behavior is turned OFF.
- Parameters:
value – [in] True if the behavior should be turned on; false if it should be turned off.
-
BackupFileManager &clear_on_shutdown(bool value = true)
Set whether any currently existing backups should be cleared out on shutdown. By default this behavior is turned ON.
- Parameters:
value – [in] True if the behavior should be turned on; false if it should be turned off.
-
class Group
-
class Robot
-
BackupFileManager(std::filesystem::path root_directory, std::function<void(std::string)> info_logger = nullptr, std::function<void(std::string)> debug_logger = nullptr)