Eval¶
-
public interface
Eval
¶ Interface to be implemented by evaluation functions (see
Workspace.registerEval(Path,Eval)
)
Methods¶
callback¶
-
public Value
callback
(Path path, Properties props)¶ The callback operation called each time the
Workspace.get(Selector)
operation is called for a Selector matching the Path this Eval is registered with. Zenoh will wrap the returnedValue
into aData
and add it to the result of the get() operation.Parameters: - path – the Path with which the Eval has been registered with (in case the same Eval is registered with several Paths).
- props – the Properties specified in the Selector used in eval operation.
Returns: a Value resulting of the evaluation.