Files
bobbycar-boardcomputer-firm…/main/taskmanager.h
T
2022-02-18 01:21:54 +01:00

22 lines
454 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(std::string name);
bool checkEnabledByName(std::string name);