|
CARLA
|
#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 |
| std::string GetRecorderFilename | ( | std::string | Filename | ) |
Definition at line 21 of file CarlaRecorderHelpers.cpp.
Referenced by CarlaRecorderQuery::QueryBlocked(), CarlaRecorderQuery::QueryCollisions(), CarlaRecorderQuery::QueryInfo(), CarlaReplayer::ReplayFile(), and ACarlaRecorder::Start().
| void ReadFString | ( | std::istream & | InFile, |
| FString & | OutObj | ||
| ) |
Definition at line 90 of file CarlaRecorderHelpers.cpp.
References CarlaRecorderHelperBuffer.
Referenced by CarlaRecorderWalkerBones::Read(), CarlaRecorderInfo::Read(), and CarlaRecorderEventAdd::Read().
| void ReadFTransform | ( | std::ifstream & | InFile, |
| FTransform & | OutObj | ||
| ) |
Definition at line 80 of file CarlaRecorderHelpers.cpp.
References ReadFVector().
| void ReadFVector | ( | std::istream & | InFile, |
| FVector & | OutObj | ||
| ) |
Definition at line 72 of file CarlaRecorderHelpers.cpp.
Referenced by FDenseTile::InitializeTile(), CarlaRecorderWalkerBones::Read(), CarlaRecorderBoundingBox::Read(), CarlaRecorderEventAdd::Read(), CarlaRecorderKinematics::Read(), CarlaRecorderPosition::Read(), and ReadFTransform().
| void WriteFString | ( | std::ostream & | OutFile, |
| const FString & | InObj | ||
| ) |
Definition at line 57 of file CarlaRecorderHelpers.cpp.
Referenced by CarlaRecorderWalkerBones::Write(), CarlaRecorderInfo::Write(), and CarlaRecorderEventAdd::Write().
| void WriteFTransform | ( | std::ofstream & | OutFile, |
| const FTransform & | InObj | ||
| ) |
Definition at line 50 of file CarlaRecorderHelpers.cpp.
References WriteFVector().
| void WriteFVector | ( | std::ostream & | OutFile, |
| const FVector & | InObj | ||
| ) |
Definition at line 42 of file CarlaRecorderHelpers.cpp.
Referenced by CarlaRecorderWalkerBones::Write(), CarlaRecorderBoundingBox::Write(), CarlaRecorderKinematics::Write(), CarlaRecorderPosition::Write(), CarlaRecorderEventAdd::Write(), and WriteFTransform().
|
static |
Definition at line 18 of file CarlaRecorderHelpers.cpp.
Referenced by ReadFString().