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
PartModule
kOSProcessor
objects are a type ofPartModule
OFF, READY or STARVED
None
Activates this processor
None
Deactivates this processor
This processor’s name tag
This processor’s hard disk
The filename for the boot file on this processor
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
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:BOOTFILENAME¶
- Access
Get or Set
- Type
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
Returns your connection to this processor.