[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [4386] add comments
From: |
Pascal Brisset |
Subject: |
[paparazzi-commits] [4386] add comments |
Date: |
Tue, 22 Dec 2009 16:17:30 +0000 |
Revision: 4386
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4386
Author: hecto
Date: 2009-12-22 16:17:30 +0000 (Tue, 22 Dec 2009)
Log Message:
-----------
add comments
Modified Paths:
--------------
paparazzi3/trunk/sw/lib/ocaml/pprz.mli
Modified: paparazzi3/trunk/sw/lib/ocaml/pprz.mli
===================================================================
--- paparazzi3/trunk/sw/lib/ocaml/pprz.mli 2009-12-22 16:16:20 UTC (rev
4385)
+++ paparazzi3/trunk/sw/lib/ocaml/pprz.mli 2009-12-22 16:17:30 UTC (rev
4386)
@@ -138,10 +138,15 @@
(** [message_bind ?sender msg_name callback] *)
val message_answerer : string -> string -> (string -> values -> values) ->
Ivy.binding
- (** [message_answerer sender msg_name callback] *)
+ (** [message_answerer sender msg_name callback] Set a handler for a
+ [message_req] (which will send a [msg_name]_REQ message).
+ [callback asker args] must return the list of attributes of the answer.
*)
val message_req : string -> string -> values -> (string -> values -> unit)
-> unit
- (** [message_answerer sender msg_name values receiver] Sends a request on
the Ivy bus for the specified message. On reception, [receiver] will be applied
on [sender_name] and expected values. *)
+ (** [message_req sender msg_name values receiver] Sends a request on the Ivy
+ bus for the specified message. A [msg_name]_REQ message is send and a
+ [msg_name] message is expected for the reply. On reception, [receiver]
+ will be applied on [sender_name] and attribute values of the values. *)
end
module Messages : functor (Class : CLASS) -> MESSAGES
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [4386] add comments,
Pascal Brisset <=