How to add a vector<MyType> to my typekit?

Hi all,

In 1.10 we were able to create vectors of our own types. To this end
Ruben and me wrote StdVectorTemplateTypeComposition.
How should we handle the vector<MyTypes> in 2.x?

Tinne

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

On Friday 22 October 2010 15:26:55 Tinne De Laet wrote:
> Hi all,
>
> In 1.10 we were able to create vectors of our own types. To this end
> Ruben and me wrote StdVectorTemplateTypeComposition.
> How should we handle the vector<MyTypes> in 2.x?

By using SequenceTypeInfo< vector<MyTypes> >("MyTypes")

This will give you size/capacity/[] access to your type. You won't have
constructors or operators.

It's a mistake that the constructors are not present, since we could have
added them in the constructor of SequenceTypeInfo itself. The accessor
functions for these constructors are defined in SequenceConstructor.hpp

For 2.1, you'll need to add in your typekit:

&#10;#include &lt;rtt/types/SequenceConstructor.hpp&gt;&#10;#include &lt;rtt/types/TemplateConstructor.hpp&gt;&#10;&#10;// ...&#10;&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( new SequenceBuilder&lt;MyTypes&gt;() );&#10;        // fixed number of args:&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor&lt;MyTypes&gt;() ) );&#10;        ti-&gt;type(&quot;mytypes&quot;)-&gt;addConstructor( newConstructor( &#10;sequence_ctor2&lt;MyTypes&gt;() ) );&#10;

It should no longer be necessary to add these in 2.2.

Peter

How to add a vector<MyType> to my typekit?

Hi all,

In 1.10 we were able to create vectors of our own types. To this end
Ruben and me wrote StdVectorTemplateTypeComposition.
How should we handle the vector<MyTypes> in 2.x?

Tinne

How to add a vector<MyType> to my typekit?

Hi all,

In 1.10 we were able to create vectors of our own types. To this end
Ruben and me wrote StdVectorTemplateTypeComposition.
How should we handle the vector<MyTypes> in 2.x?

Tinne

How to add a vector<MyType> to my typekit?

Hi all,

In 1.10 we were able to create vectors of our own types. To this end
Ruben and me wrote StdVectorTemplateTypeComposition.
How should we handle the vector<MyTypes> in 2.x?

Tinne

How to add a vector<MyType> to my typekit?

Hi all,

In 1.10 we were able to create vectors of our own types. To this end
Ruben and me wrote StdVectorTemplateTypeComposition.
How should we handle the vector<MyTypes> in 2.x?

Tinne

How to add a vector<MyType> to my typekit?

Hi all,

In 1.10 we were able to create vectors of our own types. To this end
Ruben and me wrote StdVectorTemplateTypeComposition.
How should we handle the vector<MyTypes> in 2.x?

Tinne

How to add a vector<MyType> to my typekit?

Hi all,

In 1.10 we were able to create vectors of our own types. To this end
Ruben and me wrote StdVectorTemplateTypeComposition.
How should we handle the vector<MyTypes> in 2.x?

Tinne

How to add a vector<MyType> to my typekit?

Hi all,

In 1.10 we were able to create vectors of our own types. To this end
Ruben and me wrote StdVectorTemplateTypeComposition.
How should we handle the vector<MyTypes> in 2.x?

Tinne