Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
TaskManager.h
00001 #ifndef TaskManager_h 00002 #define TaskManager_h 00003 00004 00005 #include "Task.h" 00006 00007 #include <list> 00008 00009 using namespace std; 00010 00011 /** 00012 * TaskManager class manages a list of running or suspended tasks. 00013 */ 00014 class TaskManager 00015 { 00016 00017 public: 00018 00019 /** 00020 * Contructor. 00021 */ 00022 TaskManager(); 00023 00024 /** 00025 * Start a task. 00026 * @param _task The task object to start 00027 */ 00028 void startTask(Task* _task); 00029 00030 private: 00031 00032 list<Task*> tasks; 00033 00034 00035 }; 00036 00037 00038 00039 #endif
Generated on Wed Jul 13 2022 20:54:05 by
1.7.2