Using vector<string> in properties/config

Hello,
I created a Property< vector <string> > and populated it in the
configureHook. It's seems that the marshaller isn't able to write the
appropriate config file for this kind of property. The property is
recognized as a "stringList" in the taskbrowser and the marshaller generates
the following config file :

<struct name="myStringVector" type="list">
    <description>My string vector description</description>
</struct>

Is that supported?

Thank you,

Philippe Hamelin

Using vector<string> in properties/config

Does this patch support the new types over Corba ?

2009/6/3 Ruben Smits <ruben [dot] smits [..] ...>

> I submitted a long time ago a patch to ocl that solves the problem. I
> don't know rememember what the reason was not to include it in RTT or
> OCL. But you can find the patch in bugzilla, bug 513. It supports full
> reading and writing of properties and scripting for std::vector<T>
> types.
>
> Ruben
>
> On Wed, Jun 3, 2009 at 6:50 AM, Philippe Hamelin
> <philippe [dot] hamelin [..] ...> wrote:
> > Hello,
> > I created a Property< vector <string> > and populated it in the
> > configureHook. It's seems that the marshaller isn't able to write the
> > appropriate config file for this kind of property. The property is
> > recognized as a "stringList" in the taskbrowser and the marshaller
> generates
> > the following config file :
> >
> >

> >
> > <struct name="myStringVector" type="list">
> >     <description>My string vector description</description>
> > </struct>
> >
> > 

> >
> > Is that supported?
> >
> > Thank you,
> >
> > Philippe Hamelin
> >
>

Using vector<string> in properties/config

On Wed, Jun 3, 2009 at 18:12, Philippe Hamelin
<philippe [dot] hamelin [..] ...> wrote:
> Does this patch support the new types over Corba ?

No it doesn't, it only adds scripting support. I'm working on it to
get it on the 1.8 branch though.

It's not so simple to automate this for CORBA transports because you
need to express each type in idl as well.

Peter

>
> 2009/6/3 Ruben Smits <ruben [dot] smits [..] ...>
>>
>> I submitted a long time ago a patch to ocl that solves the problem. I
>> don't know rememember what the reason was not to include it in RTT or
>> OCL. But you can find the patch in bugzilla, bug 513. It supports full
>> reading and writing of properties and scripting for std::vector<T>
>> types.
>>
>> Ruben
>>
>> On Wed, Jun 3, 2009 at 6:50 AM, Philippe Hamelin
>> <philippe [dot] hamelin [..] ...> wrote:
>> > Hello,
>> > I created a Property< vector <string> > and populated it in the
>> > configureHook. It's seems that the marshaller isn't able to write the
>> > appropriate config file for this kind of property. The property is
>> > recognized as a "stringList" in the taskbrowser and the marshaller
>> > generates
>> > the following config file :
>> >
>> >

>> >
>> > <struct name="myStringVector" type="list">
>> >     <description>My string vector description</description>
>> > </struct>
>> >
>> > 

>> >
>> > Is that supported?
>> >
>> > Thank you,
>> >
>> > Philippe Hamelin
>> >
>
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>