(self, time_multiplier, pause, frame_timer)
Instance initializer.

    Args:
      time_multiplier: Instance of util.TimeMultiplier.
      pause: An observable pause subject, instance of util.ObservableFlag.
      frame_timer: A Timer instance counting duration of frames.
Instance initializer.
Instance initializer .
def __init__(self, time_multiplier, pause, frame_timer):
    """Instance initializer.

    Args:
      time_multiplier: Instance of util.TimeMultiplier.
      pause: An observable pause subject, instance of util.ObservableFlag.
      frame_timer: A Timer instance counting duration of frames.
    """
    self._runtime = None
    self._time_multiplier = time_multiplier
    self._camera = None
    self._pause = pause
    self._frame_timer = frame_timer
    self._fps_counter = util.Integrator()
    self._cpu_counter = util.Integrator()

    self._value = collections.OrderedDict([
        (_STATUS_LABEL, _MISSING_STATUS_ENTRY),
        (_TIME_LABEL, _MISSING_STATUS_ENTRY),
        (_CPU_LABEL, _MISSING_STATUS_ENTRY),
        (_FPS_LABEL, _MISSING_STATUS_ENTRY),
        (_CAMERA_LABEL, _MISSING_STATUS_ENTRY),
        (_PAUSED_LABEL, _MISSING_STATUS_ENTRY),
        (_ERROR_LABEL, _MISSING_STATUS_ENTRY),
    ])
def __init__ ( self , time_multiplier , pause , frame_timer ) : self . _runtime = None self . _time_multiplier = time_multiplier self . _camera = None self . _pause = pause self . _frame_timer = frame_timer self . _fps_counter = util . Integrator ( ) self . _cpu_counter = util . Integrator ( ) self . _value = collections . OrderedDict ( [ ( _STATUS_LABEL , _MISSING_STATUS_ENTRY ) , ( _TIME_LABEL , _MISSING_STATUS_ENTRY ) , ( _CPU_LABEL , _MISSING_STATUS_ENTRY ) , ( _FPS_LABEL , _MISSING_STATUS_ENTRY ) , ( _CAMERA_LABEL , _MISSING_STATUS_ENTRY ) , ( _PAUSED_LABEL , _MISSING_STATUS_ENTRY ) , ( _ERROR_LABEL , _MISSING_STATUS_ENTRY ) , ] )