Skip to content

Commit a46773b

Browse files
committed
微调注释
1 parent ec14e81 commit a46773b

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

include/libipc/ipc.h

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -169,26 +169,22 @@ template <relat Rp, relat Rc, trans Ts>
169169
using chan = chan_wrapper<ipc::wr<Rp, Rc, Ts>>;
170170

171171
/**
172-
* class route
172+
* \class route
173173
*
174-
* You could use one producer/server/sender for sending messages to a route,
175-
* then all the consumers/clients/receivers which are receiving with this route,
176-
* would receive your sent messages.
177-
*
178-
* A route could only be used in 1 to N
179-
* (one producer/writer to multi consumers/readers)
174+
* \note You could use one producer/server/sender for sending messages to a route,
175+
* then all the consumers/clients/receivers which are receiving with this route,
176+
* would receive your sent messages.
177+
* A route could only be used in 1 to N (one producer/writer to multi consumers/readers).
180178
*/
181-
182179
using route = chan<relat::single, relat::multi, trans::broadcast>;
183180

184181
/**
185-
* class channel
182+
* \class channel
186183
*
187-
* You could use multi producers/writers for sending messages to a channel,
188-
* then all the consumers/readers which are receiving with this channel,
189-
* would receive your sent messages.
184+
* \note You could use multi producers/writers for sending messages to a channel,
185+
* then all the consumers/readers which are receiving with this channel,
186+
* would receive your sent messages.
190187
*/
191-
192188
using channel = chan<relat::multi, relat::multi, trans::broadcast>;
193189

194190
} // namespace ipc

0 commit comments

Comments
 (0)