Package jisa.addresses
Class USBRawAddress
- java.lang.Object
-
- jisa.addresses.USBAddress
-
- jisa.addresses.USBRawAddress
-
- All Implemented Interfaces:
Address
public class USBRawAddress extends USBAddress
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jisa.addresses.Address
Address.AddressInstantiator<A extends Address>
-
-
Field Summary
-
Fields inherited from class jisa.addresses.USBAddress
board, interfaceNumber, productID, serialNumber, vendorID
-
-
Constructor Summary
Constructors Constructor Description USBRawAddress()USBRawAddress(int vendorID, int productID)USBRawAddress(int vendorID, int productID, int interfaceNumber)USBRawAddress(int board, int vendorID, int productID, java.lang.String serialNumber, int interfaceNumber)USBRawAddress(int vendorID, int productID, java.lang.String serialNumber)USBRawAddress(int vendorID, int productID, java.lang.String serialNumber, int interfaceNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTypeName()Returns a textual representation of this address' type.java.lang.StringgetVISAString()Returns the standard VISA text representation of this address.voidparseString(java.lang.String text)Parses a text representation of this type of address, setting its parameters based on those in the text.-
Methods inherited from class jisa.addresses.USBAddress
getBoard, getInterfaceNumber, getParameters, getProductID, getSerialNumber, getVendorID, setBoard, setInterfaceNumber, setParameters, setProductID, setSerialNumber, setVendorID, toString
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jisa.addresses.Address
getJISAString
-
-
-
-
Constructor Detail
-
USBRawAddress
public USBRawAddress()
-
USBRawAddress
public USBRawAddress(int board, int vendorID, int productID, java.lang.String serialNumber, int interfaceNumber)
-
USBRawAddress
public USBRawAddress(int vendorID, int productID, java.lang.String serialNumber, int interfaceNumber)
-
USBRawAddress
public USBRawAddress(int vendorID, int productID, java.lang.String serialNumber)
-
USBRawAddress
public USBRawAddress(int vendorID, int productID, int interfaceNumber)
-
USBRawAddress
public USBRawAddress(int vendorID, int productID)
-
-
Method Detail
-
getTypeName
public java.lang.String getTypeName()
Description copied from interface:AddressReturns a textual representation of this address' type.- Returns:
- Type of address
-
getVISAString
public java.lang.String getVISAString()
Description copied from interface:AddressReturns the standard VISA text representation of this address.- Returns:
- VISA text representation
-
parseString
public void parseString(java.lang.String text) throws InvalidAddressFormatExceptionDescription copied from interface:AddressParses a text representation of this type of address, setting its parameters based on those in the text.- Parameters:
text- VISA/JISA text representation- Throws:
InvalidAddressFormatException- If the text representation is not formatted properly for this address type
-
-