Enum RealtimeProcessorMode

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RealtimeProcessorMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static RealtimeProcessorMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • SYNC

        public static final RealtimeProcessorMode SYNC
        Synchronous mode. Frame drop not allowed, `pop` will block on processing.
      • SYNC_WHEN_EFFECT_LOADED

        public static final RealtimeProcessorMode SYNC_WHEN_EFFECT_LOADED
        Synchronous mode when effect loaded. Frame drop not allowed. During effect loading `push` will forward frames to `pop`, `pop` will return SKIP. When effect loaded, `pop` will block on processing.
      • ASYNC

        public static final RealtimeProcessorMode ASYNC
        Asynchronous mode. Frame drop is allowed. `push` and `pop` do not block on processing. `push` can drop frames, if processor busy, `pop` can return EMPTY, if no processed frame data for now.
      • ASYNC_WHEN_EFFECT_LOADED

        public static final RealtimeProcessorMode ASYNC_WHEN_EFFECT_LOADED
        Asynchronous mode. Frame drop is allowed. `push` and `pop` do not block on processing. During effect loading `push` will forward frames to `pop`, `pop` will return SKIP. When effect loaded, `push` can drop frames, if processor busy, `pop` can return EMPTY, if no processed frame data for now.
    • Method Detail

      • values

        public static RealtimeProcessorMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RealtimeProcessorMode c : RealtimeProcessorMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RealtimeProcessorMode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null