libcopp
2.3.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
_
a
c
d
f
g
h
i
m
o
p
r
s
t
w
y
Variables
_
a
b
c
d
e
f
g
h
l
m
o
p
r
s
t
u
w
x
Typedefs
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
e
l
s
u
Related Symbols
_
d
e
i
l
o
r
s
w
Files
File List
Globals
All
_
b
c
e
g
j
l
m
o
p
r
s
t
u
w
Functions
b
c
g
j
m
o
p
r
s
t
Variables
b
c
g
m
s
t
Typedefs
Enumerations
Enumerator
c
e
Macros
_
c
l
m
s
t
u
w
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
include
libcotask
impl
task_action_impl.h
Go to the documentation of this file.
1
// Copyright 2023 owent
2
3
#pragma once
4
5
#include <libcopp/utils/config/libcopp_build_features.h>
6
7
#include <
libcopp/future/future.h
>
8
#include <
libcopp/utils/std/coroutine.h
>
9
10
LIBCOPP_COTASK_NAMESPACE_BEGIN
11
12
namespace
impl
{
13
14
class
task_impl
;
15
16
class
LIBCOPP_COTASK_API
task_action_impl
{
17
public
:
18
task_action_impl
();
19
virtual
~task_action_impl
();
20
21
task_action_impl
(
const
task_action_impl
&);
22
task_action_impl
&operator=(
const
task_action_impl
&);
23
24
task_action_impl
(
const
task_action_impl
&&);
25
task_action_impl
&operator=(
const
task_action_impl
&&);
26
27
virtual
int
operator()
(
void
*) = 0;
28
virtual
int
on_finished(
task_impl
&);
29
};
16
class
LIBCOPP_COTASK_API
task_action_impl
{
…
};
30
}
// namespace impl
12
namespace
impl
{
…
}
31
LIBCOPP_COTASK_NAMESPACE_END
impl::task_action_impl
Definition
task_action_impl.h:16
impl::task_action_impl::operator()
virtual int operator()(void *)=0
impl::task_impl
Definition
task_impl.h:42
coroutine.h
future.h
impl
Definition
task_action_impl.h:12
Generated by
1.9.8