|
Boost Users : |
From: Simon Carter (simon.carter_at_[hidden])
Date: 2005-09-19 05:02:40
Bruno MartÃnez <br1 <at> internet.com.uy> writes:
>
> On Thu, 15 Sep 2005 10:47:41 -0300, Simon Carter
> <simon.carter <at> ttplabtech.com> wrote:
>
> > I would like to do the same thing - boost::bind can be used to bind an
> > instance
> > of an object, a member function pointer _and_ any parameters required by
> > that
> > function.
> >
> > This leads to a really useful implementation of the command pattern -
> > you can
> > build a list of these functors which constitute a composite command, and
> > to
> > serialise the whole lot - or part - would be invaluable in all sorts of
> > situations including tracking how much of the composite command had
> > actually
> > been implemented.
> >
> > Maybe I should generalise and boostify my implementation. Any interest?
>
> Yes. Could you explain it's principles? I've been trying to solve the
> same problem for some time now.
>
>
Sorry, perhaps I wasn't clear enough - I haven't solved the general problem of
the serialisation of bind or function objects using boost at all - though I
would like to do the same thing.
The implementation I have is too specialised on persisting just the bits I
need, and uses a our own persistence mechanism. I'm afraid it wouldn't be much
of a starting point for a general solution, though I too would be very keen to
see one.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net