CARLA
Loading...
Searching...
No Matches
Functions | Variables
CarlaRecorderHelpers.cpp File Reference
#include "CarlaRecorderHelpers.h"
#include <util/ue-header-guard-begin.h>
#include <Containers/UnrealString.h>
#include <util/ue-header-guard-end.h>
#include <fstream>
#include <vector>

Go to the source code of this file.

Functions

std::string GetRecorderFilename (std::string Filename)
 
void ReadFString (std::istream &InFile, FString &OutObj)
 
void ReadFTransform (std::ifstream &InFile, FTransform &OutObj)
 
void ReadFVector (std::istream &InFile, FVector &OutObj)
 
void WriteFString (std::ostream &OutFile, const FString &InObj)
 
void WriteFTransform (std::ofstream &OutFile, const FTransform &InObj)
 
void WriteFVector (std::ostream &OutFile, const FVector &InObj)
 

Variables

static thread_local std::vector< uint8_t > CarlaRecorderHelperBuffer
 

Function Documentation

◆ GetRecorderFilename()

std::string GetRecorderFilename ( std::string  Filename)

◆ ReadFString()

void ReadFString ( std::istream &  InFile,
FString &  OutObj 
)

◆ ReadFTransform()

void ReadFTransform ( std::ifstream &  InFile,
FTransform &  OutObj 
)

Definition at line 80 of file CarlaRecorderHelpers.cpp.

References ReadFVector().

◆ ReadFVector()

void ReadFVector ( std::istream &  InFile,
FVector &  OutObj 
)

◆ WriteFString()

void WriteFString ( std::ostream &  OutFile,
const FString &  InObj 
)

◆ WriteFTransform()

void WriteFTransform ( std::ofstream &  OutFile,
const FTransform &  InObj 
)

Definition at line 50 of file CarlaRecorderHelpers.cpp.

References WriteFVector().

◆ WriteFVector()

void WriteFVector ( std::ostream &  OutFile,
const FVector &  InObj 
)

Variable Documentation

◆ CarlaRecorderHelperBuffer

thread_local std::vector<uint8_t> CarlaRecorderHelperBuffer
static

Definition at line 18 of file CarlaRecorderHelpers.cpp.

Referenced by ReadFString().