Class BackupFileManager::Robot

Nested Relationships

This class is a nested type of Class BackupFileManager.

Class Documentation

class Robot

Public Functions

std::optional<std::string> read() const

Read a backup state from file if a backup file exists for this robot. If a backup does not exist, return a nullopt.

void write(const Task::Active::Backup &backup)

Write a backup to file.