dynamic

cyclonedds.dynamic.get_types_for_typeid(participant, type_id, timeout)[source]

Attempt to gather the Python types that match a TypeIdentifier. This might involve several network roundtrips to request necessary type information.

Returns

Returns a type that can be used in Topic creation (IdlUnion or IdlStruct subclass), as well as all types by name that appear at some nesting inside the main type (IdlUnion, IdlStruct, IdlEnum or IdlBitmask)

Return type

(Type, Dict[str, Type])

Raises

DDSException – If ENABLE_TYPE_DISCOVERY is not set upon compiling Cyclone DDS this does not work.

Parameters
cyclonedds.dynamic.get_types_for_typeid(participant, type_id, timeout)[source]

Attempt to gather the Python types that match a TypeIdentifier. This might involve several network roundtrips to request necessary type information.

Returns

Returns a type that can be used in Topic creation (IdlUnion or IdlStruct subclass), as well as all types by name that appear at some nesting inside the main type (IdlUnion, IdlStruct, IdlEnum or IdlBitmask)

Return type

(Type, Dict[str, Type])

Raises

DDSException – If ENABLE_TYPE_DISCOVERY is not set upon compiling Cyclone DDS this does not work.

Parameters