Files
bobbycar-boardcomputer-firm…/main/taskmanager.h
2023-08-13 20:13:05 +02:00

24 lines
484 B
C++

#pragma once
// system includes
#include <optional>
#include <expected>
// 3rdparty lib includes
#include <arrayview.h>
// local includes
#include "bobbyschedulertask.h"
extern cpputils::ArrayView<BobbySchedulerTask> schedulerTasks;
extern const BobbySchedulerTask &drivingModeTask;
void sched_pushStats(bool printTasks);
std::expected<bool, std::string> checkInitializedByName(const std::string& name);
bool checkEnabledByName(const std::string& name);
void reload_tasks();