Function eCAL::Util::GetTopicTypeName(const std::string&, std::string&)

Function eCAL::Util::GetTopicTypeName(const std::string&, std::string&)#

Function Documentation#

ECAL_API bool eCAL::Util::GetTopicTypeName(const std::string &topic_name_, std::string &topic_type_)#

Gets type name of the specified topic.

Deprecated:

Please use the method bool GetTopicDataTypeInformation(const std::string& topic_name_, SDataTypeInformation& topic_info_) instead. You can extract the type information from the members encoding and type of the SDataTypeInformation variable. This function will be removed in future eCAL versions.

Parameters:
  • topic_name_ – Topic name.

  • topic_type_ – String to store type name.

Returns:

True if succeeded.