Commit Graph

657 Commits

Author SHA1 Message Date
bjovke
46fc0572c5 Code formatting, sorry... 2017-04-09 22:16:35 +02:00
Luca Boccassi
bd1d53dbb5 Merge pull request #119 from bjovke/master
Allow for empty handler parameter in call to zmq::poller_t::add().
2017-04-09 20:50:37 +01:00
bjovke
d9a0fde681 Allow for empty handler parameter (empty std::function()) in call to zmq::poller_t::add(). 2017-04-09 21:34:16 +02:00
Luca Boccassi
e84484c34c Merge pull request #118 from herbrechtsmeier/cmake
cmake: Export targets to package config
2017-04-05 10:51:20 +01:00
Stefan Herbrechtsmeier
aa850e7ec2 cmake: Export targets to package config
Export CMake targets to package config via interface libraries. This
allows the user to simple depends on this project and thereby gets
the additionally dependencies like ZeroMQ automatically.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
2017-04-05 11:10:18 +02:00
Luca Boccassi
1fdf3d1dfe Merge pull request #114 from jgornowich/master
update directive for ZMQ_MAKE_VERSION check against zmq_msg_gets method
2017-02-20 13:18:27 +00:00
John Gornowich
2def369043 update directive for ZMQ_MAKE_VERSION check against zmq_msg_gets method 2017-02-20 08:04:02 -05:00
Luca Boccassi
a15d175bce Merge pull request #111 from kurdybacha/master
poller_t class based on new libzmq poller API
2017-01-31 23:13:23 +00:00
Pawel Kurdybacha
bafbf2889d poller_t class based on new libzmq poller API 2017-01-31 21:57:51 +00:00
Luca Boccassi
178a910ae1 Merge pull request #107 from JohanMabille/cmake
Cmake files
2017-01-10 17:19:41 +00:00
Johan Mabille
15936cde8c setting cppzmq version to the one of libzmq 2017-01-10 18:10:09 +01:00
Johan Mabille
33e9ab3bae .gitignore added 2017-01-09 11:50:50 +01:00
Johan Mabille
30c44492c2 cmake files for installation 2017-01-09 11:47:54 +01:00
Johan Mabille
08e1982620 versionning 2017-01-09 11:36:24 +01:00
Luca Boccassi
3cdcff1ac7 Merge pull request #106 from vtellier/master
Added new monitor event since libzmq new feature
2017-01-02 11:35:24 +01:00
Vincent Tellier
c128d816d9 Added new monitor event since #2227
These are wrapped in DRAFT section.
2017-01-02 06:58:56 +01:00
Luca Boccassi
1f89a62f26 Merge pull request #105 from laplaceyang/pr_rm_warning_unused_but_set_var
fix warning unused but set variable
2016-12-29 16:14:51 +01:00
laplaceyang
aac1c8ac50 fix warning unused but set variable 2016-12-29 22:57:17 +08:00
Luca Boccassi
6c9103433f Merge pull request #104 from laplaceyang/pr_remove_zmq_send_const
misuse of zmq_send_const
2016-12-15 14:35:28 +01:00
laplaceyang
eff9bcb6e8 misuse of zmq_send_const 2016-12-15 20:48:24 +08:00
Rider Woo
3431f6882a fix build error with libzmq-3.2.5 (#103)
error zmq_send_const undefined and zmq_msg_gets undefined
2016-12-12 10:30:09 +01:00
Luca Boccassi
229e7a849b Merge pull request #101 from JohanMabille/warning_fix
Fixed warnings in c++11 poll functions
2016-12-09 14:04:25 +01:00
Johan Mabille
54414b9d08 fixed warnings in c++11 poll functions 2016-12-09 14:00:44 +01:00
Luca Boccassi
52c4a74be2 Merge pull request #98 from laplaceyang/pr_iterator
add iterator for msgs access of mulitpart_t
2016-12-08 15:07:15 +01:00
laplaceyang
5cd848273a add iterator 2016-12-08 22:03:13 +08:00
Luca Boccassi
e2c1108672 Merge pull request #99 from laplaceyang/reduce_copy
reduce copy when send mem block
2016-12-08 14:08:19 +01:00
Luca Boccassi
55c2eea1a7 Merge pull request #97 from laplaceyang/pr_direct_access
addd operator[] and at function for direct access msgs
2016-12-08 14:08:12 +01:00
laplaceyang
404b97212b reduce copy 2016-12-08 20:58:38 +08:00
laplaceyang
3483416e5a addd operator[] and at function 2016-12-08 20:46:52 +08:00
Luca Boccassi
28c7c8cfe7 Merge pull request #96 from laplaceyang/bug_runtime_t
lack of head file
2016-12-08 10:45:22 +01:00
laplaceyang
72f53c8fdd lack of head file 2016-12-08 11:03:25 +08:00
Luca Boccassi
8b52a6ffac Merge pull request #92 from 0mp/master
Fix message_t::gets.
2016-11-15 23:47:20 +01:00
Mateusz Piotrowski
1c8da7cd8d Fix message_t::gets.
- Add a missing underscore.
 - Remove const as msg is passed by reference.
2016-11-15 23:43:15 +01:00
Luca Boccassi
5fcd5cf29d Merge pull request #90 from 0mp/master
Create a binding for zmq_msg_gets.
2016-11-15 23:00:14 +01:00
Mateusz Piotrowski
570ff93ea9 Create a binding for zmq_msg_gets.
Additionally, I've changed some tabs to spaces and remove trailing
spaces.
2016-11-15 22:07:00 +01:00
Constantin Rack
4648ebc964 Merge pull request #89 from phlptp/master
Visual Studio 2015 definitions
2016-11-06 20:16:23 +01:00
Philip Top
95ce4f2bc2 Update zmq.hpp
add const to what function of error_t
2016-11-06 07:38:16 -08:00
Philip Top
8d64ceccb3 Merge remote-tracking branch 'remotes/origin/master' 2016-11-06 07:18:32 -08:00
Luca Boccassi
e9b28db670 Merge pull request #87 from rolftimmermans/exception-fix
Constructor for std::exception does not take string argument.
2016-10-28 13:57:59 +01:00
Rolf Timmermans
e138b74cde Constructor for std::exception does not take string argument. 2016-10-28 14:53:22 +02:00
Luca Boccassi
c5611d6aff Merge pull request #86 from K0n63n/master
Add comments, optimize some functions, add static asserts
2016-10-23 00:21:59 +01:00
Harald Nøkland
da1b5e3e23 Add comments, optimize some functions, add static asserts
Add comments to all functions. Optimize move constructor and move assigment operator, remove size check inside pop/remove/peek. Static assert in pushtyp/addtyp/poptyp in order to avoid pitfall with std::string (pushstr/addstr/popstr should be used for that). Add sanity check for poptyp, size of message must match desired type.
2016-10-23 00:27:12 +02:00
Philip Top
a3f166e5cd added conditional C++11 definitions to match visual studio 2015 2016-10-22 06:24:35 -07:00
Constantin Rack
0791496622 Merge pull request #82 from staticfloat/master
Enable passing flags in to `send()` and `recv()`
2016-10-22 09:27:47 +02:00
Ben Gray
7faa9b0618 Merge pull request #85 from serge-medvedev/context-close-destruct-assert-issue
Failing assertion in dtor of context_t
2016-09-19 14:27:15 +01:00
Serge Medvedev
8214a500d9 Assertion in dtor of context_t doesn't fail if close method has already been called 2016-09-19 10:27:52 +03:00
Elliot Saba
93af23a58e Enable passing flags in to send() and recv() 2016-08-14 16:46:43 -07:00
Constantin Rack
92d2af6def Merge pull request #81 from yorickdewid/patch-1
Remove explicit cast on void pointer operator
2016-07-18 21:03:11 +02:00
Yorick de Wid
bd288a55c1 Remove explicit cast on void pointer operator 2016-07-18 16:51:24 +02:00
Constantin Rack
0db7521a64 Merge pull request #75 from K0n63n/master
Class for multipart messaging
2016-04-06 20:41:32 +02:00