14 #include <sys/types.h> 17 #include "../derecho_type_definitions.hpp" 43 using rpc_handler_t = std::function<void(subgroup_id_t, node_id_t, char*, uint32_t)>;
uint32_t subgroup_id_t
Type alias for the internal Subgroup IDs generated by ViewManager.
std::function< void(subgroup_id_t, node_id_t, message_id_t, std::optional< std::pair< char *, long long int > >, persistent::version_t)> message_callback_t
Alias for the type of std::function that is used for message delivery event callbacks.
This file include all common types internal to derecho and not necessarily being known by a client pr...
uint32_t subgroup_type_id_t
Type of the numeric ID used to refer to subgroup types within a Group; this is currently computed as ...
This file defines some type aliases used by the Persistence library.
std::function< void(const subgroup_id_t &, const persistent::version_t &, const HLC &)> persistence_manager_make_version_func_t
std::function< void(subgroup_id_t, node_id_t, char *, uint32_t)> rpc_handler_t
std::function< void(subgroup_id_t, persistent::version_t)> persistence_callback_t
int32_t message_id_t
Type alias for a message's unique "sequence number" or index.
std::function< std::unique_ptr< T >(persistent::PersistentRegistry *)> Factory
The type of factory function the user must provide to the Group constructor, to construct each Replic...
std::tuple< persistence_manager_make_version_func_t, persistence_manager_post_persist_func_t > persistence_manager_callbacks_t
std::function< void(const subgroup_id_t &, const persistent::version_t &, const uint64_t &)> subgroup_post_next_version_func_t
std::function< void(const subgroup_id_t &, const persistent::version_t &)> persistence_manager_post_persist_func_t
PersistentRegistry is a book for all the Persistent<T> or Volatile<T> variables.