
    qi                     .    d Z ddlmZmZ  G d de      Zy)z3Base clock interface for Pipecat timing operations.    )ABCabstractmethodc                   6    e Zd ZdZedefd       Zed        Zy)	BaseClockzAbstract base class for clock implementations.

    Provides a common interface for timing operations used in Pipecat
    for synchronization, scheduling, and time-based processing.
    returnc                      y)zGet the current time value.

        Returns:
            The current time as an integer value. The specific unit and
            reference point depend on the concrete implementation.
        N selfs    K/opt/pipecat/venv/lib/python3.12/site-packages/pipecat/clocks/base_clock.pyget_timezBaseClock.get_time   s     	    c                      y)zStart or initialize the clock.

        Performs any necessary initialization or starts the timing mechanism.
        This method should be called before using get_time().
        Nr	   r
   s    r   startzBaseClock.start   s     	r   N)__name__
__module____qualname____doc__r   intr   r   r	   r   r   r   r      s6     #    r   r   N)r   abcr   r   r   r	   r   r   <module>r      s    : # r   