SatDump 2.0.0-alpha-76a915210
Loading...
Searching...
No Matches
satdump::ScheduledTask Struct Reference

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

Detailed Description

Struct holding a scheduled task.

This struct is not intended to be created directly. It is used internally in satdump::TaskScheduler

Parameters
evtshared pointer to an EventBus event struct
evt_namethe name of the struct. Must match typeid(T).name()
last_runtimestamp of the last time the task was run
run_intervaltime, in seconds, between task runs

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