Skip to content

Commit b23af44

Browse files
author
Minggang Wang
authored
Merge pull request #152 from minggangw/fix-issue-149
Implement function expandTopicName()
2 parents b00c5c1 + d264df4 commit b23af44

20 files changed

+316
-18
lines changed

docs/Client.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rc
334334
<br class="clear">
335335

336336
<footer>
337-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Oct 19 2017 17:17:51 GMT+0800 (CST)
337+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Oct 20 2017 17:08:44 GMT+0800 (CST)
338338
</footer>
339339

340340
<script> prettyPrint(); </script>

docs/Node.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rc
13091309
<br class="clear">
13101310

13111311
<footer>
1312-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Oct 19 2017 17:17:51 GMT+0800 (CST)
1312+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Oct 20 2017 17:08:44 GMT+0800 (CST)
13131313
</footer>
13141314

13151315
<script> prettyPrint(); </script>

docs/Publisher.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rc
376376
<br class="clear">
377377

378378
<footer>
379-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Oct 19 2017 17:17:51 GMT+0800 (CST)
379+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Oct 20 2017 17:08:44 GMT+0800 (CST)
380380
</footer>
381381

382382
<script> prettyPrint(); </script>

docs/QoS.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2611,7 +2611,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rc
26112611
<br class="clear">
26122612

26132613
<footer>
2614-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Oct 19 2017 17:17:51 GMT+0800 (CST)
2614+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Oct 20 2017 17:08:44 GMT+0800 (CST)
26152615
</footer>
26162616

26172617
<script> prettyPrint(); </script>

docs/Service.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rc
147147
<br class="clear">
148148

149149
<footer>
150-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Oct 19 2017 17:17:51 GMT+0800 (CST)
150+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Oct 20 2017 17:08:44 GMT+0800 (CST)
151151
</footer>
152152

153153
<script> prettyPrint(); </script>

docs/Subscription.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rc
147147
<br class="clear">
148148

149149
<footer>
150-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Oct 19 2017 17:17:51 GMT+0800 (CST)
150+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Oct 20 2017 17:08:44 GMT+0800 (CST)
151151
</footer>
152152

153153
<script> prettyPrint(); </script>

docs/Timer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rc
863863
<br class="clear">
864864

865865
<footer>
866-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Oct 19 2017 17:17:51 GMT+0800 (CST)
866+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Oct 20 2017 17:08:44 GMT+0800 (CST)
867867
</footer>
868868

869869
<script> prettyPrint(); </script>

docs/global.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rc
10761076
<br class="clear">
10771077

10781078
<footer>
1079-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Oct 19 2017 17:17:51 GMT+0800 (CST)
1079+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Oct 20 2017 17:08:44 GMT+0800 (CST)
10801080
</footer>
10811081

10821082
<script> prettyPrint(); </script>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rc
5656
<br class="clear">
5757

5858
<footer>
59-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Oct 19 2017 17:17:51 GMT+0800 (CST)
59+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Oct 20 2017 17:08:44 GMT+0800 (CST)
6060
</footer>
6161

6262
<script> prettyPrint(); </script>

docs/index.js.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,17 @@ <h1 class="page-title">Source: index.js</h1>
195195
if (arr[i].startsWith('_')) return true;
196196
}
197197
return false;
198+
},
199+
200+
/**
201+
* Expand a given topic name using given node name and namespace as well.
202+
* @param {string} topicName - Topic name to be expanded.
203+
* @param {string} nodeName - Name of the node that this topic is associated with.
204+
* @param {string} nodeNamespace - Namespace that the topic is within.
205+
* @return {string} Expanded topic name which is fully qualified.
206+
*/
207+
expandTopicName(topicName, nodeName, nodeNamespace) {
208+
return rclnodejs.expandTopicName(topicName, nodeName, nodeNamespace);
198209
}
199210
};
200211

@@ -215,7 +226,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rc
215226
<br class="clear">
216227

217228
<footer>
218-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Oct 19 2017 17:17:51 GMT+0800 (CST)
229+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Fri Oct 20 2017 17:08:43 GMT+0800 (CST)
219230
</footer>
220231

221232
<script> prettyPrint(); </script>

0 commit comments

Comments
 (0)