#include <log_file.hpp>
|
| static std::shared_ptr< LogFile > | open (std::string file) |
| | Opens an existing log file. More...
|
| |
◆ LogFile()
| hebi::LogFile::LogFile |
( |
| ) |
|
|
delete |
◆ ~LogFile()
| hebi::LogFile::~LogFile |
( |
| ) |
|
◆ open()
| std::shared_ptr< LogFile > hebi::LogFile::open |
( |
std::string |
file | ) |
|
|
static |
Opens an existing log file.
- Parameters
-
| file | The absolute or relative path to an existing log file |
- Returns
- a shared pointer to the opened file on success, otherwise a null pointer (i.e. invalid log file or nonexistent file)
◆ size()
| size_t hebi::LogFile::size |
( |
| ) |
const |
Returns the number of modules in the log file.
◆ getNextFeedback()
retrieves the next group feedback from the log file, if any exists
Warning: other data in the provided 'Feedback' object is erased!
- Parameters
-
| feedback | On success, the group feedback read from the group are written into this structure. |
- Returns
true if feedback was returned, otherwise false on failure
◆ Group
The documentation for this class was generated from the following files: