<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
3
À<×e¯  ã               @   s   d dl jZG dd„ deƒZdS )é    Nc               @   sä   e Zd ZdZdd„ Zedd„ ƒZedd„ ƒZedd	„ ƒZej	d
d	„ ƒZedd„ ƒZ
edd„ ƒZedd„ ƒZedd„ ƒZedd„ ƒZedd„ ƒZedd„ ƒZedd„ ƒZedd„ ƒZdd„ Zdd „ Zd!d"„ Zejfd#d$„Zd%d&„ Zd'S )(ÚInstancez
	c             C   sP   || _ || _|| _|| _|| _|| _|| _d| _d| _d| _	t
ƒ | _t
ƒ | _d S )NTF)Ú_pluginÚ_nameÚ_devices_expressionÚ_devices_udev_regexÚ_script_preÚ_script_postÚ_optionsÚ_activeÚ_has_static_tuningÚ_has_dynamic_tuningÚsetÚ_assigned_devicesÚ_processed_devices)ÚselfÚpluginÚnameÚdevices_expressionÚdevices_udev_regexÚ
script_preÚscript_postÚoptions© r   ú/usr/lib/python3.6/instance.pyÚ__init__   s    zInstance.__init__c             C   s   | j S )N)r   )r   r   r   r   r      s    zInstance.pluginc             C   s   | j S )N)r   )r   r   r   r   r      s    zInstance.namec             C   s   | j S )z>The instance performs some tuning (otherwise it is suspended).)r
   )r   r   r   r   Úactive    s    zInstance.activec             C   s
   || _ d S )N)r
   )r   Úvaluer   r   r   r   %   s    c             C   s   | j S )N)r   )r   r   r   r   r   )   s    zInstance.devices_expressionc             C   s   | j S )N)r   )r   r   r   r   Úassigned_devices-   s    zInstance.assigned_devicesc             C   s   | j S )N)r   )r   r   r   r   Úprocessed_devices1   s    zInstance.processed_devicesc             C   s   | j S )N)r   )r   r   r   r   r   5   s    zInstance.devices_udev_regexc             C   s   | j S )N)r   )r   r   r   r   r   9   s    zInstance.script_prec             C   s   | j S )N)r   )r   r   r   r   r   =   s    zInstance.script_postc             C   s   | j S )N)r	   )r   r   r   r   r   A   s    zInstance.optionsc             C   s   | j S )N)r   )r   r   r   r   Úhas_static_tuningE   s    zInstance.has_static_tuningc             C   s   | j S )N)r   )r   r   r   r   Úhas_dynamic_tuningI   s    zInstance.has_dynamic_tuningc             C   s   | j j| ƒ d S )N)r   Zinstance_apply_tuning)r   r   r   r   Úapply_tuningO   s    zInstance.apply_tuningc             C   s   | j j| |ƒS )N)r   Zinstance_verify_tuning)r   Zignore_missingr   r   r   Úverify_tuningR   s    zInstance.verify_tuningc             C   s   | j j| ƒ d S )N)r   Zinstance_update_tuning)r   r   r   r   Úupdate_tuningU   s    zInstance.update_tuningc             C   s   | j j| |ƒ d S )N)r   Zinstance_unapply_tuning)r   Zrollbackr   r   r   Úunapply_tuningX   s    zInstance.unapply_tuningc             C   s   | j ƒ  | jj| ƒ d S )N)r$   r   Zdestroy_instance)r   r   r   r   Údestroy[   s    zInstance.destroyN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   r   r   Úsetterr   r   r   r   r   r   r   r   r    r!   r"   r#   ÚconstsZROLLBACK_SOFTr$   r%   r   r   r   r   r      s(   r   )Ztuned.constsr,   Úobjectr   r   r   r   r   Ú<module>   s   
