nn::nex::SubscriberUtil::TopicStringToReservedTopicNum Function

Syntax

qUnsignedInt32 TopicStringToReservedTopicNum(
     const String & topic
);

Parameters

Name Description
in topic Topic string.

Return Values

The reserved topic number.

Description

Converts a topic string to a reserved topic number.

Converts a topic string with the format "r/(reserved topic number)" to a reserved topic number.

Revision History

2014/09/12
Initial version.

CONFIDENTIAL