Re: About component architectures...

"Cezary Zielinski" <[email protected]>
Newsgroups gmane.science.robotics.orocos.user
Message-ID <[email protected]>
> On Mon, 29 Apr 2002, Cezary Zielinski wrote:
>
> [...difference between requests from End User vs request from
>     Application Builder...]
> > I still would not make that distinction. Any configuration request
should
> > internally within the component block other requests (both other
> > configuration and service requests).
>
> Block, indeed, and hence also synchronization is needed.
>

Yes, but that is the internal responsibility of the component. Thus dealing
with all the requests in a uniform manner would simplify the overall
structure.

> > Let us call it interpreter of requests. This interpreter not only
> > executes the requests but also chcnges the internal state of the
> > component. If you make the distinction you might end up with two
> > different visions and thus implementations of a component.
>
> No, I don't think the _interpreter_ should _execute_ the request: it
> should translate the request into appropriate requests for the
> sub-components, and then set them in action. This is indeed also
> `configuration', but at a different level than, for example, the
> configuration that involves the sub-components getting running new
> algorithms to execute requests.
>

Translation+execution=interpretation => we are speaking about the same
thing.

> > On the one side you have a configuration handling component vision
> > and on the other hand you have a service handling vision of the
> > component.  This should lead to two interpreters of requests and a
> > complicated switching mechanism between them.
>
> No: one single interpreter is fine with me, but it knows the
> difference between its two (or more) `roles'.
>

OK - if  you have one interpreter, then there is no danger that the code
will grow.

>
> > I would not worry about different users. Each one of them would
> > simply use a subset of all possible requests.
>
> But someone has to check whether they are authorised to use the subset
> they are using. This is overkill in the simplest kind of applications,
> but it is definitely needed for commercial components.
>

OK. This is new - here we are speaking abot authorisation. This can be done
by upending to each request the code of the category of user. Using that
code the component can see if the request is a valid one from that category
of a user.

> > Treat the above only as a voice in the discussion, but maybe it is
> > worth considering? It might lead to the simplification of the code
> > of the component.
>
> Simple code is a good feature; but some applications _require_ more
> complex features, that come with more complex code. But mind you: I do
> not say that _all_ Orocos components should have the complex features;
> they should just be there for people that need them.
>

OK

Cezary

> Herman
>
> --
> K.U.Leuven, Mechanical Engineering, Robotics Research Group
> <http://www.mech.kuleuven.ac.be/~bruyninc>  +32 16 322480
>
>
> _______________________________________________
> Orocos mailing list
> [email protected]
> http://mail.mech.kuleuven.ac.be/mailman/listinfo/orocos
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.