ssd.__main__ ============ .. py:module:: ssd.__main__ .. autoapi-nested-parse:: `python -m ssd` 동작 시 실행되는 파일입니다. Attributes ---------- .. autoapisummary:: ssd.__main__.cmd_ Classes ------- .. autoapisummary:: ssd.__main__.SSDRunner Module Contents --------------- .. py:class:: SSDRunner SSDRunner 클래스는 가상 SSD의 명령을 처리하고 실행하는 역할을 합니다. .. attribute:: ssd 가상 SSD 객체 :type: SolidStateDrive .. attribute:: option_buf 명령 버퍼 객체 :type: CommandBuffer .. py:attribute:: ssd .. py:attribute:: option_buf .. py:method:: __del__() .. py:method:: buff_flush() 명령 버퍼를 비우고 명령어를 실행합니다. .. py:method:: run(cmd: ssd.command.Command) 주어진 명령어를 파싱하고 실행합니다. .. py:method:: execute_command(command: Union[ssd.command.ReadCommand, ssd.command.WriteCommand, ssd.command.EraseCommand]) 특정 명령어를 실행합니다. :param command: 실행할 명령어 객체 .. py:data:: cmd_