cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
functional_method.h File Reference

Definition of FunctionalMethod class. More...

Include dependency graph for functional_method.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  msgpack_rpc::methods::FunctionalMethod< Result(Parameters...), Function, std::enable_if_t<!std::is_same_v< Result, void > > >
 Class of methods implemented by function objects. More...
class  msgpack_rpc::methods::FunctionalMethod< void(Parameters...), Function >
 Class of methods implemented by function objects. More...

Namespaces

namespace  msgpack_rpc
 Namespace of cpp-msgpack-rpc library.
namespace  msgpack_rpc::methods
 Namespace of methods in MessagePack-RPC.

Functions

template<typename Signature, typename Function>
std::unique_ptr< FunctionalMethod< Signature, Function > > msgpack_rpc::methods::create_functional_method (messages::MethodName name, Function &&function, std::shared_ptr< logging::Logger > logger)
 Create a method implemented by a function object.

Detailed Description

Definition of FunctionalMethod class.

Definition in file functional_method.h.