The type of structures returned by kOS when querying a module that contains a kOS processor.
.. structure:: kOSProcessor .. list-table:: :header-rows: 1 :widths: 2 1 4 * - Suffix - Type - Description * - All suffixes of :struct:`PartModule` - - :struct:`kOSProcessor` objects are a type of :struct:`PartModule` * - :attr:`MODE` - `String` - `OFF`, `READY` or `STARVED` * - :meth:`ACTIVATE` - None - Activates this processor * - :meth:`DEACTIVATE` - None - Deactivates this processor * - :attr:`TAG` - `String` - This processor's name tag * - :attr:`VOLUME` - :struct:`Volume` - This processor's hard disk * - :attr:`BOOTFILENAME` - `String` - The filename for the boot file on this processor
Note
A :struct:`kOSProcessor` is a type of :struct:`PartModule`, and therefore can use all the suffixes of :struct:`PartModule`.
.. attribute:: kOSProcessor:MODE :access: Get only :type: `String` Indicates the current state of this processor. `OFF` - deactivated, `READY` - active, or `STARVED` - no power.
.. method:: kOSProcessor:ACTIVATE :returns: None Activate this processor
.. method:: kOSProcessor:DEACTIVATE :returns: None Deactivate this processor
.. attribute:: kOSProcessor:TAG :access: Get only :type: `String` This processor's name tag
.. attribute:: kOSProcessor:VOLUME :access: Get only :type: :struct:`Volume` This processor's hard disk.
.. attribute:: kOSProcessor:BOOTFILENAME :access: Get or Set :type: `String` The filename for the boot file on this processor. This may be set to an empty string “” or to “None” to disable the use of a boot file.