CppWAMP
C++11 client library for the WAMP protocol
corounpacker.hpp File Reference

Contains utilities for unpacking positional arguments passed to event slots and call slots that spawn coroutines. More...

#include <boost/asio/spawn.hpp>
#include "config.hpp"
#include "unpacker.hpp"
#include "internal/callee.hpp"

Go to the source code of this file.

Classes

class  wamp::CoroEventUnpacker< TSlot, TArgs >
 Wrapper around an event coroutine slot which automatically unpacks positional payload arguments. More...
 
class  wamp::SimpleCoroEventUnpacker< TSlot, TArgs >
 Wrapper around an event slot which automatically unpacks positional payload arguments. More...
 
class  wamp::CoroInvocationUnpacker< TSlot, TArgs >
 Wrapper around a call coroutine slot which automatically unpacks positional payload arguments. More...
 
class  wamp::SimpleCoroInvocationUnpacker< TSlot, TResult, TArgs >
 Wrapper around a call slot which automatically unpacks positional payload arguments. More...
 

Namespaces

 wamp
 

Typedefs

template<typename TSlot , typename... TArgs>
using wamp::BasicCoroEventUnpacker = SimpleCoroEventUnpacker< TSlot, TArgs... >
 Alias to SimpleCoroEventUnpacker kept for backward compatibility. More...
 
template<typename TSlot , typename TResult , typename... TArgs>
using wamp::BasicCoroInvocationUnpacker = SimpleCoroInvocationUnpacker< TSlot, TResult, TArgs... >
 Alias to SimpleCoroInvocationUnpacker kept for backward compability. More...
 

Functions

template<typename... TArgs, typename TSlot >
SimpleCoroEventUnpacker< DecayedSlot< TSlot >, TArgs... > wamp::basicCoroEvent (TSlot &&slot)
 
template<typename TResult , typename... TArgs, typename TSlot >
SimpleCoroInvocationUnpacker< DecayedSlot< TSlot >, TResult, TArgs... > wamp::basicCoroRpc (TSlot &&slot)
 

Detailed Description

Contains utilities for unpacking positional arguments passed to event slots and call slots that spawn coroutines.