Commit Graph

21 Commits

Author SHA1 Message Date
daa492ce07 signal: add return value combiners 2015-03-10 22:52:38 +11:00
ba0b43ce20 signal: remove rvalref from constructor
too difficult to allow binding to lvals and rvals so just drop the rval
support. we shouldn't be using heavyweight types here anyway.
2015-02-20 21:54:08 +11:00
0f9e0fe5a7 signal: add forwarding value_signal constructor 2015-02-20 15:28:28 +11:00
c8f067bf60 signal: add value wrapper signal 2015-02-19 13:29:16 +11:00
38d3fc1961 signal: simplify unneeded signal elements
* use function syntax for template type
* remove non-scoped cookie
* simplify many type names
2015-02-18 02:35:05 +11:00
f40771eb87 Move signal definitions to ipp 2013-08-06 21:23:40 +10:00
ea71f958f4 Instancing and construction fixups for clang 2012-05-26 18:01:04 +10:00
e3072aeedb Add an early out for empty signals 2012-05-11 12:20:32 +10:00
77942e008d Change my email to an active domain 2012-04-23 13:10:50 +10:00
a3c602407f Store loop conditions before dispatching signal
If we store the loop condition before executing the functor we have a
better chance of avoiding iterator invalidation from any trickery on the
subscriber side.
2011-09-16 22:57:25 +10:00
d024c588db Add release function for signal scoped_cookies 2011-09-16 22:56:52 +10:00
78427bc45a Reorder signal exec traversal to allow deletions 2011-08-12 00:26:56 +10:00
955b97c73e Allow signal scoped_cookies to assign functors 2011-08-12 00:26:28 +10:00
f14e3abe3d Add cookies for selective signal disconnection 2011-08-10 21:31:24 +10:00
10c6a22df1 Use const accessors for signal dispatch 2011-08-10 21:30:55 +10:00
ec5e9f6c87 Add empty query for signals 2011-08-10 21:30:03 +10:00
d6b943500c Move signal into namespace util
signal will clash with the POSIX signal function. This tends to be too
annoying to work around with careful inclusion orders or other
namespacing.
2011-07-16 14:47:56 +10:00
41fb3e7b91 Add some doxygen comments for signal 2011-07-03 16:54:51 +10:00
6e85e3c97b Don't use template vararg references for signals 2011-07-03 16:04:07 +10:00
c3b8b1e147 Remove signal disconnection methods
std::function does not support equality operators, so we have to remove
these or implement a better disconnection method. The former is easier
for the time being.
2011-07-03 16:02:36 +10:00
d9dba1d155 Add simple signal object implementation 2011-06-27 15:31:41 +10:00