Foo
.
More...
#include <managed_sequence.h>
Public Member Functions | |
FooSeq () | |
Create a sequence with a maximum of 0. | |
FooSeq (System::Int32 new_max) | |
Create a sequence with the given maximum. | |
FooSeq (FooSeq^ src) | |
Create a sequence by copying from an existing sequence. |
Foo
.
For users who define data types in OMG IDL, this type corresponds to the IDL express sequence
<Foo>
.
For any user-data type Foo
that an application defines for the purpose of data-distribution with RTI Data Distribution Service, a FooSeq
is generated. We refer to an IDL sequence
<Foo>
asFooSeq
.
The state of a sequence is described by the properties 'maximum', 'length' and 'owned'.
FooSeq::FooSeq | ( | ) |
Create a sequence with a maximum of 0.
This is a constructor for the sequence. The constructor will allocate no memory.
This constructor will be used when the application creates a sequence using one of the following:
In C#:
In C++/CLI:
length == 0
owned == true,
FooSeq::FooSeq | ( | System::Int32 | new_max | ) |
Create a sequence with the given maximum.
This is a constructor for the sequence. The constructor will automatically allocate memory to hold new_max elements of type Foo.
This constructor will be used when the application creates a sequence using one of the following:
In C#:
In C++/CLI:
length == 0
owned == true,
new_max | Must be >= 0. Otherwise the sequence will be initialized to a new_max=0. |
FooSeq::FooSeq | ( | FooSeq^ | src | ) |
Create a sequence by copying from an existing sequence.
This is a constructor for the sequence. The constructor will automatically allocate memory to hold foo_seq::maximum() elements of type Foo and will copy the current contents of foo_seq into the new sequence.
This constructor will be used when the application creates a sequence using one of the following:
In C#:
In C++/CLI:
this::length == foo_seq::length
this[i] == foo_seq[i] for 0 <= i < foo_seq::length
this::owned == true