Commit Graph

12 Commits

Author SHA1 Message Date
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