JustEnoughMod
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
h
i
j
m
o
p
q
s
t
u
v
x
y
~
Functions
_
a
d
e
f
j
m
o
p
q
s
t
u
v
~
Variables
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
Task.hpp
1
#ifndef SCHED_TASK_HPP
2
#define SCHED_TASK_HPP
3
4
#include <sched/TaskPool.hpp>
5
#include <utility>
6
7
namespace
JEM {
8
class
Task
{
9
public
:
10
Task
(std::string name, std::function<
void
()>
func
) : m_name(std::move(name)), m_func(std::move(
func
)){};
11
12
private
:
13
std::string m_name;
14
std::function<void()> m_func;
15
};
8
class
Task
{
…
};
16
}
// namespace JEM
17
18
#endif
JEM::Task
Definition
Task.hpp:8
func
void func()
Definition
group.cpp:13
include
sched
Task.hpp
Generated by
1.10.0