#include <ITypeObjectRegistry.hpp>
Public Member Functions | |
| virtual FASTDDS_EXPORTED_API ReturnCode_t | register_type_object (const std::string &type_name, const CompleteTypeObject &complete_type_object, TypeIdentifierPair &type_ids)=0 |
| Register a local TypeObject. | |
| virtual FASTDDS_EXPORTED_API ReturnCode_t | register_type_object (const TypeObject &type_object, TypeIdentifierPair &type_ids)=0 |
| Register a remote TypeObject. | |
| virtual FASTDDS_EXPORTED_API ReturnCode_t | register_typeobject_w_dynamic_type (const DynamicType::_ref_type &dynamic_type, TypeIdentifierPair &type_ids)=0 |
| Register DynamicType TypeObject. | |
| virtual FASTDDS_EXPORTED_API ReturnCode_t | register_type_identifier (const std::string &type_name, TypeIdentifierPair &type_identifier)=0 |
| Register an indirect hash TypeIdentifier. | |
| virtual FASTDDS_EXPORTED_API ReturnCode_t | get_type_objects (const std::string &type_name, TypeObjectPair &type_objects)=0 |
| Get the TypeObjects related to the given type name. | |
| virtual FASTDDS_EXPORTED_API ReturnCode_t | get_type_identifiers (const std::string &type_name, TypeIdentifierPair &type_identifiers)=0 |
| Get the TypeIdentifiers related to the given type name. | |
| virtual FASTDDS_EXPORTED_API ReturnCode_t | get_type_object (const TypeIdentifier &type_identifier, TypeObject &type_object)=0 |
| Get the TypeObject related to the given TypeIdentifier. | |
| virtual FASTDDS_EXPORTED_API ReturnCode_t | get_complete_type_object (const TypeIdentifierPair &type_identifiers, CompleteTypeObject &type_object)=0 |
| Get the CompleteTypeObject related to the given type identifiers. | |
| virtual FASTDDS_EXPORTED_API ReturnCode_t | get_type_information (const TypeIdentifierPair &type_ids, TypeInformation &type_information, bool with_dependencies=false)=0 |
| Get the TypeInformation related to a specific type_name. | |
|
pure virtual |
Get the CompleteTypeObject related to the given type identifiers.
| [in] | type_identifiers | Identifiers of the type being queried. |
| [out] | type_object | CompleteTypeObject related with the given identifiers. |
|
pure virtual |
Get the TypeIdentifiers related to the given type name.
| [in] | type_name | Name of the type being queried. |
| [out] | type_identifiers | For direct hash TypeIdentifiers, both minimal and complete TypeIdentifiers are returned. For indirect hash TypeIdentifiers, only the corresponding TypeIdentifier is returned |
|
pure virtual |
Get the TypeInformation related to a specific type_name.
| [in] | type_ids | TypeIdentifierPair which type information is queried. |
| [out] | type_information | Related TypeInformation for the given TypeIdentifier. |
| [in] | with_dependencies |
|
pure virtual |
Get the TypeObject related to the given TypeIdentifier.
| [in] | type_identifier | TypeIdentifier being queried. |
| [out] | type_object | TypeObject related with the given TypeIdentifier. |
|
pure virtual |
Get the TypeObjects related to the given type name.
| [in] | type_name | Name of the type being queried. |
| [out] | type_objects | Both complete and minimal TypeObjects related with the given type_name. |
|
pure virtual |
Register an indirect hash TypeIdentifier.
| [in] | type_name | Name of the type being registered. |
| [in,out] | type_identifier | TypeIdentifierPair related to the given type name. It must be set in type_identifier1. At the end this object is filled with both TypeIdentifiers. |
|
pure virtual |
Register a local TypeObject.
The MinimalTypeObject is generated from the CompleteTypeObject, and both are registered into the registry with the corresponding TypeIdentifiers and TypeObject serialized sizes.
| [in] | type_name | Name of the type being registered. |
| [in] | complete_type_object | CompleteTypeObject related to the given type name. |
| [out] | type_ids | TypeIdentifierPair corresponding to the CompleteTypeObject just registered and the generated MinimalTypeObject. |
|
pure virtual |
Register a remote TypeObject.
This auxiliary method might register only the minimal TypeObject and TypeIdentifier or register both TypeObjects constructing the minimal from the complete TypeObject information. TypeObject consistency is not checked in this method as the order of the dependencies received by the TypeLookupService is not guaranteed. The consistency is checked by the TypeLookupService after all dependencies are registered.
| [in] | type_object | Related TypeObject being registered. |
| [in,out] | type_ids | Returns the registered TypeIdentifier. type_identifier1 might be TK_NONE. In other case this function will check it is consistence with the provided TypeObject. |
|
pure virtual |
Register DynamicType TypeObject.
| [in] | dynamic_type | DynamicType to be registered. |
| [out] | type_ids | TypeIdentifierPair corresponding to the registered DynamicType TypeObject. |