Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Re: Pointer to ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 7 Topic 45807 of 47017
Post > Topic >>

Re: Pointer to non-static member functions

by Szabolcs Ferenczi <szabolcs.ferenczi@[EMAIL PROTECTED] > May 8, 2008 at 03:41 AM

On May 8, 11:26=A0am, Tim Frink <plfr...@[EMAIL PROTECTED]
> wrote:
> What I want to achieve is a communication between two object
> with a callback function. Object A invokes a function in
> object B passing a callback function. The invoked function in
> object B calls the passed callback function to communicate
> with the caller A.

You might want to check out the visitor design pattern to achieve the
same effect.

Best Regards,
Szabolcs
 




 7 Posts in Topic:
Pointer to non-static member functions
Tim Frink <plfriko@[EM  2008-05-08 09:26:37 
Re: Pointer to non-static member functions
peter koch <peter.koch  2008-05-08 02:56:31 
Re: Pointer to non-static member functions
James Kanze <james.kan  2008-05-10 07:26:11 
Re: Pointer to non-static member functions
Krice <paulkp@[EMAIL P  2008-05-08 03:31:19 
Re: Pointer to non-static member functions
Szabolcs Ferenczi <sza  2008-05-08 03:41:11 
Re: Pointer to non-static member functions
James Kanze <james.kan  2008-05-09 04:51:03 
Re: Pointer to non-static member functions
Tim Frink <plfriko@[EM  2008-05-09 17:56:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 15:49:11 CDT 2008.