kOSProcessor¶
The type of structures returned by kOS when querying a module that contains a kOS processor.
-
structure
kOSProcessor¶ Suffix Type Description All suffixes of PartModulekOSProcessorobjects are a type ofPartModuleMODE:ref:`string <string>` OFF, READY or STARVED ACTIVATENone Activates this processor DEACTIVATENone Deactivates this processor TAG:ref:`string <string>` This processor’s name tag VOLUMEVolumeThis processor’s hard disk BOOTFILENAME:ref:`string <string>` The filename for the boot file on this processor CONNECTION:struct:`Connection Returns your connection to this processor
Note
A kOSProcessor is a type of PartModule, and therefore can use all the suffixes of PartModule.
-
kOSProcessor:
MODE¶ Access: Get only Type: :ref:`string <string>` Indicates the current state of this processor. OFF - deactivated, READY - active, or STARVED - no power.
-
kOSProcessor:
ACTIVATE()¶ Returns: None Activate this processor
-
kOSProcessor:
DEACTIVATE()¶ Returns: None Deactivate this processor
-
kOSProcessor:
TAG¶ Access: Get only Type: :ref:`string <string>` This processor’s name tag
-
kOSProcessor:
BOOTFILENAME¶ Access: Get or Set Type: :ref:`string <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.
-
kOSProcessor:
CONNECTION¶ Return: ConnectionReturns your connection to this processor.