|
SatDump 2.0.0-alpha-520736c72
|
Struct holding a scheduled task. More...
#include <task_scheduler.h>
Public Attributes | |
| std::shared_ptr< void > | evt = nullptr |
| std::string | evt_name |
| time_t | last_run = 0 |
| time_t | run_interval = 0 |
Struct holding a scheduled task.
This struct is not intended to be created directly. It is used internally in satdump::TaskScheduler
| evt | shared pointer to an EventBus event struct |
| evt_name | the name of the struct. Must match typeid(T).name() |
| last_run | timestamp of the last time the task was run |
| run_interval | time, in seconds, between task runs |