Class Machine
java.lang.Object
uk.ac.manchester.spinnaker.nmpi.machinemanager.responses.Machine
Describes a machine by its name, tags, width and height.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the height of the machine.getName()Get the name of the machine.getTags()Get the tags associated with the machine.intgetWidth()Get the width of the machine.voidsetHeight(int height) Set the height of the machine.voidSet the name of the machine.voidSet the tags associated with the machine.voidsetWidth(int width) Set the width of the machine.
-
Constructor Details
-
Machine
public Machine()
-
-
Method Details
-
getName
Get the name of the machine.- Returns:
- The name of the machine
-
setName
Set the name of the machine.- Parameters:
name- The name of the machine to set
-
getTags
Get the tags associated with the machine.- Returns:
- The tags
-
setTags
Set the tags associated with the machine.- Parameters:
tags- The tags to set
-
getWidth
public int getWidth()Get the width of the machine.- Returns:
- The width in chips
-
setWidth
public void setWidth(int width) Set the width of the machine.- Parameters:
width- The width in chips
-
getHeight
public int getHeight()Get the height of the machine.- Returns:
- The height in chips
-
setHeight
public void setHeight(int height) Set the height of the machine.- Parameters:
height- The height in chips
-