17 #ifndef _GAZEBO_UTIL_LOGPLAY_PRIVATE_HH_
18 #define _GAZEBO_UTIL_LOGPLAY_PRIVATE_HH_
48 public:
const std::string
kEndTime =
"</sim_time>";
51 public: tinyxml2::XMLDocument
xmlDoc;
size_t start
The current chunk might contain multiple frames.
Definition: LogPlayPrivate.hh:86
std::mutex mutex
A mutex to avoid race conditions.
Definition: LogPlayPrivate.hh:100
tinyxml2::XMLElement * logStartXml
Start of the log.
Definition: LogPlayPrivate.hh:54
tinyxml2::XMLDocument xmlDoc
The XML document of the log file.
Definition: LogPlayPrivate.hh:51
const std::string kStartTime
XML tag delimiting the beginning of a simulation time element.
Definition: LogPlayPrivate.hh:45
std::string encoding
The encoding for the current chunk in the log file.
Definition: LogPlayPrivate.hh:79
const std::string kEndFrame
XML tag delimiting the end of a frame.
Definition: LogPlayPrivate.hh:42
std::string logVersion
The version of the Gazebo logger used to create the open log file.
Definition: LogPlayPrivate.hh:64
tinyxml2::XMLElement * logCurrXml
Current position in the log file.
Definition: LogPlayPrivate.hh:57
std::string gazeboVersion
The version of Gazebo used to create the open log file.
Definition: LogPlayPrivate.hh:67
const unsigned int kNumChunksToTry
Max number of chunks to inspect when looking for XML elements.
Definition: LogPlayPrivate.hh:36
uint64_t initialIterations
Initial simulation iteration contained in the log file.
Definition: LogPlayPrivate.hh:93
std::string filename
Name of the log file.
Definition: LogPlayPrivate.hh:60
size_t end
The current chunk might contain multiple frames.
Definition: LogPlayPrivate.hh:90
Definition: LogPlayPrivate.hh:33
const std::string kEndTime
XML tag delimiting the end of a simulation time element.
Definition: LogPlayPrivate.hh:48
uint32_t randSeed
The random number seed recorded in the open log file.
Definition: LogPlayPrivate.hh:70
common::Time logStartTime
Log start time (simulation time).
Definition: LogPlayPrivate.hh:73
std::string currentChunk
This is the chunk where the current frame is contained.
Definition: LogPlayPrivate.hh:82
bool iterationsFound
True if <iterations> is found in the log file.
Definition: LogPlayPrivate.hh:97
common::Time logEndTime
Log end time (simulation time).
Definition: LogPlayPrivate.hh:76
A Time class, can be used to hold wall- or sim-time.
Definition: Time.hh:44
const std::string kStartFrame
XML tag delimiting the beginning of a frame.
Definition: LogPlayPrivate.hh:39