CARLA
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
UCustomFileDownloader Class Reference

#include <CustomFileDownloader.h>

+ Inheritance diagram for UCustomFileDownloader:
+ Collaboration diagram for UCustomFileDownloader:

Public Member Functions

void ConvertOSMInOpenDrive (FString FilePath, float Lat_0=0, float Lon_0=0)
 
void StartDownload ()
 

Public Attributes

FDownloadComplete DownloadDelegate
 
FString ResultFileName
 
FString Url
 

Private Member Functions

void RequestComplete (FHttpRequestPtr HttpRequest, FHttpResponsePtr HttpResponse, bool bSucceeded)
 

Private Attributes

FString Payload
 

Detailed Description

Definition at line 15 of file CustomFileDownloader.h.

Member Function Documentation

◆ ConvertOSMInOpenDrive()

void UCustomFileDownloader::ConvertOSMInOpenDrive ( FString  FilePath,
float  Lat_0 = 0,
float  Lon_0 = 0 
)

Definition at line 12 of file CustomFileDownloader.cpp.

References carla::client::detail::Get().

+ Here is the call graph for this function:

◆ RequestComplete()

void UCustomFileDownloader::RequestComplete ( FHttpRequestPtr  HttpRequest,
FHttpResponsePtr  HttpResponse,
bool  bSucceeded 
)
private

◆ StartDownload()

void UCustomFileDownloader::StartDownload ( )

Definition at line 56 of file CustomFileDownloader.cpp.

References DownloadDelegate, ResultFileName, FHttpDownloader::Run(), and Url.

+ Here is the call graph for this function:

Member Data Documentation

◆ DownloadDelegate

FDownloadComplete UCustomFileDownloader::DownloadDelegate

Definition at line 28 of file CustomFileDownloader.h.

Referenced by StartDownload().

◆ Payload

FString UCustomFileDownloader::Payload
private

Definition at line 33 of file CustomFileDownloader.h.

◆ ResultFileName

FString UCustomFileDownloader::ResultFileName

Definition at line 24 of file CustomFileDownloader.h.

Referenced by StartDownload().

◆ Url

FString UCustomFileDownloader::Url

Definition at line 26 of file CustomFileDownloader.h.

Referenced by StartDownload().


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