Home » U++ Library support » U++ Core » Callback (THISBACK) Improve
Re: Callback (THISBACK) Improve [message #31035 is a reply to message #31032] |
Wed, 02 February 2011 08:34   |
|
kohait00 wrote on Tue, 01 February 2011 23:39 | i tried to organize the changes in a visible way..maybe it's more clear now what i mean.. and what i have done..


the problem of extending it in bazaar is the name clash with tojockeys adds. i have changed the name the logical extend.
|
I Agree with you, But, Mirek is right! In this case we have a problem with overloaded functions.
To be more clear, we need to keep old functionality and to provide new functions like:
THISBACKDETR(rettype, method) Callback(new CallbackMethodAction<CLASSNAME, rettype (CLASSNAME::*)()>(this, &CLASSNAME::method)) // can accept functions with return type, but cannot get the returned value
THISBACKDETRP0ARG1(rettype, method, arg1_value)
THISBACKDETRP0ARG2(rettype, method, arg1_value, arg2_value)
THISBACKDETRP0ARG3(rettype, method, arg1_value, arg2_value, arg3_value)
....
THISSIGNDETR(rettype, method) // will return type like Gate but arbitrary type
THISSIGNDETRP0ARG1(rettype, method, arg1_value) // will return type like Gate but arbitrary type
OK, I propose to create a package in bazaar with our realization and a simple demo.
|
|
|
 |
|
Callback (THISBACK) Improve
By: tojocky on Tue, 07 December 2010 15:08
|
 |
|
Re: Callback (THISBACK) Improve
By: koldo on Thu, 09 December 2010 09:08
|
 |
|
Re: Callback (THISBACK) Improve
By: tojocky on Thu, 09 December 2010 13:42
|
 |
|
Re: Callback (THISBACK) Improve
By: mirek on Sun, 12 December 2010 08:43
|
 |
|
Re: Callback (THISBACK) Improve
By: tojocky on Sun, 12 December 2010 13:26
|
 |
|
Re: Callback (THISBACK) Improve
By: mirek on Sun, 12 December 2010 15:55
|
 |
|
Re: Callback (THISBACK) Improve
By: kohait00 on Mon, 13 December 2010 17:13
|
 |
|
Re: Callback (THISBACK) Improve
By: kohait00 on Fri, 17 December 2010 11:01
|
 |
|
Re: Callback (THISBACK) Improve
By: kohait00 on Mon, 20 December 2010 10:59
|
 |
|
Re: Callback (THISBACK) Improve
By: tojocky on Mon, 20 December 2010 17:06
|
 |
|
Re: Callback (THISBACK) Improve
By: kohait00 on Tue, 21 December 2010 15:45
|
 |
|
Re: Callback (THISBACK) Improve
By: tojocky on Wed, 22 December 2010 21:56
|
 |
|
Re: Callback (THISBACK) Improve
By: mirek on Sat, 25 December 2010 11:03
|
 |
|
Re: Callback (THISBACK) Improve
By: mirek on Sat, 25 December 2010 11:01
|
 |
|
Re: Callback (THISBACK) Improve
By: kohait00 on Sun, 26 December 2010 10:04
|
 |
|
Re: Callback (THISBACK) Improve
By: kohait00 on Tue, 18 January 2011 10:24
|
 |
|
Re: Callback (THISBACK) Improve
By: mirek on Fri, 28 January 2011 10:31
|
 |
|
Re: Callback (THISBACK) Improve
By: kohait00 on Tue, 01 February 2011 22:39
|
 |
|
Re: Callback (THISBACK) Improve
By: tojocky on Wed, 02 February 2011 08:34
|
 |
|
Re: Callback (THISBACK) Improve
By: kohait00 on Wed, 02 February 2011 09:34
|
 |
|
Re: Callback (THISBACK) Improve
By: kohait00 on Thu, 10 February 2011 11:26
|
 |
|
Re: Callback (THISBACK) Improve
By: kohait00 on Thu, 28 April 2011 13:53
|
 |
|
Re: Callback (THISBACK) Improve
By: mdelfede on Tue, 04 February 2014 23:55
|
 |
|
Re: Callback (THISBACK) Improve
By: zsolt on Wed, 05 February 2014 16:50
|
 |
|
Re: Callback (THISBACK) Improve
By: mdelfede on Wed, 05 February 2014 17:28
|
 |
|
Re: Callback (THISBACK) Improve
By: piotr5 on Sun, 09 February 2014 12:09
|
 |
|
Re: Callback (THISBACK) Improve
By: mdelfede on Sun, 09 February 2014 12:15
|
 |
|
Re: Callback (THISBACK) Improve
By: piotr5 on Sun, 09 February 2014 15:43
|
Goto Forum:
Current Time: Tue Apr 29 22:16:49 CEST 2025
Total time taken to generate the page: 0.04444 seconds
|