create and initialize complete work area for task object
More...
#include <ostask.h>
|
|
template<class F> |
| | TaskT (F &&_proc) |
| | constructor, see the constructor parameters of the class
|
|
template<typename F, typename... A> |
| | TaskT (F &&_proc, A &&... _args) |
| | constructor, see the constructor parameters of the class
|
|
| TaskT (TaskT< size_ > &&_src) |
| | move constructor
|
|
| TaskT (const TaskT< size_ > &)=delete |
|
TaskT< size_ > & | operator= (TaskT< size_ > &&)=delete |
|
TaskT< size_ > & | operator= (const TaskT< size_ > &)=delete |
|
| template<class F> |
| static TaskT< size_ > | Make (F &&_proc) |
| | create and initialize static task
|
|
template<typename F, typename... A> |
| static TaskT< size_ > | Make (F &&_proc, A &&... _args) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| template<class F> |
| static TaskT< size_ > | Start (F &&_proc) |
| | create, initialize and start static task
|
|
template<typename F, typename... A> |
| static TaskT< size_ > | Start (F &&_proc, A &&... _args) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
template<size_t size_>
struct intros::TaskT< size_ >
create and initialize complete work area for task object
- Constructor parameters
- size: size of task private stack (in bytes)
- proc: task proc (initial task function) doesn't have to be noreturn-type it will be executed into an infinite system-implemented loop
◆ Make()
template<size_t size_>
template<class F>
create and initialize static task
- Parameters
- size: size of task private stack (in bytes)
- proc: task proc (initial task function) doesn't have to be noreturn-type it will be executed into an infinite system-implemented loop
- args: arguments for task proc
- Returns
- TaskT<> object
◆ Start()
template<size_t size_>
template<class F>
create, initialize and start static task
- Parameters
- size: size of task private stack (in bytes)
- proc: task proc (initial task function) doesn't have to be noreturn-type it will be executed into an infinite system-implemented loop
- args: arguments for task proc
- Returns
- TaskT<> object
The documentation for this struct was generated from the following file: