herald
2.0.0
|
An activity that needs to be performed due to some state being achieved in a Sensor. More...
#include <activities.h>
Public Attributes | |
Priority | priority |
The relative priority for this Activity compared to the scale. More... | |
std::string | name |
A human readable name for this activity used for logging. | |
std::vector< Prerequisite > | prerequisites |
A list of non-prioritised pre-requisities (priority is taken from the priority field in Activity). | |
ActivityFunction | executor |
The Activity function to call when all prerequisites have been met. May not be called. | |
An activity that needs to be performed due to some state being achieved in a Sensor.
Priority herald::engine::Activity::priority |
The relative priority for this Activity compared to the scale.