Download User`s Manual - Community RTI Connext Users

Transcript
3.2 Built-in Data Types
3.2.9
Type Codes for Built-in Types
The type codes associated with the built-in types are generated from the following IDL
type definitions:
3. User Data Types
module DDS {
/* String */
struct String {
string<max_size> value;
};
/* KeyedString */
struct KeyedString {
string<max_size> key; //@key
string<max_size> value;
};
/* Octets */
struct Octets {
sequence<octet, max_size> value;
};
/* KeyedOctets */
struct KeyedOctets {
string<max_size> key; //@key
sequence<octet, max_size> value;
};
};
The maximum size (max_size) of the strings and sequences that will be included in the
type code definitions can be configured on a per-DomainParticipant-basis by using the
properties in Table 3.2.
Table 3.2
Properties for Allocating Size of Built-in Types, per DomainParticipant
Built-in
Type
String
Property
dds.builtin_type.string.max_size
Description
Maximum size of the strings published by the DataWriters
and received by the DataReaders belonging to a DomainParticipant (includes the NULL-terminated character).
Default: 1024
3-51