You are here: Part 2: Core Concepts > Data Types and DDS Data Samples > Introduction to the Type System

Introduction to the Type System

A user data type is any custom type that your application defines for use with Connext DDS. It may be a structure, a union, a value type, an enumeration, or a typedef (or language equivalents).

Your application can have any number of user data types. They can be composed of any of the primitive data types listed below or of other user data types.

Only structures, unions, and value types may be read and written directly by Connext DDS; enums, typedefs, and primitive types must be contained within a structure, union, or value type. In order for a DataReader and DataWriter to communicate with each other, the data types associated with their respective Topic definitions must be identical.

The following type-building constructs are also supported:

To use a data type with Connext DDS, you must define that type in a way the middleware understands and then register the type with the middleware. These steps allow Connext DDS to serialize, deserialize, and otherwise operate on specific types. They will be described in detail in the following sections.

© 2015 RTI