[][src]Function lsl_sys::lsl_create_continuous_resolver_bypred

pub unsafe extern "C" fn lsl_create_continuous_resolver_bypred(
    pred: *const c_char,
    forget_after: f64
) -> lsl_continuous_resolver

Construct a new lsl_continuous_resolver that resolves all streams that match a given XPath 1.0 predicate.

This is analogous to the functionality provided by the free function lsl_resolve_bypred() @param pred The predicate string, e.g. "name='BioSemi'" or "type='EEG' and starts-with(name,'BioSemi') and count(info/desc/channel)=32" @param forget_after When a stream is no longer visible on the network (e.g., because it was shut down), this is the time in seconds after which it is no longer reported by the resolver. The recommended default value is 5.0.