|
dLife Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdlife.sys.SerializationBase
dlife.vision.server.VisionServerDeviceList
public class VisionServerDeviceList
A VisionServerDeviceList is a useful object for storing device information about video devices on a given VisionServer. This object is also serialized and sent across the TCP connection in the VisionServer.
| Constructor Summary | |
|---|---|
VisionServerDeviceList()
Create a new, empty VisionServerDeviceList. |
|
| Method Summary | |
|---|---|
void |
addDevice(String deviceFile)
Add the device with the given device file name. |
void |
addInput(String deviceFile,
String inputName,
int inputNumber)
Add an input with the given name and given index number to a specific device. |
void |
addStandard(String deviceFile,
String inputName,
int inputNumber,
String standard)
Add a standard to a given input for a given device. |
boolean |
containsDevice(String deviceFile)
Check if a device with the given device file exits in the list |
boolean |
containsInput(String deviceFile,
String inputName)
Checks if the given input name exits for the given device. |
boolean |
containsStandard(String deviceFile,
String inputName,
String standard)
Checks if the given standard exits for the given input on the given device. |
String[] |
getDeviceFiles()
Get an array of all the device file names in the list. |
int |
getInputIndex(String deviceFile,
String inputName)
Get the input index number for a specified input on a given device. |
String[] |
getInputNames(String deviceFile)
Get the names of all the inputs for a specified device. |
String[] |
getStandards(String deviceFile,
String inputName)
Get a list of standards for a given input on a given device. |
| Methods inherited from class dlife.sys.SerializationBase |
|---|
read, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VisionServerDeviceList()
| Method Detail |
|---|
public void addDevice(String deviceFile)
deviceFile - the name of the device file to add
public void addInput(String deviceFile,
String inputName,
int inputNumber)
deviceFile - the name of the device this input belongs toinputName - the name of the inputinputNumber - the index number of that input for the given device
public void addStandard(String deviceFile,
String inputName,
int inputNumber,
String standard)
deviceFile - he name of the device the input and standard belong toinputName - the name of the inputinputNumber - the index number of that input for the given devicestandard - the name of the standard for that input on that devicepublic boolean containsDevice(String deviceFile)
deviceFile - the name of the device to check for
public boolean containsInput(String deviceFile,
String inputName)
deviceFile - the name of the device to check forinputName - the name of the input to check for
public boolean containsStandard(String deviceFile,
String inputName,
String standard)
deviceFile - the name of the device to check forinputName - the name of the input to check forstandard - the name of the standard to check for
public String[] getDeviceFiles()
public String[] getInputNames(String deviceFile)
deviceFile - the device file name to get the inputs for
public int getInputIndex(String deviceFile,
String inputName)
deviceFile - the name of the device file the input belongs toinputName - the name of the input
public String[] getStandards(String deviceFile,
String inputName)
deviceFile - the name of the device file the input belongs toinputName - the name of the input
|
dLife Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||