Skip to content

Commit 7bafc8e

Browse files
committed
[FIX] API documentation
1 parent 0ac0473 commit 7bafc8e

File tree

7 files changed

+41
-41
lines changed

7 files changed

+41
-41
lines changed

docs/ClientBase.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,26 +124,26 @@ <h2 id="details">Detailed Description</h2>
124124
<div class="func">
125125
<h2>Public Functions Documentation</h2>
126126

127-
<h3 class="fn" id="ClientBase"><a name="ClientBase"></a>ClientBase::<span class="name">ClientBase</span>(<span class="type">ros::NodeHandle</span>*<i> n</i>, const <span class="type">std::string</span>&amp; <i>name</i>)</h3>
127+
<h3 class="fn" id="ClientBase"><a name="ClientBase"></a>mementar::ClientBase::<span class="name">ClientBase</span>(<span class="type">ros::NodeHandle</span>*<i> n</i>, const <span class="type">std::string</span>&amp; <i>name</i>)</h3>
128128
<p>Constructs a ROS client linked to the service <i>name</i> with a pointer to a NodeHandle <i>n</i>.</p>
129129

130-
<h3 class="fn" id="nb"><a name="nb"></a><span class="type">size_t</span> ClientBase::<span class="name">nb</span>()</h3>
130+
<h3 class="fn" id="nb"><a name="nb"></a><span class="type">size_t</span> mementar::ClientBase::<span class="name">nb</span>()</h3>
131131
<p>Gives the total number of service calls from all ClientBase instances since the last reset.</p>
132132

133-
<h3 class="fn" id="resetNb"><a name="resetNb"></a><span class="type">void</span> ClientBase::<span class="name">resetNb</span>()</h3>
133+
<h3 class="fn" id="resetNb"><a name="resetNb"></a><span class="type">void</span> mementar::ClientBase::<span class="name">resetNb</span>()</h3>
134134
<p>Reset Call Counter for all instances of ClientBase.</p>
135135

136136
<h2>Protected Function Documentation</h2>
137137

138-
<h3 class="fn" id="call"><a name="call"></a>inline <span class="type">std::vector&lt;std::string&gt;</span> ClientBase::<span class="name">call</span>(<span class="type">mementar::MementarService</span>&amp; <i>srv</i>)</h3>
138+
<h3 class="fn" id="call"><a name="call"></a>inline <span class="type">std::vector&lt;std::string&gt;</span> mementar::ClientBase::<span class="name">call</span>(<span class="type">mementar::MementarService</span>&amp; <i>srv</i>)</h3>
139139
<p>Call the service setup in the constructor of ClientBase with the request <i>srv</i></p>
140140
<p>If the service call fails, the first element of the returned vector is &quot;ERR:SERVICE_FAIL&quot;.</p>
141141

142-
<h3 class="fn" id="callStr"><a name="callStr"></a>inline <span class="type">std::string</span> ClientBase::<span class="name">callStr</span>(<span class="type">mementar::MementarService</span>&amp; <i>srv</i>)</h3>
142+
<h3 class="fn" id="callStr"><a name="callStr"></a>inline <span class="type">std::string</span> mementar::ClientBase::<span class="name">callStr</span>(<span class="type">mementar::MementarService</span>&amp; <i>srv</i>)</h3>
143143
<p>Call the service setup in the constructor of ClientBase with the request <i>srv</i></p>
144144
<p>If the service call fails, the returned value is &quot;ERR:SERVICE_FAIL&quot;.</p>
145145

146-
<h3 class="fn" id="callNR"><a name="callNR"></a>inline <span class="type">bool</span> ClientBase::<span class="name">callNR</span>(<span class="type">mementar::MementarService</span>&amp; <i>srv</i>)</h3>
146+
<h3 class="fn" id="callNR"><a name="callNR"></a>inline <span class="type">bool</span> mementar::ClientBase::<span class="name">callNR</span>(<span class="type">mementar::MementarService</span>&amp; <i>srv</i>)</h3>
147147
<p>Call the service setup in the constructor of ClientBase with the request <i>srv</i></p>
148148
<p>Return false if the service call fails.</p>
149149

docs/Event.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,36 +117,36 @@ <h2 id="details">Detailed Description</h2>
117117
<div class="func">
118118
<h2>Public Functions Documentation</h2>
119119

120-
<h3 class="fn" id="Event"><a name="Event"></a>Event::<span class="name">Event</span>(const <span class="type">std::string</span>&amp; <i>event</i>)</h3>
120+
<h3 class="fn" id="Event"><a name="Event"></a>mementar::Event::<span class="name">Event</span>(const <span class="type">std::string</span>&amp; <i>event</i>)</h3>
121121
<p>Constructs a new event from the formatted parameter <i>event</i>.</p>
122122
<p>In its formatted form, an event is written as follows: subject|predicat|object</p>
123123

124-
<h3 class="fn" id="Event2"><a name="Event2"></a>Event::<span class="name">Event</span>(const <span class="type">std::string</span>&amp; <i>subject</i>, const <span class="type">std::string</span>&amp; <i>predicat</i>, const <span class="type">std::string</span>&amp; <i>object</i>)</h3>
124+
<h3 class="fn" id="Event2"><a name="Event2"></a>mementar::Event::<span class="name">Event</span>(const <span class="type">std::string</span>&amp; <i>subject</i>, const <span class="type">std::string</span>&amp; <i>predicat</i>, const <span class="type">std::string</span>&amp; <i>object</i>)</h3>
125125
<p>Constructs a new event from the triplet defined by the parameters <i>subject</i>, <i>predicat</i> and <i>object</i>.</p>
126126

127-
<h3 class="fn" id="subject_get"><a name="subject_get"></a><span class="type">std::string</span> EventsPublisher::<span class="name">subject</span>()</h3>
127+
<h3 class="fn" id="subject_get"><a name="subject_get"></a><span class="type">std::string</span> mementar::Event::<span class="name">subject</span>()</h3>
128128
<p>Return the subject of the event.</p>
129129

130-
<h3 class="fn" id="predicat_get"><a name="predicat_get"></a><span class="type">std::string</span> EventsPublisher::<span class="name">predicat</span>()</h3>
130+
<h3 class="fn" id="predicat_get"><a name="predicat_get"></a><span class="type">std::string</span> mementar::Event::<span class="name">predicat</span>()</h3>
131131
<p>Return the predicat of the event.</p>
132132

133-
<h3 class="fn" id="object_get"><a name="object_get"></a><span class="type">std::string</span> EventsPublisher::<span class="name">object</span>()</h3>
133+
<h3 class="fn" id="object_get"><a name="object_get"></a><span class="type">std::string</span> mementar::Event::<span class="name">object</span>()</h3>
134134
<p>Return the object of the event.</p>
135135

136-
<h3 class="fn" id="operator_get"><a name="operator_get"></a><span class="type">std::string</span> EventsPublisher::<span class="name">operator()</span>()</h3>
136+
<h3 class="fn" id="operator_get"><a name="operator_get"></a><span class="type">std::string</span> mementar::Event::<span class="name">operator()</span>()</h3>
137137
<p>Return the event in its formatted form.</p>
138138
<p>In its formatted form, an event is written as follows: subject|predicat|object</p>
139139

140-
<h3 class="fn" id="subject_set"><a name="subject_set"></a><span class="type">void</span> EventsPublisher::<span class="name">subject</span>(const <span class="type">std::string</span>&amp; <i>subject</i>)</h3>
140+
<h3 class="fn" id="subject_set"><a name="subject_set"></a><span class="type">void</span> mementar::Event::<span class="name">subject</span>(const <span class="type">std::string</span>&amp; <i>subject</i>)</h3>
141141
<p>Set the subject of the event.</p>
142142

143-
<h3 class="fn" id="predicat_set"><a name="predicat_set"></a><span class="type">void</span> EventsPublisher::<span class="name">predicat</span>(const <span class="type">std::string</span>&amp; <i>predicat</i>)</h3>
143+
<h3 class="fn" id="predicat_set"><a name="predicat_set"></a><span class="type">void</span> mementar::Event::<span class="name">predicat</span>(const <span class="type">std::string</span>&amp; <i>predicat</i>)</h3>
144144
<p>Set the predicat of the event.</p>
145145

146-
<h3 class="fn" id="object_set"><a name="object_set"></a><span class="type">void</span> EventsPublisher::<span class="name">object</span>(const <span class="type">std::string</span>&amp; <i>object</i>)</h3>
146+
<h3 class="fn" id="object_set"><a name="object_set"></a><span class="type">void</span> mementar::Event::<span class="name">object</span>(const <span class="type">std::string</span>&amp; <i>object</i>)</h3>
147147
<p>Set the object of the event.</p>
148148

149-
<h3 class="fn" id="operator_set"><a name="operator_set"></a><span class="type">void</span> EventsPublisher::<span class="name">operator()</span>(const <span class="type">std::string</span>&amp; <i>event</i>)</h3>
149+
<h3 class="fn" id="operator_set"><a name="operator_set"></a><span class="type">void</span> mementar::Event::<span class="name">operator()</span>(const <span class="type">std::string</span>&amp; <i>event</i>)</h3>
150150
<p>Set the event using its formatted form.</p>
151151
<p>In its formatted form, an event is written as follows: subject|predicat|object</p>
152152

docs/EventsPublisher.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ <h2 id="details">Detailed Description</h2>
110110
<div class="func">
111111
<h2>Public Functions Documentation</h2>
112112

113-
<h3 class="fn" id="EventsPublisher"><a name="EventsPublisher"></a>EventsPublisher::<span class="name">EventsPublisher</span>(<span class="type">ros::NodeHandle</span>*<i> n</i>, const <span class="type">std::string</span>&amp; <i>name</i> = "")</h3>
113+
<h3 class="fn" id="EventsPublisher"><a name="EventsPublisher"></a>mementar::EventsPublisher::<span class="name">EventsPublisher</span>(<span class="type">ros::NodeHandle</span>*<i> n</i>, const <span class="type">std::string</span>&amp; <i>name</i> = "")</h3>
114114
<p>Constructs an EventsPublisher with a pointer to a NodeHandle <i>n</i>.</p>
115115
<p>Can be used in a multi-process mode by specifying the name of the mementar instance <i>name</i>. For classic use, <i>name</i> should be defined as &quot;&quot;.</p>
116116

117-
<h3 class="fn" id="insert2"><a name="insert2"></a><span class="type">void</span> EventsPublisher::<span class="name">insert</span>(const <span class="type"><a href="Event.html">Event</a></span>&amp; <i>data</i>, <span class="type">time_t</span>&amp; <i>stamp</i> = 0)</h3>
117+
<h3 class="fn" id="insert2"><a name="insert2"></a><span class="type">void</span> mementar::EventsPublisher::<span class="name">insert</span>(const <span class="type"><a href="Event.html">Event</a></span>&amp; <i>data</i>, <span class="type">time_t</span>&amp; <i>stamp</i> = 0)</h3>
118118
<p>Inserts the event defined in the <i>event</i> object.</p>
119119
<p>The event can be stamped using the <i>stamp</i> parameter. If the stamp parameter is not set (set to default 0), it will be set at the current time.</p>
120120

docs/EventsSubscriber.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,29 +113,29 @@ <h2 id="details">Detailed Description</h2>
113113
<div class="func">
114114
<h2>Public Functions Documentation</h2>
115115

116-
<h3 class="fn" id="EventsSubscriber"><a name="EventsSubscriber"></a>EventsSubscriber::<span class="name">EventsSubscriber</span>(const <span class="type">std::function&lt;void(<a href="Event.html">Event</a>&amp;)&gt;</span> <i>callback</i>, const <span class="type">std::string</span>&amp; <i>name</i> = "", <span class="type">bool</span> <i>spin_thread</i> = true)</h3>
116+
<h3 class="fn" id="EventsSubscriber"><a name="EventsSubscriber"></a>mementar::EventsSubscriber::<span class="name">EventsSubscriber</span>(const <span class="type">std::function&lt;void(<a href="Event.html">Event</a>&amp;)&gt;</span> <i>callback</i>, const <span class="type">std::string</span>&amp; <i>name</i> = "", <span class="type">bool</span> <i>spin_thread</i> = true)</h3>
117117
<p>Constructs an EventsSubscriber with a callback function <i>callback</i>.</p>
118118
<p>The EventsSubscriber constructor also takes a boolean option to automatically spin a thread. If you prefer not to use threads (and you want the EventsSubscriber to do the 'thread magic' behind the scenes), this is a good option for you.</p>
119119
<p>Can be used in a multi-process mode by specifying the name of the mementar instance <i>name</i>. For classic use, <i>name</i> should be defined as &quot;&quot;.</p>
120120

121-
<h3 class="fn" id="EventsSubscriber2"><a name="EventsSubscriber2"></a>EventsSubscriber::<span class="name">EventsSubscriber</span>(const <span class="type">std::function&lt;void(<a href="Event.html">Event</a>&amp;)&gt;</span> <i>callback</i>, <span class="type">bool</span> <i>spin_thread</i>)</h3>
121+
<h3 class="fn" id="EventsSubscriber2"><a name="EventsSubscriber2"></a>mementar::EventsSubscriber::<span class="name">EventsSubscriber</span>(const <span class="type">std::function&lt;void(<a href="Event.html">Event</a>&amp;)&gt;</span> <i>callback</i>, <span class="type">bool</span> <i>spin_thread</i>)</h3>
122122
<p>Constructs an EventsSubscriber with a callback function <i>callback</i>.</p>
123123
<p>The EventsSubscriber constructor also takes a boolean option to automatically spin a thread. If you prefer not to use threads (and you want the EventsSubscriber to do the 'thread magic' behind the scenes), this is a good option for you.</p>
124124

125-
<h3 class="fn" id="EventsSubscriber_dest"><a name="EventsSubscriber_dest"></a>EventsSubscriber::<span class="name">~EventsSubscriber</span>()</h3>
125+
<h3 class="fn" id="EventsSubscriber_dest"><a name="EventsSubscriber_dest"></a>mementar::EventsSubscriber::<span class="name">~EventsSubscriber</span>()</h3>
126126
<p>The EventsSubscriber destructor cancel all the subscriptions previous done.</p>
127127

128-
<h3 class="fn" id="subscribe"><a name="subscribe"></a><span class="type">bool</span> EventsPublisher::<span class="name">subscribe</span>(const <span class="type"><a href="Event.html">Event</a></span>&amp; <i>pattern</i>, <span class="type">size_t</span>&amp; <i>count</i> = -1)</h3>
128+
<h3 class="fn" id="subscribe"><a name="subscribe"></a><span class="type">bool</span> mementar::EventsSubscriber::<span class="name">subscribe</span>(const <span class="type"><a href="Event.html">Event</a></span>&amp; <i>pattern</i>, <span class="type">size_t</span>&amp; <i>count</i> = -1)</h3>
129129
<p>Subscribe to the event pattern <i>pattern</i> defined as an Event object.</p>
130130
<p>A pattern can be constructed as a classic event, but each component of the triplet can also be set to the value &quot;?&quot; to represent anything.</p>
131131
<p>The <i>count</i> parameter defines the number of events corresponding to the model you want to know. By using the default value -1, the number of events is unlimited.</p>
132132
<p>Returns false if the subscription failed.<p>
133133

134-
<h3 class="fn" id="cancel"><a name="cancel"></a><span class="type">bool</span> EventsPublisher::<span class="name">cancel</span>()</h3>
134+
<h3 class="fn" id="cancel"><a name="cancel"></a><span class="type">bool</span> mementar::EventsSubscriber::<span class="name">cancel</span>()</h3>
135135
<p>Cancel all subscriptions.</p>
136136
<p>Returns false if at least one subscription fails.<p>
137137

138-
<h3 class="fn" id="end"><a name="end"></a><span class="type">bool</span> EventsPublisher::<span class="name">end</span>()</h3>
138+
<h3 class="fn" id="end"><a name="end"></a><span class="type">bool</span> mementar::EventsSubscriber::<span class="name">end</span>()</h3>
139139
<p>Returns true if no more events are expected.</p>
140140
<p>If at least one subscription has been made with an account set to -1, the end function will always return false until the next cancellation.</p>
141141

docs/ManagerClient.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,18 @@ <h2 id="details">Detailed Description</h2>
120120
<div class="func">
121121
<h2>Public Functions Documentation</h2>
122122

123-
<h3 class="fn" id="ManagerClient"><a name="ManagerClient"></a>ManagerClient::<span class="name">ManagerClient</span>(<span class="type">ros::NodeHandle</span>*<i> n</i>)</h3>
123+
<h3 class="fn" id="ManagerClient"><a name="ManagerClient"></a>mementar::ManagerClient::<span class="name">ManagerClient</span>(<span class="type">ros::NodeHandle</span>*<i> n</i>)</h3>
124124
<p>Constructs an manager client with a pointer to a NodeHandle <i>n</i>.</p>
125125
<p>Can only be used in a multi-process mode.</p>
126126

127-
<h3 class="fn" id="list"><a name="list"></a><span class="type">std::vector&lt;std::string&gt;</span> ManagerClient::<span class="name">list</span>()</h3>
127+
<h3 class="fn" id="list"><a name="list"></a><span class="type">std::vector&lt;std::string&gt;</span> mementar::ManagerClient::<span class="name">list</span>()</h3>
128128
<p>Returns the name of the intanced mementar process.</p>
129129

130-
<h3 class="fn" id="add"><a name="add"></a><span class="type">bool</span> ManagerClient::<span class="name">add</span>(const <span class="type">std::string</span>&amp; <i>name</i>)</h3>
130+
<h3 class="fn" id="add"><a name="add"></a><span class="type">bool</span> mementar::ManagerClient::<span class="name">add</span>(const <span class="type">std::string</span>&amp; <i>name</i>)</h3>
131131
<p>Create an mementar instance named <i>name</i>.</p>
132132
<p>Returns false if the service call fails.</p>
133133

134-
<h3 class="fn" id="del"><a name="del"></a><span class="type">bool</span> ManagerClient::<span class="name">del</span>(const <span class="type">std::string</span>&amp; <i>name</i>)</h3>
134+
<h3 class="fn" id="del"><a name="del"></a><span class="type">bool</span> mementar::ManagerClient::<span class="name">del</span>(const <span class="type">std::string</span>&amp; <i>name</i>)</h3>
135135
<p>Delete the mementar instance named <i>name</i></p>
136136
<p>Returns false if the service call fails.</p>
137137

0 commit comments

Comments
 (0)