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