zmqpp  4.1.2
C++ bindings for 0mq (libzmq)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
zmqpp.hpp
Go to the documentation of this file.
1 /*
2  * This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * This file is part of zmqpp.
7  * Copyright (c) 2011-2015 Contributors as noted in the AUTHORS file.
8  */
9 
39 #ifndef ZMQPP_ZMQPP_HPP_
40 #define ZMQPP_ZMQPP_HPP_
41 
46 #define ZMQPP_VERSION_MAJOR 4
47 
52 #define ZMQPP_VERSION_MINOR 1
53 
57 #define ZMQPP_VERSION_REVISION 1
58 
59 #include <zmq.h>
60 
61 #include "compatibility.hpp"
62 #include "context.hpp"
63 #include "exception.hpp"
64 #include "message.hpp"
65 #include "poller.hpp"
66 #include "socket.hpp"
67 #include "actor.hpp"
68 #include "reactor.hpp"
69 #include "zap_request.hpp"
70 #include "auth.hpp"
71 
77 namespace zmqpp
78 {
79 
85 std::string version();
86 
97 void version(uint8_t& major, uint8_t& minor, uint8_t& revision);
98 
113 void zmq_version(uint8_t& major, uint8_t& minor, uint8_t& patch);
114 
115 typedef context context_t;
116 typedef std::string endpoint_t;
117 typedef message message_t;
118 typedef poller poller_t;
119 typedef socket socket_t;
121 }
122 
123 #endif /* ZMQPP_ZMQPP_HPP_ */
poller poller_t
poller type
Definition: zmqpp.hpp:118
context context_t
context type
Definition: socket.hpp:40
void zmq_version(uint8_t &major, uint8_t &minor, uint8_t &patch)
Definition: zmqpp.cpp:34
C++ wrapper around zmq.
Definition: actor.cpp:29
std::string version()
Definition: zmqpp.cpp:22
The socket class represents the zmq sockets.
Definition: socket.hpp:75
socket socket_t
socket type
Definition: poller.hpp:28
message message_t
message type
Definition: socket.hpp:41
std::string endpoint_t
endpoint type
Definition: socket.hpp:37
Polling wrapper.
Definition: poller.hpp:36