#include <sstream>
#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 | ReadFVector (std::istream &InFile, FVector &OutObj) |
template<typename T > | |
void | ReadStdVector (std::istream &InFile, std::vector< T > &OutVec) |
template<typename T > | |
void | ReadTArray (std::istream &InFile, TArray< T > &OutVec) |
void | ReadTransform (std::ifstream &InFile, FTransform &OutObj) |
template<typename T > | |
void | ReadValue (std::istream &InFile, T &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) |
template<typename T > | |
void | WriteStdVector (std::ostream &OutFile, const std::vector< T > &InVec) |
template<typename T > | |
void | WriteTArray (std::ostream &OutFile, const TArray< T > &InVec) |
template<typename T > | |
void | WriteValue (std::ostream &OutFile, const T &InObj) |
std::string GetRecorderFilename | ( | std::string | Filename | ) |
Definition at line 17 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 86 of file CarlaRecorderHelpers.cpp.
References CarlaRecorderHelperBuffer.
Referenced by CarlaRecorderInfo::Read(), CarlaRecorderWalkerBones::Read(), CarlaRecorderEventAdd::Read(), and ReadTArray().
void ReadFVector | ( | std::istream & | InFile, |
FVector & | OutObj | ||
) |
Definition at line 68 of file CarlaRecorderHelpers.cpp.
Referenced by FDenseTile::InitializeTile(), CarlaRecorderBoundingBox::Read(), CarlaRecorderKinematics::Read(), CarlaRecorderPosition::Read(), CarlaRecorderWalkerBones::Read(), CarlaRecorderEventAdd::Read(), ReadFTransform(), and ReadTArray().
void ReadStdVector | ( | std::istream & | InFile, |
std::vector< T > & | OutVec | ||
) |
Definition at line 66 of file CarlaRecorderHelpers.h.
Referenced by CarlaRecorderPhysicsControl::Read().
void ReadTArray | ( | std::istream & | InFile, |
TArray< T > & | OutVec | ||
) |
Definition at line 80 of file CarlaRecorderHelpers.h.
References ReadFString(), ReadFVector(), and ReadTransform().
void ReadTransform | ( | std::ifstream & | InFile, |
FTransform & | OutObj | ||
) |
void ReadValue | ( | std::istream & | InFile, |
T & | OutObj | ||
) |
Definition at line 60 of file CarlaRecorderHelpers.h.
Referenced by CarlaRecorderPhysicsControl::Read(), and CarlaRecorderTrafficLightTime::Read().
void WriteFString | ( | std::ostream & | OutFile, |
const FString & | InObj | ||
) |
Definition at line 53 of file CarlaRecorderHelpers.cpp.
Referenced by CarlaRecorderInfo::Write(), CarlaRecorderWalkerBones::Write(), CarlaRecorderEventAdd::Write(), and WriteTArray().
void WriteFTransform | ( | std::ofstream & | OutFile, |
const FTransform & | InObj | ||
) |
Definition at line 46 of file CarlaRecorderHelpers.cpp.
References WriteFVector().
Referenced by WriteTArray().
void WriteFVector | ( | std::ostream & | OutFile, |
const FVector & | InObj | ||
) |
Definition at line 38 of file CarlaRecorderHelpers.cpp.
Referenced by FSparseHighDetailMap::SaveMap(), FSparseHighDetailMap::UpdateMaps(), CarlaRecorderBoundingBox::Write(), CarlaRecorderKinematics::Write(), CarlaRecorderPosition::Write(), CarlaRecorderWalkerBones::Write(), CarlaRecorderEventAdd::Write(), WriteFTransform(), and WriteTArray().
void WriteStdVector | ( | std::ostream & | OutFile, |
const std::vector< T > & | InVec | ||
) |
Definition at line 27 of file CarlaRecorderHelpers.h.
Referenced by CarlaRecorderPhysicsControl::Write().
void WriteTArray | ( | std::ostream & | OutFile, |
const TArray< T > & | InVec | ||
) |
Definition at line 37 of file CarlaRecorderHelpers.h.
References WriteFString(), WriteFTransform(), and WriteFVector().
void WriteValue | ( | std::ostream & | OutFile, |
const T & | InObj | ||
) |
Definition at line 21 of file CarlaRecorderHelpers.h.
Referenced by CarlaRecorderPhysicsControl::Write(), and CarlaRecorderTrafficLightTime::Write().