NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
i
k
l
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
g
k
l
n
p
r
s
Typedefs
+
Macros
b
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
signal-emit.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
33
#ifndef NDN_UTIL_SIGNAL_EMIT_HPP
34
#define NDN_UTIL_SIGNAL_EMIT_HPP
35
36
namespace
ndn
{
37
namespace
util {
38
namespace
signal
{
39
42
class
DummyExtraArg
43
{
44
};
45
46
}
// namespace signal
47
}
// namespace util
48
}
// namespace ndn
49
59
#define DECLARE_SIGNAL_EMIT(signalName) \
60
template<typename ...TArgs> \
61
void emit_##signalName(const TArgs&... args) \
62
{ \
63
signalName(args...); \
64
}
65
71
#define NDN_CXX_SIGNAL_EMIT(signalName, ...) \
72
emit_##signalName(__VA_ARGS__)
73
76
#define emitSignal(...) \
77
NDN_CXX_SIGNAL_EMIT(__VA_ARGS__, ::ndn::util::signal::DummyExtraArg())
78
79
#endif // NDN_UTIL_SIGNAL_EMIT_HPP
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::util::signal::DummyExtraArg
(implementation detail) a filler for extra argument
Definition:
signal-emit.hpp:42
ndn::util::signal
Definition:
signal-connection.cpp:26
ndnSIM
ndn-cxx
src
util
signal-emit.hpp
Generated on Wed Jan 11 2017 18:17:15 for ndnSIM by
1.8.13