This file include types and structs used by the classes of this project. More...
#include <boost/function.hpp>
#include <boost/any.hpp>
#include <map>
Include dependency graph for defTypes.h:
Go to the source code of this file.
Classes | |
struct | message |
struct to keep a message from a sender More... | |
Typedefs | |
typedef boost::function< void(const std::string &, std::string)> | f_proto_message |
Lambda function to be called depending on the message received. More... | |
typedef std::map< uint64_t, f_proto_message > | map_proto_register |
Map to keep functions with a type of message associated. More... | |
typedef boost::function< void(const std::string &, std::string, int id)> | f_proto_message_messID |
Lambda function to be called depending on the message received. More... | |
typedef std::map< uint64_t, f_proto_message_messID > | map_proto_register_messID |
Map to keep functions with a type of message associated. More... | |
typedef boost::function< void(const std::string &)> | f_proto_message_noID |
Lambda function to be called depending on the message received. More... | |
typedef std::map< uint64_t, f_proto_message_noID > | map_proto_register_noID |
Map to keep functions with a type of message associated. More... | |
typedef boost::function< void(const std::string &, int id)> | f_proto_message_noID_messID |
Lambda function to be called depending on the message received. More... | |
typedef std::map< uint64_t, f_proto_message_noID_messID > | map_proto_register_noID_messID |
Map to keep functions with a type of message associated. More... | |
typedef boost::function< void(const std::string &, const std::string &, int, int)> | f_proto_message_new |
Lambda function to be called depending on the message received. More... | |
typedef std::map< uint64_t, f_proto_message_new > | map_proto_register_new |
Map to keep functions with a type of message associated. More... | |
typedef boost::function< void(const std::string &, const std::string &, boost::any, int)> | f_proto_message_handler |
Lambda function to be called depending on the message received. More... | |
typedef std::map< uint64_t, f_proto_message_handler > | map_proto_register_handler |
Map to keep functions with a type of message associated. More... | |
typedef std::function< void(int id_message)> | dpy_mw_routerHandlerFunc_t |
Handler function. | |
typedef std::map< int, message > | map_messages |
Map to keep messages structs (second) with an ID (first) associated. | |
typedef std::map< int, std::string > | map_messages_string |
Map to keep messages (second) with an ID (first) associated when the sender ID is not needed. | |
Typedef Documentation
- Parameters
-
First parameter is the ID of the sender. Second parameter is the content of the message.
- Parameters
-
First parameter is the ID of the sender. Second parameter is the content of the message. Third parameter is the handler of the callback Forth parameter is the error code
- Parameters
-
Content of the message received.
- Parameters
-
First parameter is the ID of the sender. Second parameter is the content of the message. Third parameter is the id of the message in the sender Forth parameter is the error code
- Parameters
-
Content of the message received.
- Parameters
-
Content of the message received.
- Parameters
-
ID of the type of message. Lambda function associated.
- Parameters
-
ID of the type of message. Lambda function associated.
- Parameters
-
ID of the type of message. Lambda function associated.
- Parameters
-
ID of the type of message. Lambda function associated.
- Parameters
-
ID of the type of message. Lambda function associated.
- Parameters
-
ID of the type of message. Lambda function associated.