Commit Graph

21 Commits

Author SHA1 Message Date
Frank Mori Hess
2537c3015c Fixed tracking of shared_ptr<const void> 2016-06-10 14:10:27 -04:00
Frank Mori Hess
bd9ababaec Fixed tests for optional initialization in tests, under recent versions of clang. 2014-03-02 12:39:23 -05:00
Frank Mori Hess
02a94c1371 Applied patch from Eric Niebler to make use of BOOST_NO_CXX11_SMART_PTR.
Refs #8115.



[SVN r83042]
2013-02-20 01:27:55 +00:00
Marshall Clow
216a62ee3c Removed usage of deprecated macros
[SVN r81562]
2012-11-26 17:38:50 +00:00
Frank Mori Hess
4de09843dd Added support for tracking of objects owned by non-boost
shared_ptr.  No documentation yet.



[SVN r56639]
2009-10-07 20:56:56 +00:00
Frank Mori Hess
2d7a9bfcc6 Removed debug output.
[SVN r53535]
2009-06-01 13:07:09 +00:00
Frank Mori Hess
4acf719aa9 Added variadic signal/slot implementations used when
BOOST_NO_VARIADIC_TEMPLATES is not defined.  The
signal0, signal1, etc classes are not available when using
the variadic implementations, I plan to mark them as
deprecated.  Also the arg1_type, arg2_type member typedefs
are not available and are replaced with a "arg" member
template class.  Documentation updates to follow.



[SVN r53355]
2009-05-28 18:49:27 +00:00
Frank Mori Hess
b1deb11868 Added test of tracking a null but not empty shared_ptr.
[SVN r50318]
2008-12-18 22:03:52 +00:00
Frank Mori Hess
4cbb8f8f91 Combiners don't have to catch expired_slot anymore.
[SVN r49035]
2008-09-29 20:31:51 +00:00
Frank Mori Hess
d8de489212 Moved everything into signals2 namespace. Moved headers
accordingly to conform with boost policy.  Have not
updated documentation to reflect changes yet.


[SVN r48932]
2008-09-23 20:23:22 +00:00
Frank Mori Hess
139366ab4a Modified track_test to correctly test automatic disconnection of
signal used as slot, without explicit tracking.



[SVN r43426]
2008-02-27 20:04:23 +00:00
Frank Mori Hess
087da776e9 Added support for tracking signal objects. Moved signal_base out
of detail namespace, since it is used as an argument in a public
method now.  Fixed track_test.cpp to use new signal tracking
method.


[SVN r42446]
2008-01-03 22:10:00 +00:00
Frank Mori Hess
406d7aaa08 Restored Doug's copyright line that must have been accidentally deleted.
[SVN r39521]
2007-09-25 13:52:55 +00:00
Frank Mori Hess
436c0aa818 We can't explicitly track signals, except in the normal way with
shared_ptr.


[SVN r3777]
2007-03-13 17:38:37 +00:00
Frank Mori Hess
dd5e39db65 Test explicit slot-to-slot tracking.
[SVN r3758]
2007-03-05 14:51:26 +00:00
Frank Mori Hess
84dd05468f Made slots throw bad_weak_ptr when called with expired tracked
objects.  Combiners now have to catch bad_weak_ptr exceptions
thrown on slot iterator dereference.  Tracking works automatically
now for slots that call other slots.


[SVN r3756]
2007-03-02 22:04:47 +00:00
Frank Mori Hess
724e89c855 My problems with bind syntactic sugar appear to be a compiler bug after
all.  The errors go away with gcc 4.1.2


[SVN r3744]
2007-02-28 17:08:12 +00:00
Frank Mori Hess
877777b79f Fixed tracking of signals as slots, and added a test for same.
[SVN r3742]
2007-02-28 16:19:41 +00:00
Frank Mori Hess
bef2bfc4fb Added some templated copy constructors to slot class, to prevent
loss of tracking on copy construction.


[SVN r3741]
2007-02-28 15:54:22 +00:00
Frank Mori Hess
a24b8410bf Make tracking of double argument less meaningless by passing reference
instead of copy.


[SVN r3739]
2007-02-27 22:24:33 +00:00
Frank Mori Hess
a7d581107b Added Signature template parameter to slot class, so that an
operator() could be added.  Bind can be used to bind together
slots with different signatures now.  Added some syntactic
sugar to slot constructors, so a bind() call is inserted automatically
for the constructors that take more than one argument.
All tracking for automatic connection
management is now done through slot::track().
Added track_test.cpp test program, which tests some of the new
functionality.


[SVN r3738]
2007-02-27 21:19:25 +00:00