Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::dreamview::DataCollectionMonitor Class Reference

A module that monitor data collection progress for calibration purpose. More...

#include <data_collection_monitor.h>

Inheritance diagram for apollo::dreamview::DataCollectionMonitor:
Inheritance graph
Collaboration diagram for apollo::dreamview::DataCollectionMonitor:
Collaboration graph

Public Member Functions

 DataCollectionMonitor ()
 Constructor of DataCollectionMonitor. More...
 
 ~DataCollectionMonitor ()
 
void Start () override
 start monitoring collection progress More...
 
void Stop () override
 stop monitoring collection progress More...
 
void Restart ()
 restart monitoring collection progress More...
 
nlohmann::json GetProgressAsJson () override
 return collection progress of categories and overall as json More...
 
- Public Member Functions inherited from apollo::dreamview::FuelMonitor
 FuelMonitor (const std::string &name)
 Constructor of FuelMonitor. More...
 
virtual ~FuelMonitor ()=default
 
bool IsEnabled () const
 
std::string GetClassName () const
 get class name More...
 
void Restart ()
 restart monitoring More...
 

Additional Inherited Members

- Protected Attributes inherited from apollo::dreamview::FuelMonitor
bool enabled_ = false
 
std::string class_name_
 

Detailed Description

A module that monitor data collection progress for calibration purpose.

Constructor & Destructor Documentation

◆ DataCollectionMonitor()

apollo::dreamview::DataCollectionMonitor::DataCollectionMonitor ( )

Constructor of DataCollectionMonitor.

◆ ~DataCollectionMonitor()

apollo::dreamview::DataCollectionMonitor::~DataCollectionMonitor ( )

Member Function Documentation

◆ GetProgressAsJson()

nlohmann::json apollo::dreamview::DataCollectionMonitor::GetProgressAsJson ( )
overridevirtual

return collection progress of categories and overall as json

Implements apollo::dreamview::FuelMonitor.

◆ Restart()

void apollo::dreamview::DataCollectionMonitor::Restart ( )

restart monitoring collection progress

◆ Start()

void apollo::dreamview::DataCollectionMonitor::Start ( )
overridevirtual

start monitoring collection progress

Implements apollo::dreamview::FuelMonitor.

◆ Stop()

void apollo::dreamview::DataCollectionMonitor::Stop ( )
overridevirtual

stop monitoring collection progress

Implements apollo::dreamview::FuelMonitor.


The documentation for this class was generated from the following file: