|
|
Home » Developing U++ » UppHub » NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more) [message #27390 is a reply to message #27382] |
Thu, 15 July 2010 14:33   |
 |
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
Quote: | elliminate the overly complex PTEABLE branch.
|
Ok, that should be no problem..
Quote: |
make DispatcherGen use Dispatcher objects internally (as I did) or even derive it from Dispatcher
|
from which Dispatcher<T> should it derive? the goal is to have a generic Dispatcher, that can register arbitrary types. it wouldnt work becase DispatcherGen only would support one T again. the options is only to have a List / Vector / Array / Map of Dispatcher<T> inside to check then and forward to, or to use 'Container'<Any> to do it. i cant imagine that it would be that much of a big performance strike..look at the Any implementation, its a O(1) funtion call. but in huge amounts of different types, ofcorse yes.. so thats the 2 options.
Quote: |
do away with the NOMAP , separate them completly
|
thats probably the best solution, dont worry, i hardly can read it myself i am not that much a fan of #ifdef branches
i will provide a clean package.
on more usecases: i am currently dot.net Reflector'ing the Microsoft.CCR.Core.dll to get a grisp on how they have done this whole Ports and Arbiters thing, believe it or not, 50% of that is already provided in Upp, named CoWork and Callbacks . this is actually the direction i want to go for..
dont know if you ever used Microsoft Robotics Development Studio (current RC3 is for free again). but the design patterns are really coool. so i'd like to have some of the benefits in upp as well.
|
|
|
 |
|
NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
By: koldo on Mon, 12 July 2010 09:02
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
By: koldo on Mon, 12 July 2010 11:37
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
By: mrjt on Mon, 12 July 2010 18:19
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
By: mrjt on Wed, 14 July 2010 16:38
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
By: mrjt on Thu, 15 July 2010 12:24
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
By: mrjt on Thu, 15 July 2010 15:19
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
By: mrjt on Thu, 15 July 2010 15:24
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
By: mrjt on Thu, 15 July 2010 16:15
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
|
 |
|
Re: NEW: Dispatcher (templateable dispatcher helper for MVC pattern and more)
By: kohait00 on Thu, 05 August 2010 10:19
|
 |
|
new stuff
By: kohait00 on Thu, 05 August 2010 13:39
|
Goto Forum:
Current Time: Wed Aug 27 01:26:56 CEST 2025
Total time taken to generate the page: 0.05325 seconds
|
|
|