x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
signal.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\signal.hpp
旋转
特效
属性
历史版本
// Boost.Signals library // Copyright Douglas Gregor 2001-2006. Use, modification and // distribution is subject to the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // For more information, see http://www.boost.org/libs/signals #ifndef BOOST_SIGNAL_HPP #define BOOST_SIGNAL_HPP #ifndef BOOST_SIGNALS_MAX_ARGS # define BOOST_SIGNALS_MAX_ARGS 10 #endif #include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#ifdef BOOST_HAS_ABI_HEADERS # include BOOST_ABI_PREFIX #endif namespace boost { #ifndef BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX namespace BOOST_SIGNALS_NAMESPACE { namespace detail { template
class real_get_signal_impl; template
class real_get_signal_impl<0, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal0
type; }; template
class real_get_signal_impl<1, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal1
type; }; template
class real_get_signal_impl<2, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal2
type; }; template
class real_get_signal_impl<3, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal3
type; }; template
class real_get_signal_impl<4, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal4
type; }; template
class real_get_signal_impl<5, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal5
type; }; template
class real_get_signal_impl<6, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal6
type; }; template
class real_get_signal_impl<7, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal7
type; }; template
class real_get_signal_impl<8, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal8
type; }; template
class real_get_signal_impl<9, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal9
type; }; template
class real_get_signal_impl<10, Signature, Combiner, Group, GroupCompare, SlotFunction> { typedef function_traits
traits; public: typedef signal10
type; }; template
struct get_signal_impl : public real_get_signal_impl<(function_traits
::arity), Signature, Combiner, Group, GroupCompare, SlotFunction> { }; } // end namespace detail } // end namespace BOOST_SIGNALS_NAMESPACE // Very lightweight wrapper around the signalN classes that allows signals to // be created where the number of arguments does not need to be part of the // class name. template< typename Signature, // function type R (T1, T2, ..., TN) typename Combiner = last_value
::result_type>, typename Group = int, typename GroupCompare = std::less
, typename SlotFunction = function
> class signal : public BOOST_SIGNALS_NAMESPACE::detail::get_signal_impl
::type { typedef typename BOOST_SIGNALS_NAMESPACE::detail::get_signal_impl< Signature, Combiner, Group, GroupCompare, SlotFunction>::type base_type; public: explicit signal(const Combiner& combiner = Combiner(), const GroupCompare& group_compare = GroupCompare()) : base_type(combiner, group_compare) { } }; #endif // ndef BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX } // end namespace boost #ifdef BOOST_HAS_ABI_HEADERS # include BOOST_ABI_SUFFIX #endif #endif // BOOST_SIGNAL_HPP
signal.hpp
网页地址
文件地址
上一页
90/113
下一页
下载
( 12 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.