Device servers must export the properties they wish to handle. More...
Public Member Functions | |
void | setRunInSeparateThread (boolean value) |
Establishes whether a handler for this property is to be called in its own thread or not. More... | |
void | setDeviceList (ArrayList< String > deviceList) |
Sets the property's device list to the ArrayList given. | |
ArrayList< String > | getDeviceList () |
Returns the property's device list. | |
TExportProperty (int prpId, String prpName, short accessMode, TDataType din, TDataType dout, String prpDescription) | |
Constructor. More... | |
TExportProperty (String prpName, short accessMode, TDataType din, TDataType dout, String prpDescription) | |
Constructor. More... | |
TExportProperty (String prpName, int outputSize, short outputFormat) | |
Constructor. More... | |
TExportProperty (String prpName, int outputSize, short outputFormat, int inputSize, short inputFormat) | |
Constructor. More... | |
TExportProperty (int prpId, String prpName, short accessMode, TDataType din, TDataType dout) | |
Constructor. More... | |
TExportProperty (TExportProperty source) | |
A Copy Constructor. More... | |
TExportProperty (int prpId, String prpName, String prpDescription, int prpSizeOut, short prpFormatOut, String prpTagOut, int prpSizeIn, short prpFormatIn, String prpTagIn, short access) | |
Constructor. More... | |
TExportProperty (String prpName, String prpDescription, int prpSizeOut, short prpFormatOut, String prpTagOut, int prpSizeIn, short prpFormatIn, String prpTagIn, short access) | |
Constructor. More... | |
TExportProperty (int prpId, String prpName, TPropertyDescription prpDescription, int prpSizeOut, short prpFormatOut, String prpTagOut, int prpSizeIn, short prpFormatIn, String prpTagIn, short access) | |
Constructor. More... | |
TExportProperty (String prpName, TPropertyDescription prpDescription, int prpSizeOut, short prpFormatOut, String prpTagOut, int prpSizeIn, short prpFormatIn, String prpTagIn, short access) | |
Constructor. More... | |
TExportProperty (int prpId, String prpName, String prpDescription, int prpSizeOut, short prpFormatOut, int prpSizeIn, short prpFormatIn, short access) | |
Constructor. More... | |
TExportProperty (String prpName, String prpDescription, int prpSizeOut, short prpFormatOut, int prpSizeIn, short prpFormatIn, short access) | |
Constructor. More... | |
TExportProperty (int prpId, String prpName, String prpDescription, int prpSizeOut, short prpFormatOut) | |
Constructor. More... | |
short | getAccessMode () |
void | setAccessMode (short accessMode) |
String | getAlias () |
void | setAlias (String alias) |
int | getId () |
void | setId (int id) |
short | getInputFormat () |
void | setInputFormat (short inputFormat) |
int | getInputSize () |
void | setInputSize (int inputSize) |
String | getInputTag () |
void | setInputTag (String inputTag) |
String | getName () |
void | setName (String name) |
short | getOutputFormat () |
void | setOutputFormat (short outputFormat) |
int | getOutputSize () |
void | setOutputSize (int outputSize) |
String | getOutputTag () |
void | setOutputTag (String outputTag) |
TPropertyDescription | getDescription () |
void | setDescription (TPropertyDescription description) |
Device servers must export the properties they wish to handle.
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | int | prpId, |
String | prpName, | ||
short | accessMode, | ||
TDataType | din, | ||
TDataType | dout, | ||
String | prpDescription | ||
) |
Constructor.
Creates a property with an ID.
prpId | The property identifier |
prpName | The property name. |
accessMode | The access mode associating with the property (CA_READ and/or CA_WRITE). |
din | Specifies input format information |
dout | Specifies output format information |
prpDscr | gives a property description. |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | String | prpName, |
short | accessMode, | ||
TDataType | din, | ||
TDataType | dout, | ||
String | prpDescription | ||
) |
Constructor.
Creates a property with the given settings.
prpName | The property name. |
accessMode | The access mode associating with the property (CA_READ and/or CA_WRITE). |
din | Specifies input format information |
dout | Specifies output format information |
prpDscr | gives a property description. |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | String | prpName, |
int | outputSize, | ||
short | outputFormat | ||
) |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | String | prpName, |
int | outputSize, | ||
short | outputFormat, | ||
int | inputSize, | ||
short | inputFormat | ||
) |
Constructor.
Creates a TExportProperty for read/write access.
prpName | |
outputSize | |
outputFormat | |
inputSize | |
inputFormat |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | int | prpId, |
String | prpName, | ||
short | accessMode, | ||
TDataType | din, | ||
TDataType | dout | ||
) |
Constructor.
Creates a property with an ID.
prpId | The property identifier |
prpName | The property name. |
accessMode | The access mode associating with the property (CA_READ and/or CA_WRITE). |
din | Specifies input format information |
dout | Specifies output format information |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | TExportProperty | source | ) |
A Copy Constructor.
NOTE: This implementation SIMULATES a copy constructor. It does not copy everything. Useful only for TStockProperty, alias properties !!!.
source |
References de.desy.tine.server.properties.TPropertyDescription.getText().
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | int | prpId, |
String | prpName, | ||
String | prpDescription, | ||
int | prpSizeOut, | ||
short | prpFormatOut, | ||
String | prpTagOut, | ||
int | prpSizeIn, | ||
short | prpFormatIn, | ||
String | prpTagIn, | ||
short | access | ||
) |
Constructor.
Creates a property with an ID.
prpId | The property identifier |
prpName | The property name. |
prpDescription | gives a property description string. |
prpSizeOut | gives the property's output size |
prpFormatOut | gives the property's output format |
prpTagOut | gives the property's output data tag |
prpSizeIn | gives the property's input size |
prpFormatIn | gives the property's input format |
prpTagIn | gives the property's input data tag |
access | gives the property's access mode |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | String | prpName, |
String | prpDescription, | ||
int | prpSizeOut, | ||
short | prpFormatOut, | ||
String | prpTagOut, | ||
int | prpSizeIn, | ||
short | prpFormatIn, | ||
String | prpTagIn, | ||
short | access | ||
) |
Constructor.
Creates a property with given settings.
prpName | The property name. |
prpDescription | gives a property description string. |
prpSizeOut | gives the property's output size |
prpFormatOut | gives the property's output format |
prpTagOut | gives the property's output data tag |
prpSizeIn | gives the property's input size |
prpFormatIn | gives the property's input format |
prpTagIn | gives the property's input data tag |
access | gives the property's access mode |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | int | prpId, |
String | prpName, | ||
TPropertyDescription | prpDescription, | ||
int | prpSizeOut, | ||
short | prpFormatOut, | ||
String | prpTagOut, | ||
int | prpSizeIn, | ||
short | prpFormatIn, | ||
String | prpTagIn, | ||
short | access | ||
) |
Constructor.
Creates a property with an ID.
prpId | The property identifier |
prpName | The property name. |
prpDescription | gives a property description object. |
prpSizeOut | gives the property's output size |
prpFormatOut | gives the property's output format |
prpTagOut | gives the property's output data tag |
prpSizeIn | gives the property's input size |
prpFormatIn | gives the property's input format |
prpTagIn | gives the property's input data tag |
access | gives the property's access mode |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | String | prpName, |
TPropertyDescription | prpDescription, | ||
int | prpSizeOut, | ||
short | prpFormatOut, | ||
String | prpTagOut, | ||
int | prpSizeIn, | ||
short | prpFormatIn, | ||
String | prpTagIn, | ||
short | access | ||
) |
Constructor.
Creates a property with given settings.
prpName | The property name. |
prpDescription | gives a property description object. |
prpSizeOut | gives the property's output size |
prpFormatOut | gives the property's output format |
prpTagOut | gives the property's output data tag |
prpSizeIn | gives the property's input size |
prpFormatIn | gives the property's input format |
prpTagIn | gives the property's input data tag |
access | gives the property's access mode |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | int | prpId, |
String | prpName, | ||
String | prpDescription, | ||
int | prpSizeOut, | ||
short | prpFormatOut, | ||
int | prpSizeIn, | ||
short | prpFormatIn, | ||
short | access | ||
) |
Constructor.
Creates a property with an ID.
prpId | The property identifier |
prpName | The property name. |
prpDescription | gives a property description. |
prpSizeOut | gives the property's output size |
prpFormatOut | gives the property's output format |
prpSizeIn | gives the property's input size |
prpFormatIn | gives the property's input format |
access | gives the property's access mode |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | String | prpName, |
String | prpDescription, | ||
int | prpSizeOut, | ||
short | prpFormatOut, | ||
int | prpSizeIn, | ||
short | prpFormatIn, | ||
short | access | ||
) |
Constructor.
Creates a property with given settings.
prpName | The property name. |
prpDescription | gives a property description. |
prpSizeOut | gives the property's output size |
prpFormatOut | gives the property's output format |
prpSizeIn | gives the property's input size |
prpFormatIn | gives the property's input format |
access | gives the property's access mode |
de.desy.tine.server.properties.TExportProperty.TExportProperty | ( | int | prpId, |
String | prpName, | ||
String | prpDescription, | ||
int | prpSizeOut, | ||
short | prpFormatOut | ||
) |
Constructor.
Creates a property with an ID.
prpId | The property identifier |
prpName | The property name. |
prpDescription | gives a property description. |
prpSizeOut | gives the property's output size |
prpFormatOut | gives the property's output format |
short de.desy.tine.server.properties.TExportProperty.getAccessMode | ( | ) |
Referenced by de.desy.tine.server.equipment.TEquipmentModule.registerProperty(), and de.desy.tine.queryUtils.TPropertyQuery.TPropertyQuery().
String de.desy.tine.server.properties.TExportProperty.getAlias | ( | ) |
TPropertyDescription de.desy.tine.server.properties.TExportProperty.getDescription | ( | ) |
Referenced by de.desy.tine.server.equipment.TEquipmentModule.addAlarmWatchTableEntry(), de.desy.tine.server.equipment.TEquipmentModule.addLocalHistoryRecord(), and de.desy.tine.queryUtils.TPropertyQuery.TPropertyQuery().
int de.desy.tine.server.properties.TExportProperty.getId | ( | ) |
short de.desy.tine.server.properties.TExportProperty.getInputFormat | ( | ) |
Referenced by de.desy.tine.queryUtils.TPropertyQuery.TPropertyQuery().
int de.desy.tine.server.properties.TExportProperty.getInputSize | ( | ) |
Referenced by de.desy.tine.queryUtils.TPropertyQuery.TPropertyQuery().
String de.desy.tine.server.properties.TExportProperty.getInputTag | ( | ) |
Referenced by de.desy.tine.queryUtils.TPropertyQuery.TPropertyQuery().
String de.desy.tine.server.properties.TExportProperty.getName | ( | ) |
Referenced by de.desy.tine.server.equipment.TEquipmentModule.registerProperty(), and de.desy.tine.queryUtils.TPropertyQuery.TPropertyQuery().
short de.desy.tine.server.properties.TExportProperty.getOutputFormat | ( | ) |
numOverloads | The numOverloads to set. |
Referenced by de.desy.tine.server.equipment.TEquipmentModule.registerProperty(), and de.desy.tine.queryUtils.TPropertyQuery.TPropertyQuery().
int de.desy.tine.server.properties.TExportProperty.getOutputSize | ( | ) |
Referenced by de.desy.tine.server.equipment.TEquipmentModule.registerProperty(), and de.desy.tine.queryUtils.TPropertyQuery.TPropertyQuery().
String de.desy.tine.server.properties.TExportProperty.getOutputTag | ( | ) |
Referenced by de.desy.tine.queryUtils.TPropertyQuery.TPropertyQuery().
void de.desy.tine.server.properties.TExportProperty.setAccessMode | ( | short | accessMode | ) |
accessMode | The accessMode to set. |
References de.desy.tine.definitions.TAccess.isRead(), and de.desy.tine.definitions.TAccess.isWrite().
void de.desy.tine.server.properties.TExportProperty.setAlias | ( | String | alias | ) |
alias | The alias to set. |
void de.desy.tine.server.properties.TExportProperty.setDescription | ( | TPropertyDescription | description | ) |
description | The description to set. |
References de.desy.tine.server.properties.TPropertyDescription.getArrayNumRows(), de.desy.tine.server.properties.TPropertyDescription.getArrayType(), de.desy.tine.server.properties.TPropertyDescription.getText(), de.desy.tine.server.properties.TPropertyDescription.getXRange(), de.desy.tine.server.properties.TPropertyDescription.getYRange(), de.desy.tine.server.properties.TPropertyDescription.setArrayNumRows(), de.desy.tine.server.properties.TPropertyDescription.setArrayType(), de.desy.tine.server.properties.TPropertyDescription.setText(), de.desy.tine.server.properties.TPropertyDescription.setXRange(), and de.desy.tine.server.properties.TPropertyDescription.setYRange().
Referenced by de.desy.tine.server.equipment.TEquipmentModule.registerProperty().
void de.desy.tine.server.properties.TExportProperty.setId | ( | int | id | ) |
id | The id to set. |
void de.desy.tine.server.properties.TExportProperty.setInputFormat | ( | short | inputFormat | ) |
inputFormat | The inputFormat to set. |
void de.desy.tine.server.properties.TExportProperty.setInputSize | ( | int | inputSize | ) |
inputSize | The inputSize to set. |
void de.desy.tine.server.properties.TExportProperty.setInputTag | ( | String | inputTag | ) |
inputTag | The inputTag to set. |
void de.desy.tine.server.properties.TExportProperty.setName | ( | String | name | ) |
name | The name to set. |
Referenced by de.desy.tine.server.equipment.TEquipmentModule.registerProperty().
void de.desy.tine.server.properties.TExportProperty.setOutputFormat | ( | short | outputFormat | ) |
outputFormat | The outputFormat to set. |
void de.desy.tine.server.properties.TExportProperty.setOutputSize | ( | int | outputSize | ) |
outputSize | The outputSize to set. |
void de.desy.tine.server.properties.TExportProperty.setOutputTag | ( | String | outputTag | ) |
outputTag | The outputTag to set. |
void de.desy.tine.server.properties.TExportProperty.setRunInSeparateThread | ( | boolean | value | ) |
Establishes whether a handler for this property is to be called in its own thread or not.
value | is the desired setting. |