6 : internal_(internal), number_of_modules_(number_of_modules) {}
10 if (
internal ==
nullptr) {
11 return std::shared_ptr<LogFile>();
HebiLogFilePtr hebiLogFileOpen(const char *file)
Opens an existing log file.
A list of Feedback objects that can be received from a Group of modules; the size() must match the nu...
int size() const
Returns the number of modules in the log file.
const int number_of_modules_
bool getNextFeedback(GroupFeedback &feedback)
retrieves the next group feedback from the log file, if any exists
void hebiLogFileRelease(HebiLogFilePtr log_file)
Logging API.
HebiStatusCode hebiLogFileGetNextFeedback(HebiLogFilePtr log_file, HebiGroupFeedbackPtr field)
Retrieve the next group feedback from the opened log file.
struct HebiLogFile_ * HebiLogFilePtr
The C-style's API representation of a log file.
static std::shared_ptr< LogFile > open(std::string file)
Opens an existing log file.
HebiGroupFeedbackPtr internal_
size_t hebiLogFileGetNumberOfModules(HebiLogFilePtr log_file)
Retrieve the number of modules in the group represented by an opened log file.