Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 #27333 is a reply to message #27330] Mon, 12 July 2010 19:05 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
Quote:


this code doesn't work in case (a):


you are absolutely right, i didnt bother too much about it. it's just been ideas that i made switchable, whichever later seems best, to remain.

Quote:


why don't you just Unregister in destructor


yes, thats the best way. in my first applications (from which the idea derived) i am actually doing this. i didnt want to make the first shot look too complicated, while the idea too simple Smile i will add this thing ofcorse.

Quote:


I like your implementation with Any<> - Very clever


Any is clever, my stuff just uses it. i looked at Any, and 'loved' it, the static cache aproach with template function is just perfectly fast..

Quote:


but in this case you explicitly DONT'T want to do that.


why shouldnt i? the containers are a rational base. i imagine the precautional unregistering would be avoided when maipultating derectly the containers... but i had a hidden container version as well (see first version). so its basicly not decided. just need to know your point.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: LED Ctrl (for characters and numbers)
Next Topic: Single Threaded RS232
Goto Forum:
  


Current Time: Thu May 16 23:50:41 CEST 2024

Total time taken to generate the page: 0.02310 seconds