Molybden API
Toggle main menu visibility
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Files
File List
•
All
Classes
Functions
Variables
Typedefs
Pages
Loading...
Searching...
No Matches
subscription.hpp
1
// Copyright (c) 2000-2024 TeamDev. All rights reserved.
2
// TeamDev PROPRIETARY and CONFIDENTIAL.
3
// Use is subject to license terms.
4
5
#ifndef MOLYBDEN_SUBSCRIPTION_HPP
6
#define MOLYBDEN_SUBSCRIPTION_HPP
7
8
#include <functional>
9
10
namespace
molybden {
11
15
class
Subscription
{
16
public
:
17
virtual
~Subscription
() =
default
;
18
25
virtual
void
cancel
() = 0;
26
};
15
class
Subscription
{
…
};
27
}
// namespace molybden
28
29
#endif
molybden::Subscription
A subscription allows you to unsubscribe from receiving events.
Definition
subscription.hpp:15
molybden::Subscription::cancel
virtual void cancel()=0
Cancels this subscription.
include
molybden
base
subscription.hpp