Class SDPLocation

java.lang.Object
uk.ac.manchester.spinnaker.messages.sdp.SDPLocation
All Implemented Interfaces:
HasBMPLocation, HasChipLocation, HasCoreLocation

public class SDPLocation extends Object implements HasCoreLocation, HasBMPLocation
Represents a location in an SDP message. This could be a core location or a BMP location. As such it can be interpreted as either.
  • Constructor Details

    • SDPLocation

      public SDPLocation(HasCoreLocation core)
      Make an SDPLocation from a core location.
      Parameters:
      core - The core location to use.
    • SDPLocation

      public SDPLocation(HasBMPLocation bmp)
      Make an SDPLocation from a BMP location.
      Parameters:
      bmp - The BMP location to use.
    • SDPLocation

      public SDPLocation(int major, int minor, int detail)
      Make an SDPLocation from components.
      Parameters:
      major - The first part of the location (x or cabinet).
      minor - The second part of the location (y or frame).
      detail - The third part of the location (p or board).
  • Method Details