7 number_of_modules_(number_of_modules) {}
11 if (
internal ==
nullptr) {
12 return std::shared_ptr<LogFile>();
15 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...
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)
Releases a log file instance.
int size() const
Returns the number of modules in the log file.
HebiStatusCode hebiLogFileGetNextFeedback(HebiLogFilePtr log_file, HebiGroupFeedbackPtr field)
Retrieve the next group feedback from the opened log file.
static std::shared_ptr< LogFile > open(std::string file)
Opens an existing log file.
HebiGroupFeedbackPtr internal_
struct _HebiLogFile * HebiLogFilePtr
The C-style's API representation of a log file.
size_t hebiLogFileGetNumberOfModules(HebiLogFilePtr log_file)
Retrieve the number of modules in the group represented by an opened log file.