#include <roomba_statistics.h>
List of all members.
Constructor & Destructor Documentation
RoombaStatistics::RoombaStatistics |
( |
std::string |
statistics_filename = "output.txt" | ) |
[inline] |
virtual RoombaStatistics::~RoombaStatistics |
( |
| ) |
[inline, virtual] |
Member Function Documentation
void RoombaStatistics::close_statistics |
( |
| ) |
[inline] |
void RoombaStatistics::print_statistics |
( |
int |
time, |
|
|
int |
buffer_size, |
|
|
int |
action |
|
) |
| [inline] |
prints statistics data to statistics file
- Parameters:
-
int | time is the time point the event occurs, by local time |
int | buffer_size is the current size of the buffer |
int | action how the number of messages changed (+1,0,-1) |
- Returns:
- void
void RoombaStatistics::print_statistics_comment |
( |
std::string |
comment | ) |
[inline] |
print comment to statistics file
- Parameters:
-
comment | is the to be printed comment |
- Returns:
- void
void RoombaStatistics::set_statistics_filename |
( |
std::string |
statistics_filename | ) |
[inline] |
std::string RoombaStatistics::statistics_filename |
( |
| ) |
[inline] |
The documentation for this class was generated from the following file: