Apollo
6.0
Open source self driving car software
|
A base class that monitor progress for Fuel client. More...
#include <fuel_monitor.h>
Public Member Functions | |
FuelMonitor (const std::string &name) | |
Constructor of FuelMonitor. More... | |
virtual | ~FuelMonitor ()=default |
bool | IsEnabled () const |
virtual void | Start ()=0 |
start monitoring More... | |
virtual void | Stop ()=0 |
stop monitoring More... | |
std::string | GetClassName () const |
get class name More... | |
void | Restart () |
restart monitoring More... | |
virtual nlohmann::json | GetProgressAsJson ()=0 |
return current progress of as json More... | |
Protected Attributes | |
bool | enabled_ = false |
std::string | class_name_ |
A base class that monitor progress for Fuel client.
|
inlineexplicit |
Constructor of FuelMonitor.
|
virtualdefault |
|
inline |
get class name
|
pure virtual |
return current progress of as json
Implemented in apollo::dreamview::DataCollectionMonitor, and apollo::dreamview::PreprocessMonitor.
|
inline |
|
inline |
restart monitoring
|
pure virtual |
start monitoring
Implemented in apollo::dreamview::DataCollectionMonitor, and apollo::dreamview::PreprocessMonitor.
|
pure virtual |
stop monitoring
Implemented in apollo::dreamview::DataCollectionMonitor, and apollo::dreamview::PreprocessMonitor.
|
protected |
|
protected |