Class VersionInfo
java.lang.Object
uk.ac.manchester.spinnaker.messages.model.VersionInfo
public final class VersionInfo extends Object
Decodes SC&MP/SARK version information as returned by the SVER command.
-
Field Summary
Fields Modifier and Type Field Description int
buildDate
The build date of the software, in seconds since 1st January 1970.String
hardware
The hardware being run on.SDPLocation
location
The location of the core where the information was obtained.String
name
The name of the software.int
physicalCPUID
The physical CPU ID.Version
versionNumber
The version number of the software.String
versionString
The version information as text. -
Constructor Summary
Constructors Constructor Description VersionInfo(ByteBuffer buffer, boolean isBMP)
-
Method Summary
-
Field Details
-
buildDate
public final int buildDateThe build date of the software, in seconds since 1st January 1970. -
hardware
The hardware being run on. -
name
The name of the software. -
physicalCPUID
public final int physicalCPUIDThe physical CPU ID. Note that this is only really useful for debugging, as core IDs are remapped by SCAMP so that SCAMP is always running on virtual core zero. -
versionNumber
The version number of the software. -
versionString
The version information as text. -
location
The location of the core where the information was obtained.
-
-
Constructor Details
-
VersionInfo
- Parameters:
buffer
- buffer holding an SCP packet containing version informationisBMP
- Are we really processing the result of a request to get a BMP's version.- Throws:
IllegalArgumentException
- If the buffer contains an unsupported format of data
-
-
Method Details