gather.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_GATHER_HPP_INCLUDED__
4 #define __ZMQ_GATHER_HPP_INCLUDED__
5 
6 #include "socket_base.hpp"
7 #include "fq.hpp"
8 
9 namespace zmq
10 {
11 class ctx_t;
12 class pipe_t;
13 class msg_t;
14 
15 class gather_t ZMQ_FINAL : public socket_base_t
16 {
17  public:
18  gather_t (zmq::ctx_t *parent_, uint32_t tid_, int sid_);
19  ~gather_t ();
20 
21  protected:
22  // Overrides of functions from socket_base_t.
23  void xattach_pipe (zmq::pipe_t *pipe_,
24  bool subscribe_to_all_,
25  bool locally_initiated_);
26  int xrecv (zmq::msg_t *msg_);
27  bool xhas_in ();
28  void xread_activated (zmq::pipe_t *pipe_);
29  void xpipe_terminated (zmq::pipe_t *pipe_);
30 
31  private:
32  // Fair queueing object for inbound pipes.
33  fq_t _fq;
34 
36 };
37 }
38 
39 #endif
zmq
Definition: zmq.hpp:229
ZMQ_NON_COPYABLE_NOR_MOVABLE
#define ZMQ_NON_COPYABLE_NOR_MOVABLE(classname)
Definition: macros.hpp:58
fq.hpp
socket_base.hpp
ZMQ_FINAL
Definition: unittest_ip_resolver.cpp:26
zmq::msg_t
Definition: msg.hpp:33


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:51