Module Output


module Output: sig .. end
Abstract classes for easy creation of output nodes.

val proto : (string * Lang.t * Lang.value option * string option) list
Parameters needed to instantiate an output.
class virtual output : content_kind:Frame.content_kind -> output_kind:string -> ?name:string -> infallible:bool -> on_start:(unit -> unit) -> on_stop:(unit -> unit) -> Lang.value -> bool -> object .. end
Given abstract start stop and send methods, creates an output.
class virtual encoded : content_kind:Frame.content_kind -> output_kind:string -> name:string -> infallible:bool -> on_start:(unit -> unit) -> on_stop:(unit -> unit) -> autostart:bool -> Lang.value -> object .. end
More concrete abstract-class, which takes care of the #output_send method for outputs based on encoders.