ns3::MakeEvent function declarations and template implementation. More...
#include "warnings.h"
#include <functional>
#include <tuple>
#include <type_traits>
#include "event-impl.h"
Go to the source code of this file.
Classes | |
struct | ns3::internal::EventMemberImplObjTraits< T * > |
Helper for the MakeEvent functions which take a class method. More... | |
Namespaces | |
namespace | ns3 |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
namespace | ns3::internal |
Namespace for implementation details. | |
Functions | |
template<typename MEM , typename OBJ , typename... Ts> | |
std::enable_if_t< std::is_member_pointer_v< MEM >, EventImpl * > | ns3::MakeEvent (MEM mem_ptr, OBJ obj, Ts... args) |
Make an EventImpl from class method members which take varying numbers of arguments. | |
template<typename T > | |
EventImpl * | ns3::MakeEvent (T function) |
Make an EventImpl from a lambda. | |
template<typename... Us, typename... Ts> | |
EventImpl * | ns3::MakeEvent (void(*f)(Us...), Ts... args) |
Make an EventImpl from a function pointer taking varying numbers of arguments. | |
ns3::MakeEvent function declarations and template implementation.
Definition in file make-event.h.