Class FilesystemInterface

Inheritance Relationships

Derived Type

Class Documentation

class FilesystemInterface

Abstract interface for the filesystem methods.

Subclassed by husarion_ugv_diagnostics::Filesystem

Public Types

using SharedPtr = std::shared_ptr<FilesystemInterface>

Alias for a shared pointer to a FilesystemInterface object.

Public Functions

virtual ~FilesystemInterface() = default

Virtual destructor for the FilesystemInterface class.

virtual uintmax_t GetSpaceCapacity(const std::string &filesystem_path) const = 0
virtual uintmax_t GetSpaceAvailable(const std::string &filesystem_path) const = 0
virtual std::string ReadFile(const std::string &file_path) const = 0