emlabcpp
modern opinionated embedded C++ library
collect.h File Reference
#include "../../static_function.h"
#include "../contiguous_tree/request_adapter.h"
#include "../function_view.h"
#include "./convert.h"
#include "./coroutine.h"
#include "./protocol.h"
#include <source_location>
+ Include dependency graph for collect.h:

Go to the source code of this file.

Classes

struct  emlabcpp::testing::collect_request
 
struct  emlabcpp::testing::collect_reply
 
class  emlabcpp::testing::collect_awaiter
 
class  emlabcpp::testing::collector
 
class  emlabcpp::testing::collect_server
 

Namespaces

 emlabcpp
 MIT License.
 
 emlabcpp::testing
 MIT License.
 

Typedefs

using emlabcpp::testing::collect_key_type = key_type_buffer
 
using emlabcpp::testing::collect_value_type = std::variant< value_type, contiguous_container_type >
 
using emlabcpp::testing::collect_server_client_group = std::variant< collect_reply, tree_error_reply >
 
using emlabcpp::testing::collect_server_client_message = typename protocol::handler< collect_server_client_group >::message_type
 
using emlabcpp::testing::collect_client_server_message = typename protocol::handler< collect_request >::message_type
 
using emlabcpp::testing::collect_reply_callback = static_function< void(collect_server_client_group const &), 32 >
 
using emlabcpp::testing::collect_client_transmit_callback = static_function< result(protocol::channel_type, collect_client_server_message const &), 32 >
 
using emlabcpp::testing::collect_server_transmit_callback = static_function< result(protocol::channel_type, collect_server_client_message const &), 32 >
 

Functions

status_awaiter emlabcpp::testing::expect (collector &c, bool expr, std::source_location loc=std::source_location::current())
 

Variables

static constexpr protocol::channel_type emlabcpp::testing::collect_channel = 2
 

Class Documentation

◆ emlabcpp::testing::collect_request

struct emlabcpp::testing::collect_request
Class Members
bool expects_reply
optional< collect_key_type > opt_key
node_id parent
collect_value_type value

◆ emlabcpp::testing::collect_reply

struct emlabcpp::testing::collect_reply
Class Members
node_id nid