首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > 事件/委托(信号/槽)为C++机制的实现

事件/委托(信号/槽)为C++机制的实现

资 源 简 介

Version 1.0.0 have been released!!! Events are powerful technique of the object-oriented design. They provide possibility to declare bidirectional object interfaces - public methods are used to send notifications to object and events are used to receive feedback. I have found events (signals) extremely handy while working with Qt, and I was missing them much when programming in C++ without Qt. From the other hand, Qt"s implementation of signal-slot mechanism has its own limitations - it does not support slot parametrization and usage of signals and slots in interfaces. Implementation provided by Boost.Signals is unsatisfactory as well. This motivated me to make my own implementation. Features: * Thread-safe. * Six times faster than Boost.Signals. * Separate access specification for connection and firing the event. * Events can be virtual and pure virtual (can be used in interfaces). * Event chaining * Simple delegate binding * Non-intrusive c

文 件 列 表

CppEvents
bin
build
CHANGES
COPYING
doc
lib
README
src
tests
tools

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP