Classes | |
struct | Config |
Public Member Functions | |
Controller (const std::string &name, v2::Sensor &sensor, Limiter &limiter, Stats &stats, const Config &config) | |
void | Start () |
void | Stop () |
void | Step () |
const std::string & | GetName () const |
void | SetEnabled (bool enabled) |
Protected Member Functions | |
virtual Limit | Update (const v2::Sensor::Data &data)=0 |
Protected Attributes | |
std::optional< size_t > | current_limit_ |
|
protected |