[sldev] Various questions on the viewer.
Richard Nelson
richard at lindenlab.com
Fri Oct 5 10:44:17 PDT 2007
We're evaluating that as well as boost::signals, which is more familiar to
many of our devs. The goal is to also provide a Listener pattern as a
wrapper around the signals/slots library.
R.
On Fri, 05 Oct 2007 10:41:52 -0700, Callum Lerwick <seg at haxxed.com> wrote:
> On Fri, 2007-10-05 at 10:29 -0700, Richard Nelson wrote:
>> 2. We are currently redesigning and replacing many of our existing
>> callbacks/observers with one or more flexible idioms. One of the
>> requirements is allowing for flexible interfaces from the Observed (not
>> just a bitmask) and easy binding of user data. However, I think this
>> is a
>> case of a hammer making everything look like nails. The Observer
>> pattern
>> is very useful but when used in the place of clear functional
>> dependencies
>> can make the code harder to understand and debug, as I've seen in other
>> codebases.
>
> Would libsigc++ be any help here? (As opposed to reinventing more
> wheels...)
>
> http://libsigc.sourceforge.net/
>
> Fairly widely used, LGPL licensed. I've got some code of my own I really
> need to port over to it...
More information about the SLDev
mailing list