[Rock-dev] proposal: orocos.rb asynchronous api (ruby1.9)

Sylvain Joyeux sylvain.joyeux at dfki.de
Thu Oct 18 13:58:03 CEST 2012


On 10/18/2012 01:17 PM, Alexander Duda wrote:
> First Phase (cleanup)
> 	* name service:
> 		* move into namespace Orocos
> 		* add support for mixin
> 		* add findIOR(TaskName) (this removes duplicated code)
Don't get that one

> 		* add support for multiple corba name services
Which in the end means "support for abitrary numbers of name services".

> 	* Orocos::TaskContext
> 		* factor out base functionality (mixin)

I don't understand what you want to put in modules. Don't use mixins if 
they are not really needed. Usually, base classes do the trick just fine.


> 		* cleanup initialize (scattered across 3 places get,do_get,initialize,NameService.resolve)
> 		* fix Nameserive.resolve(name) (returns half initialized object)
Aren't the two points the same ?


> 		* TaskContext.new(name,options)
>       			-->  creates a new TaskContext for a remote task
Can't have that, since the TaskContext can only be created if it has an 
underlying remote task object (i.e. a CORBA proxy in our case). I would 
really prefer to keep the .new private (people can't call it directly)

>       		* Nameservice.reslove(name,options)
>       			-->  uses a name service to find a task context. Does not necessarily
>          			    create a new one. This should be the default way!
I would prefer keeping .get instead of .resolve

>       		* TaskContext.get(name,process)
>       			-->  same as Nameservice.resolve and could be removed at some point
> 		* add support for prefixing / namespace
-- 
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------


More information about the Rock-dev mailing list