class RTT::types::carray< T >
Wraps a C array such that we can return a C array from a DataSource. Inspired on boost::serialization::array.
Default copy-constructible (shallow copy).
An assignment (operator=) makes a 'deep copy', while copy construction makes a 'shallow copy', where the copy refers to the same C array. This was chosen in the spirit of this class, where it keeps track of the original data, but when assigned from another carray, is meant as copying the data itself.
You can also point to parts of arrays. An uninitialized carray object returns null for both count() and address().
|T||The data type of the array. |
Definition at line 69 of file types/carray.hpp.