v3_1_encoder.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_V3_1_ENCODER_HPP_INCLUDED__
4 #define __ZMQ_V3_1_ENCODER_HPP_INCLUDED__
5 
6 #include "encoder.hpp"
7 #include "msg.hpp"
8 
9 namespace zmq
10 {
11 // Encoder for 0MQ framing protocol. Converts messages into data stream.
12 
13 class v3_1_encoder_t ZMQ_FINAL : public encoder_base_t<v3_1_encoder_t>
14 {
15  public:
16  v3_1_encoder_t (size_t bufsize_);
17  ~v3_1_encoder_t () ZMQ_FINAL;
18 
19  private:
20  void size_ready ();
21  void message_ready ();
22 
23  unsigned char _tmp_buf[9 + zmq::msg_t::sub_cmd_name_size];
24 
25  ZMQ_NON_COPYABLE_NOR_MOVABLE (v3_1_encoder_t)
26 };
27 }
28 
29 #endif
zmq
Definition: zmq.hpp:229
ZMQ_NON_COPYABLE_NOR_MOVABLE
#define ZMQ_NON_COPYABLE_NOR_MOVABLE(classname)
Definition: macros.hpp:58
msg.hpp
encoder.hpp
ZMQ_FINAL
Definition: unittest_ip_resolver.cpp:26


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:01