File indexing completed on 2024-11-15 09:02:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_ASIO_DETAIL_SIGNAL_OP_HPP
0012 #define BOOST_ASIO_DETAIL_SIGNAL_OP_HPP
0013
0014 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
0015 # pragma once
0016 #endif
0017
0018 #include <boost/asio/detail/config.hpp>
0019 #include <boost/asio/detail/operation.hpp>
0020
0021 #include <boost/asio/detail/push_options.hpp>
0022
0023 namespace boost {
0024 namespace asio {
0025 namespace detail {
0026
0027 class signal_op
0028 : public operation
0029 {
0030 public:
0031
0032 boost::system::error_code ec_;
0033
0034
0035 void* cancellation_key_;
0036
0037
0038 int signal_number_;
0039
0040 protected:
0041 signal_op(func_type func)
0042 : operation(func),
0043 cancellation_key_(0),
0044 signal_number_(0)
0045 {
0046 }
0047 };
0048
0049 }
0050 }
0051 }
0052
0053 #include <boost/asio/detail/pop_options.hpp>
0054
0055 #endif