defTypes.h File Reference

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_messagemap_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_messIDmap_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_noIDmap_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_messIDmap_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_newmap_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_handlermap_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, messagemap_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
Firstparameter is the ID of the sender.
Secondparameter is the content of the message.
Parameters
Firstparameter is the ID of the sender.
Secondparameter is the content of the message.
Thirdparameter is the handler of the callback
Forthparameter is the error code
Parameters
Contentof the message received.
Parameters
Firstparameter is the ID of the sender.
Secondparameter is the content of the message.
Thirdparameter is the id of the message in the sender
Forthparameter is the error code
Parameters
Contentof the message received.
Parameters
Contentof the message received.
Parameters
IDof the type of message.
Lambdafunction associated.
Parameters
IDof the type of message.
Lambdafunction associated.
Parameters
IDof the type of message.
Lambdafunction associated.
Parameters
IDof the type of message.
Lambdafunction associated.
Parameters
IDof the type of message.
Lambdafunction associated.
Parameters
IDof the type of message.
Lambdafunction associated.