CppWAMP
C++11 client library for the WAMP protocol
|
Contains utilities for unpacking positional arguments passed to event slots and call slots. More...
#include <functional>
#include <tuple>
#include "api.hpp"
#include "config.hpp"
#include "peerdata.hpp"
#include "traits.hpp"
#include "variant.hpp"
#include "./internal/integersequence.hpp"
Go to the source code of this file.
Classes | |
class | wamp::EventUnpacker< TSlot, TArgs > |
Wrapper around an event slot which automatically unpacks positional payload arguments. More... | |
class | wamp::SimpleEventUnpacker< TSlot, TArgs > |
Wrapper around an event slot which automatically unpacks positional payload arguments. More... | |
class | wamp::InvocationUnpacker< TSlot, TArgs > |
Wrapper around a call slot which automatically unpacks positional payload arguments. More... | |
class | wamp::SimpleInvocationUnpacker< TSlot, TResult, TArgs > |
Wrapper around a call slot which automatically unpacks positional payload arguments. More... | |
Namespaces | |
wamp | |
Typedefs | |
template<typename TSlot > | |
using | wamp::DecayedSlot = typename std::decay< TSlot >::type |
Metafunction that removes const/reference decorations off a slot type. | |
template<typename TSlot , typename... TArgs> | |
using | wamp::BasicEventUnpacker = SimpleEventUnpacker< TSlot, TArgs... > |
Alias to SimpleEventUnpacker kept for backward compatiblity. More... | |
template<typename TSlot , typename TResult , typename... TArgs> | |
using | wamp::BasicInvocationUnpacker = SimpleInvocationUnpacker< TSlot, TResult, TArgs... > |
Alias to SimpleInvocationUnpacker kept for backward compability. More... | |
Functions | |
template<typename... TArgs, typename TSlot > | |
SimpleEventUnpacker< DecayedSlot< TSlot >, TArgs... > | wamp::basicEvent (TSlot &&slot) |
template<typename TResult , typename... TArgs, typename TSlot > | |
SimpleInvocationUnpacker< DecayedSlot< TSlot >, TResult, TArgs... > | wamp::basicRpc (TSlot &&slot) |
Contains utilities for unpacking positional arguments passed to event slots and call slots.