Files
bobbycar-boardcomputer-firm…/main/taskmanager.h
T
2022-10-13 16:48:32 +02:00

24 lines
490 B
C++

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