[][src]Enum lsl::ProcessingOption

pub enum ProcessingOption {
    None,
    ClockSync,
    Dejitter,
    Monotonize,
    Threadsafe,
    ALL,
}

Post-processing options for stream inlets.

Variants

None

No automatic post-processing; return the ground-truth time stamps for manual post- processing (this is the default behavior of the inlet).

ClockSync

Perform automatic clock synchronization; equivalent to manually adding the value returned by the time_correction() method to the received time stamps.

Dejitter

Remove jitter from time stamps. This will apply a smoothing algorithm to the received time stamps; the smoothing needs to see a minimum number of samples (30-120 seconds worst-case) until the remaining jitter is consistently below 1ms.

Monotonize

Force the time-stamps to be monotonically ascending (only makes sense if timestamps are dejittered).

Threadsafe

Post-processing is thread-safe (same inlet can be read from by multiple threads); uses somewhat more CPU.

ALL

The combination of all possible post-processing options.

Trait Implementations

impl Clone for ProcessingOption[src]

impl Copy for ProcessingOption[src]

impl Debug for ProcessingOption[src]

impl Eq for ProcessingOption[src]

impl PartialEq<ProcessingOption> for ProcessingOption[src]

impl StructuralEq for ProcessingOption[src]

impl StructuralPartialEq for ProcessingOption[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.