|
CARLA
|
#include <FileTransfer.h>
Public Member Functions | |
| FileTransfer ()=delete | |
Static Public Member Functions | |
| static bool | FileExists (std::string_view file) |
| static std::string | GetFilesBaseFolder () |
| static std::vector< uint8_t > | ReadFile (std::string_view path) |
| static bool | SetFilesBaseFolder (std::string_view path) |
| static bool | WriteFile (std::string_view path, std::vector< uint8_t > content) |
Definition at line 18 of file FileTransfer.h.
|
delete |
|
static |
Definition at line 61 of file FileTransfer.cpp.
References carla::client::CachePath, and carla::client::SanitizeRelativePath().
Referenced by carla::client::detail::Simulator::GetCurrentMap(), and carla::client::detail::Client::GetRequiredFiles().
|
static |
Definition at line 57 of file FileTransfer.cpp.
References carla::client::CachePath.
|
static |
Definition at line 105 of file FileTransfer.cpp.
References carla::client::CachePath, and carla::client::SanitizeRelativePath().
Referenced by carla::client::detail::Client::GetCacheFile().
|
static |
Definition at line 50 of file FileTransfer.cpp.
References carla::client::CachePath.
Referenced by carla::client::detail::Client::SetFilesBaseFolder().
|
static |
Definition at line 68 of file FileTransfer.cpp.
References carla::client::CachePath, and carla::client::SanitizeRelativePath().
Referenced by carla::client::detail::Client::RequestFile().