|
emlabcpp
modern opinionated embedded C++ library
|
#include <rpc.h>
Public Types | |
| using | traits_type = wrapper_traits< Wrapper > |
| using | call_defs = typename traits_type::call_defs |
| using | reply_variant = typename traits_type::reply_variant |
| using | request_type = typename traits_type::request_type |
| using | reply_type = typename traits_type::reply_type |
| using | request_group = typename traits_type::request_group |
| using | outter_reply_group = typename traits_type::outter_reply_group |
| using | request_message_type = typename traits_type::request_message_type |
| using | reply_message_type = typename traits_type::reply_message_type |
| using | request_handler = protocol::handler< request_group > |
| using | reply_handler = protocol::handler< outter_reply_group > |
| template<auto ID> | |
| using | call_type = std::tuple_element_t< call_index< ID >, call_defs > |
Static Public Member Functions | |
| template<auto ID, typename... Args, typename MsgCallback > | |
| static std::variant< typename call_type< ID >::reply, error > | call (MsgCallback &&cb, Args const &... args) |
| template<auto ID, typename... Args> | |
| static auto | make_call_msg (Args const &... args) |
| template<auto ID> | |
| static std::variant< typename call_type< ID >::reply, error > | on_reply_msg (auto const &reply_msg) |
Static Public Attributes | |
| template<auto ID> | |
| static constexpr std::size_t | call_index = get_call_index< call_defs >( ID ) |
| using emlabcpp::rpc::controller< Wrapper >::call_defs = typename traits_type::call_defs |
| using emlabcpp::rpc::controller< Wrapper >::call_type = std::tuple_element_t< call_index< ID >, call_defs > |
| using emlabcpp::rpc::controller< Wrapper >::outter_reply_group = typename traits_type::outter_reply_group |
| using emlabcpp::rpc::controller< Wrapper >::reply_handler = protocol::handler< outter_reply_group > |
| using emlabcpp::rpc::controller< Wrapper >::reply_message_type = typename traits_type::reply_message_type |
| using emlabcpp::rpc::controller< Wrapper >::reply_type = typename traits_type::reply_type |
| using emlabcpp::rpc::controller< Wrapper >::reply_variant = typename traits_type::reply_variant |
| using emlabcpp::rpc::controller< Wrapper >::request_group = typename traits_type::request_group |
| using emlabcpp::rpc::controller< Wrapper >::request_handler = protocol::handler< request_group > |
| using emlabcpp::rpc::controller< Wrapper >::request_message_type = typename traits_type::request_message_type |
| using emlabcpp::rpc::controller< Wrapper >::request_type = typename traits_type::request_type |
| using emlabcpp::rpc::controller< Wrapper >::traits_type = wrapper_traits< Wrapper > |
|
inlinestatic |
References emlabcpp::args.
|
inlinestatic |
References emlabcpp::args, and emlabcpp::protocol::handler< T, E >::serialize().
|
inlinestatic |
|
staticconstexpr |