i_poll_events.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_I_POLL_EVENTS_HPP_INCLUDED__
4 #define __ZMQ_I_POLL_EVENTS_HPP_INCLUDED__
5 
6 #include "macros.hpp"
7 
8 namespace zmq
9 {
10 // Virtual interface to be exposed by object that want to be notified
11 // about events on file descriptors.
12 
14 {
15  virtual ~i_poll_events () ZMQ_DEFAULT;
16 
17  // Called by I/O thread when file descriptor is ready for reading.
18  virtual void in_event () = 0;
19 
20  // Called by I/O thread when file descriptor is ready for writing.
21  virtual void out_event () = 0;
22 
23  // Called when timer expires.
24  virtual void timer_event (int id_) = 0;
25 };
26 }
27 
28 #endif
zmq::i_poll_events::~i_poll_events
virtual ~i_poll_events() ZMQ_DEFAULT
ZMQ_DEFAULT
#define ZMQ_DEFAULT
Definition: macros.hpp:43
zmq::i_poll_events
Definition: i_poll_events.hpp:13
zmq
Definition: zmq.hpp:229
macros.hpp
zmq::i_poll_events::timer_event
virtual void timer_event(int id_)=0
zmq::i_poll_events::out_event
virtual void out_event()=0
zmq::i_poll_events::in_event
virtual void in_event()=0


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