CARLA
Loading...
Searching...
No Matches
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 std::vector< uint8_t > CarlaRecorderHelperBuffer

Function Documentation

◆ GetRecorderFilename()

◆ 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 ReadFTransform(), and ReadFVector().

Referenced by ReadFTransform().

◆ ReadFVector()

◆ 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 WriteFTransform(), and WriteFVector().

Referenced by WriteFTransform().

◆ WriteFVector()

Variable Documentation

◆ CarlaRecorderHelperBuffer

std::vector<uint8_t> CarlaRecorderHelperBuffer
thread_localstatic

Definition at line 18 of file CarlaRecorderHelpers.cpp.

Referenced by ReadFString().