#include <log_file.hpp>
|
static std::shared_ptr< LogFile > | open (std::string file) |
| Opens an existing log file. More...
|
|
Definition at line 10 of file log_file.hpp.
hebi::LogFile::LogFile |
( |
HebiLogFilePtr |
internal, |
|
|
int |
number_of_modules |
|
) |
| |
|
private |
hebi::LogFile::LogFile |
( |
| ) |
|
|
delete |
hebi::LogFile::~LogFile |
( |
| ) |
|
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
Definition at line 24 of file log_file.cpp.
hebi::LogFile::HEBI_DISABLE_COPY_MOVE |
( |
LogFile |
| ) |
|
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)
Definition at line 9 of file log_file.cpp.
int hebi::LogFile::size |
( |
| ) |
const |
Returns the number of modules in the log file.
Definition at line 20 of file log_file.cpp.
const int hebi::LogFile::number_of_modules_ |
|
private |
The documentation for this class was generated from the following files: