class type clock =object..end
method id : stringmethod attach : active_source -> unitmethod detach : (active_source -> bool) -> unitmethod attach_clock : clock_variable -> unitmethod sub_clocks : clock_variable listmethod start_outputs : (active_source -> bool) -> unit -> active_source listmethod get_tick : intmethod end_tick : unit