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 ofPartModuleMODEString OFF, READY or STARVED ACTIVATENone Activates this processor DEACTIVATENone Deactivates this processor TAGString This processor’s name tag VOLUMEVolumeThis processor’s hard disk BOOTFILENAMEString The filename for the boot file on 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: 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: String This processor’s name tag
-
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.