Static Public Member Functions | |
static void | register_type (DomainParticipant participant, String type_name) |
Allows an application to communicate to RTI Connext the existence of a data type. | |
static String | type_name () |
Get the default name for this type. |
Defines the user data type specific interface generated for each application class.
The concrete user data type automatically generated by the implementation is an incarnation of this class.
static void register_type | ( | DomainParticipant | participant, | |
String | type_name | |||
) | [static] |
Allows an application to communicate to RTI Connext the existence of a data type.
The generated implementation of the operation embeds all the knowledge that has to be communicated to the middleware in order to make it able to manage the contents of data of that type. This includes in particular the key definition that will allow RTI Connext to distinguish different instances of the same type.
The same TypeSupport can be registered multiple times with a com.rti.dds.domain.DomainParticipant using the same or different values for the type_name
. If register_type
is called multiple times on the same TypeSupport with the same com.rti.dds.domain.DomainParticipant and type_name
, the second (and subsequent) registrations are ignored by the operation fails with RETCODE_OK.
type_name
to register two different TypeSupport with the same com.rti.dds.domain.DomainParticipant, or else the operation will fail and RETCODE_PRECONDITION_NOT_MET will be returned. participant | <<in>> the com.rti.dds.domain.DomainParticipant to register the data type Foo with. Cannot be NULL. | |
type_name | <<in>> the type name under with the data type Foo is registered with the participant; this type name is used when creating a new com.rti.dds.topic.Topic. (See com.rti.dds.domain.DomainParticipant.create_topic.) The name may not be NULL or longer than 255 characters. |
One | of the Standard Return Codes, RETCODE_PRECONDITION_NOT_MET or RETCODE_OUT_OF_RESOURCES. |
static String type_name | ( | ) | [static] |
Get the default name for this type.
Can be used for calling com.rti.dds.topic.example.FooTypeSupport.register_type or creating com.rti.dds.topic.Topic