Hello,
Is there an API that can be used to determine if a type has been previously registered via DDS_DomainParticipantFactory_register_type_support()?
Thanks.
Mark.
Hello,
Is there an API that can be used to determine if a type has been previously registered via DDS_DomainParticipantFactory_register_type_support()?
Thanks.
Mark.
No there is no direct way tell id a type is registered. If you call it again no action will be taken and a RETURN_CODE_OK will be returned.
Thanks for the quick response. I was hoping to remove the following warning message that occurs when calling DDS_DomainParticipantFactory_register_type_support() for a previously registered type. Maybe a future enhancement to either provide an API to check for existence or to only output this status information when verbose logging is enabled.
Type registration information already exists for registered type name "NonScalarType"
DDS_FactoryXmlPlugin_addUserTypeInfo:!add user type information for registered type name "NonScalarType"
DDS_DomainParticipantFactory_register_type_support:!Register type support with name: NonScalarType