CARLA
Loading...
Searching...
No Matches
carla::client::FileTransfer Class Reference

#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)

Detailed Description

Definition at line 18 of file FileTransfer.h.

Constructor & Destructor Documentation

◆ FileTransfer()

carla::client::FileTransfer::FileTransfer ( )
delete

Member Function Documentation

◆ FileExists()

bool carla::client::FileTransfer::FileExists ( std::string_view file)
static

◆ GetFilesBaseFolder()

std::string carla::client::FileTransfer::GetFilesBaseFolder ( )
static

Definition at line 57 of file FileTransfer.cpp.

References carla::client::CachePath.

Referenced by FileTransfer().

◆ ReadFile()

std::vector< uint8_t > carla::client::FileTransfer::ReadFile ( std::string_view path)
static

◆ SetFilesBaseFolder()

bool carla::client::FileTransfer::SetFilesBaseFolder ( std::string_view path)
static

◆ WriteFile()

bool carla::client::FileTransfer::WriteFile ( std::string_view path,
std::vector< uint8_t > content )
static

The documentation for this class was generated from the following files: