o
    Ã¿iŸ  ã                   @   s(   d Z ddlmZmZ G dd„ deƒZdS )z3Base clock interface for Pipecat timing operations.é    )ÚABCÚabstractmethodc                   @   s.   e Zd ZdZedefdd„ƒZedd„ ƒZdS )Ú	BaseClockzºAbstract base class for clock implementations.

    Provides a common interface for timing operations used in Pipecat
    for synchronization, scheduling, and time-based processing.
    Úreturnc                 C   ó   dS )zÁGet the current time value.

        Returns:
            The current time as an integer value. The specific unit and
            reference point depend on the concrete implementation.
        N© ©Úselfr   r   úM/home/ubuntu/.local/lib/python3.10/site-packages/pipecat/clocks/base_clock.pyÚget_time   s   zBaseClock.get_timec                 C   r   )z´Start or initialize the clock.

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