comparison prolog/plosc.pl @ 1:16c621d40b68

DOC: corrected documentation of osc_add_handler_x.
author samer
date Tue, 31 Jan 2012 10:34:46 +0000
parents bbd2b1abfb32
children 6c1ba6bf9f96
comparison
equal deleted inserted replaced
0:bbd2b1abfb32 1:16c621d40b68
144 % and osc_send/4, except that the actual values are not used and 144 % and osc_send/4, except that the actual values are not used and
145 % can be left as anonymous variables, eg [int(_),string(_)]. 145 % can be left as anonymous variables, eg [int(_),string(_)].
146 % Alternatively, Types can be the atom 'any', which will match any 146 % Alternatively, Types can be the atom 'any', which will match any
147 % arguments. 147 % arguments.
148 % 148 %
149 % @param Goal is any term which can be called with call/3 with two further 149 % @param Goal is any term which can be called with call/3 with four further
150 % arguments, which will be the message Path and the argument list, eg 150 % arguments, which will be the address of the sender, the timestamp of the
151 % call( Goal, '/foo', [int(45),string(bar)]). 151 % message, message path and the argument list, eg
152 % call( Goal, SomeOSCAddress, Time, '/foo', [int(45),string(bar)]).
152 153
153 osc_add_handler_x(Ref,Path,Types,Goal) :- osc_add_method_x(Ref,Path,Types,Goal). 154 osc_add_handler_x(Ref,Path,Types,Goal) :- osc_add_method_x(Ref,Path,Types,Goal).
154 155
155 %% osc_del_handler( +Ref:osc_server, +Path:atom, +Types:list(osc_arg)) is det. 156 %% osc_del_handler( +Ref:osc_server, +Path:atom, +Types:list(osc_arg)) is det.
156 % 157 %