#include <cstddef>#include <stdint.h>#include <string>#include <map>#include <vector>#include <boost/function.hpp>

Go to the source code of this file.
Namespaces | |
| namespace | socrob |
SocRob project namespace. | |
| namespace | socrob::multicast |
SocRob Multicast library namespace. | |
Typedefs | |
| typedef boost::function< void(std::vector < uint8_t > &) > | socrob::multicast::buffer_function_type |
| Function type that receives a buffer containing data or to be filled. | |
| typedef boost::function< void(std::vector < uint8_t > &, id_type, std::vector< uint8_t > &) > | socrob::multicast::handler_function_type |
| Function type for short round handlers, first argument is the answer, second is the SSID, last is the question. | |
| typedef boost::function< void(id_type, std::vector< uint8_t > &) > | socrob::multicast::id_buffer_function_type |
| Function type that receives a SID and a buffer containing data or to be filled. | |
| typedef boost::function< void(id_type) > | socrob::multicast::id_function_type |
| Function type that receives a SID. | |
| typedef uint8_t | socrob::multicast::id_type |
| SID type (8 bits) | |
| typedef uint32_t | socrob::multicast::qid_type |
| QID type (32 bits) | |
| typedef boost::function< void(std::map < id_type, std::vector < uint8_t > > &) > | socrob::multicast::short_callback_type |
| Function type for short round callbacks, receiving a map of SIDs to their answers. | |
Enumerations | |
| enum | socrob::multicast::agent_state_type { socrob::multicast::NOT_RUNNING, socrob::multicast::INSERT, socrob::multicast::RUNNING, socrob::multicast::REMOVE } |
| Agent states. More... | |
Functions | |
| void | socrob::multicast::empty_buffer_function (std::vector< uint8_t > &) |
| Empty function of type buffer_function_type. | |
| void | socrob::multicast::empty_handler_function (std::vector< uint8_t > &, id_type, std::vector< uint8_t > const &) |
| Empty function of type handler_function_type. | |
| void | socrob::multicast::empty_id_buffer_function (id_type, std::vector< uint8_t > const &) |
| Empty function of type id_buffer_function_type. | |
| void | socrob::multicast::empty_id_function (id_type) |
| Empty function of type id_function_type. | |
| void | socrob::multicast::empty_short_callback (std::map< id_type, std::vector< uint8_t > > &) |
| Empty function of type short_callback_type. | |
Variables | |
| const std::size_t | socrob::multicast::MAX_MESSAGE_SIZE = 65536 |
| Receive buffer size. | |