Impact Acquire SDK Java
|
A class to represent pointer properties. More...
Public Member Functions | |
boolean | allowsValueCombinations () |
Checks if this enumerated property allows the combination of enum values. | |
long | changedCounter () |
Returns the current changed counter for the component referenced by this object. | |
long | changedCounterAttr () |
Returns the current attribute changed counter for the component referenced by this object. | |
synchronized void | delete () |
long | dictSize () |
Returns the size of the properties translation dictionary. | |
String | displayName () |
Returns the display name of the component referenced by this object. | |
String | docString () |
Returns a string containing general information about the component referenced by this object. | |
Component | firstChild () |
Moves to the first child of this component(moves down one level). | |
Component | firstSibling () |
Moves to the first sibling(the first feature in the current list of features). | |
int | flags () |
Returns the flags associated with this component. | |
String | flagsAsString () |
Returns the flags associated with this component as a string. | |
String | flagsAsString (String separator) |
Returns the flags associated with this component as a string. | |
boolean | hasDict () |
Returns whether this property defines a translation dictionary or not. | |
boolean | hasMaxValue () |
Checks if a maximum value is defined for this property. | |
boolean | hasMinValue () |
Checks if a minimum value is defined for this property. | |
boolean | hasStepWidth () |
Checks if a step width is defined for this property. | |
int | hObj () |
Returns a unique identifier for the component referenced by this object. | |
boolean | isDefault () |
Checks if this component is currently referencing the default for this component. | |
boolean | isList () |
Checks if this component is of type mvIMPACT.acquire.ComponentList. | |
boolean | isMeth () |
Checks if this component is of type mvIMPACT.acquire.Method. | |
boolean | isProp () |
Checks if this component is of type mvIMPACT.acquire.Property or a derived type. | |
boolean | isValid () |
Checks if the internal component referenced by this object is still valid. | |
boolean | isVisible () |
Checks if the component is currently shadowed due to a settings made elsewhere or not. | |
boolean | isWriteable () |
Checks if the caller has write/modify access to the component. | |
Component | lastSibling () |
Moves to the last sibling(the last feature in the current list of features). | |
long | maxValCount () |
Returns maximum number of values that can be managed by this property. | |
String | name () |
Returns the name of the component referenced by this object. | |
Component | nextSibling () |
Moves to the next sibling(the next feature in the current list of features). | |
Component | parent () |
Moves to the parent of this component(moves up one level). | |
PropertyPtr () | |
Constructs a new unbound mvIMPACT.acquire.PropertyPtr object. | |
PropertyPtr (int hProp) | |
Constructs a new mvIMPACT.acquire.PropertyPtr object. | |
PropertyPtr (PropertyPtr src) | |
Constructs a new mvIMPACT.acquire.PropertyPtr from an existing one. | |
SWIGTYPE_p_void | read () |
Reads a value from a property. | |
SWIGTYPE_p_void | read (int index) |
Reads a value from a property. | |
void | read (SWIGTYPE_p_std__vectorT_void_p_t sequence) |
Reads a set of values from a property. | |
void | read (SWIGTYPE_p_std__vectorT_void_p_t sequence, int start) |
Reads a set of values from a property. | |
void | read (SWIGTYPE_p_std__vectorT_void_p_t sequence, int start, int end) |
Reads a set of values from a property. | |
String | readS () |
Reads data from this property as a string. | |
String | readS (int index) |
Reads data from this property as a string. | |
String | readS (int index, String format) |
Reads data from this property as a string. | |
String | readSArray () |
Reads data from this property as a string. | |
String | readSArray (String format) |
Reads data from this property as a string. | |
String | readSArray (String format, String delimiter) |
Reads data from this property as a string. | |
String | readSArray (String format, String delimiter, int startIndex) |
Reads data from this property as a string. | |
String | readSArray (String format, String delimiter, int startIndex, int endIndex) |
Reads data from this property as a string. | |
String | readSArray (String format, String delimiter, int startIndex, int endIndex, int mode) |
Reads data from this property as a string. | |
Property | removeValue () |
Removes a certain value from the property's data. | |
Property | removeValue (int index) |
Removes a certain value from the property's data. | |
int | representation () |
Returns the recommended representation for this component. | |
String | representationAsString () |
Returns the recommended representation of the referenced component as a string. | |
Property | resizeValArray (long newSize) |
Resizes the property's data array. | |
Component | restoreDefault () |
Restores the default for the referenced component. | |
Component | selectedFeature (long index) |
Retrieves a component that is selected by the current one. | |
long | selectedFeatureCount () |
Returns the number of features selected by the current one. | |
long | selectedFeatures (ComponentVector v) |
Retrieves the list of components that are selected by the current one. | |
Component | selectingFeature (long index) |
Retrieves a component that is selecting the current one. | |
long | selectingFeatureCount () |
Returns the number of features selecting the current one. | |
long | selectingFeatures (ComponentVector v) |
Retrieves the list of components that are selecting the current one. | |
String | stringFormatString () |
Returns the internal format string this property uses to convert data to strings. | |
int | type () |
Returns the type of the referenced component. | |
String | typeAsString () |
Returns the type of the referenced component as a string. | |
long | valCount () |
Returns the current number of values managed by this property. | |
int | visibility () |
Returns the recommended visibility for this component. | |
String | visibilityAsString () |
Returns the recommended visibility of the referenced component as a string. | |
PropertyPtr | write (SWIGTYPE_p_std__vectorT_void_p_t sequence) |
Writes a set of values to the property. | |
PropertyPtr | write (SWIGTYPE_p_std__vectorT_void_p_t sequence, int index) |
Writes a set of values to the property. | |
PropertyPtr | write (SWIGTYPE_p_void value) |
Writes one value to the property. | |
PropertyPtr | write (SWIGTYPE_p_void value, int index) |
Writes one value to the property. | |
Property | writeS (String value) |
Assigns a new value to this property. | |
Property | writeS (String value, int index) |
Assigns a new value to this property. | |
Property | writeS (StringVector sequence) |
Assigns new values to this property. | |
Property | writeS (StringVector sequence, int index) |
Assigns new values to this property. | |
Static Public Member Functions | |
static String | representationAsString (int representation) |
Returns the recommended representation converted to a string. | |
static int | type (int hObj) |
Returns the type of the component referenced by hObj. | |
static String | visibilityAsString (int visibility) |
Returns the recommended visibility converted to a string. | |
Protected Member Functions | |
void | finalize () |
PropertyPtr (long cPtr, boolean cMemoryOwn) | |
Static Protected Member Functions | |
static long | swigRelease (Component obj) |
static long | swigRelease (ComponentAccess obj) |
static long | swigRelease (Property obj) |
static long | swigRelease (PropertyPtr obj) |
Protected Attributes | |
transient boolean | swigCMemOwn |
A class to represent pointer properties.
|
protected |
PropertyPtr | ( | ) |
Constructs a new unbound mvIMPACT.acquire.PropertyPtr object.
PropertyPtr | ( | int | hProp | ) |
Constructs a new mvIMPACT.acquire.PropertyPtr object.
hProp | [in] A valid handle to a pointer property |
PropertyPtr | ( | PropertyPtr | src | ) |
Constructs a new mvIMPACT.acquire.PropertyPtr from an existing one.
src | [in] A constant reference to the mvIMPACT.acquire.PropertyPtr object, this object shall be created from |
|
inherited |
Checks if this enumerated property allows the combination of enum values.
If this function returns true, the enum constants can be 'ored' together. This works for the enum constants as well as for the string representations returned in the properties translation dictionary.
if a property e.g. defines a dictionary (('1', "one"), ('2', "two")) the following write operations will be valid:
If this function returns true code like this will be valid:
|
inherited |
Returns the current changed counter for the component referenced by this object.
This changed counter is incremented internally each time the component is modified. To check if this component has been modified since the last time, this check has been performed, keep track of the last return value of this function and compare it with the new value. This can be helpful e.g. to keep a GUI up to date. The value returned by this function will always be larger than or equal to the value returned by mvIMPACT.acquire.ComponentAccess.changedCounterAttr (except in case of a wrap around) when called at the same time for the same object as it's always incremented when the component has been modified in any way while the latter one will only be incremented if the attributes (e.g. the flags) but NOT if e.g. the value(s) of a property has been modified.
|
inherited |
Returns the current attribute changed counter for the component referenced by this object.
This changed counter is incremented internally each time the components attributes have been modified. To check if this components attributes have been modified since the last time, this check has been performed, keep track of the last return value of this function and compare it with the new value. This can be helpful e.g. to keep a GUI up to date.
synchronized void delete | ( | ) |
Reimplemented from Property.
|
inherited |
Returns the size of the properties translation dictionary.
If the property does define a translation dictionary this function returns the number of elements contained in this dictionary.
|
inherited |
Returns the display name of the component referenced by this object.
|
inherited |
Returns a string containing general information about the component referenced by this object.
|
protected |
Reimplemented from Property.
|
inherited |
Moves to the first child of this component(moves down one level).
Calling this function will only succeed, if the current mvIMPACT.acquire.Component references a list.
|
inherited |
Moves to the first sibling(the first feature in the current list of features).
|
inherited |
Returns the flags associated with this component.
|
inherited |
Returns the flags associated with this component as a string.
|
inherited |
Returns the flags associated with this component as a string.
separator | [in] A user definable string to separate the individual flags. The default value is ' | ' resulting in the string to look e.g. like this: 'cfWriteAccess | cfReadAccess' |
|
inherited |
Returns whether this property defines a translation dictionary or not.
|
inherited |
Checks if a maximum value is defined for this property.
|
inherited |
Checks if a minimum value is defined for this property.
|
inherited |
Checks if a step width is defined for this property.
|
inherited |
Returns a unique identifier for the component referenced by this object.
|
inherited |
Checks if this component is currently referencing the default for this component.
This function will return true only for derived components that have not been modified.
|
inherited |
Checks if this component is of type mvIMPACT.acquire.ComponentList.
|
inherited |
Checks if this component is of type mvIMPACT.acquire.Method.
|
inherited |
Checks if this component is of type mvIMPACT.acquire.Property or a derived type.
|
inherited |
Checks if the internal component referenced by this object is still valid.
This function can be used to verify whether a referenced component is still valid or not. When e.g. referencing a driver property after mvIMPACT.acquire.Device.close has been called this function would return false. Calling any other function that tries to access the referenced component in that case would raise an exception.
|
inherited |
Checks if the component is currently shadowed due to a settings made elsewhere or not.
Settings applied to certain components might affect the behaviour of others. For example an activated automatic gain control might shadow the value written to the gain property by the user as the gain is calculated internally. In order to check if modifying the actual component will affect the behaviour of the system this function may be used. When it returns true, the mvIMPACT.acquire.Component will have an impact on the system, if false is returned, the feature might be modified, but this will currently NOT influence the acquisition process or the overall behaviour of the device or driver.
This is what is called visibility. The user still might modify or read the current mvIMPACT.acquire.Component when it's not visible however the actual data will be used only if the Component is visible (mvIMPACT.acquire.TComponentFlag.cfInvisible must NOT be set).
The visibility of a mvIMPACT.acquire.Component object will change only if other mvIMPACT.acquire.Component objects are modified and NEVER when a program runs but does not change any mvIMPACT.acquire.Component.
|
inherited |
Checks if the caller has write/modify access to the component.
|
inherited |
Moves to the last sibling(the last feature in the current list of features).
|
inherited |
Returns maximum number of values that can be managed by this property.
For the majority of properties this function will return '1', but as properties might manage more than a single value, this value might be interesting from time to time.
|
inherited |
Returns the name of the component referenced by this object.
|
inherited |
Moves to the next sibling(the next feature in the current list of features).
|
inherited |
Moves to the parent of this component(moves up one level).
SWIGTYPE_p_void read | ( | ) |
Reads a value from a property.
This function queries a single value stored under index index in the property.
SWIGTYPE_p_void read | ( | int | index | ) |
Reads a value from a property.
This function queries a single value stored under index index in the property.
index | [in] The index of the value to read from the property. |
void read | ( | SWIGTYPE_p_std__vectorT_void_p_t | sequence | ) |
Reads a set of values from a property.
This function queries a set of values from a property and stores these values into sequence.
sequence | [out] A reference to a container to store the data read from the property into. |
void read | ( | SWIGTYPE_p_std__vectorT_void_p_t | sequence, |
int | start ) |
Reads a set of values from a property.
This function queries a set of values from a property and stores these values into sequence.
sequence | [out] A reference to a container to store the data read from the property into. |
start | [in] The index from where to start reading values from the property. |
void read | ( | SWIGTYPE_p_std__vectorT_void_p_t | sequence, |
int | start, | ||
int | end ) |
Reads a set of values from a property.
This function queries a set of values from a property and stores these values into sequence.
sequence | [out] A reference to a container to store the data read from the property into. |
start | [in] The index from where to start reading values from the property. |
end | [in] The index where to stop reading values from the property. |
|
inherited |
Reads data from this property as a string.
|
inherited |
Reads data from this property as a string.
index | [in] The index of the desired value(only necessary for properties containing more than one value) |
|
inherited |
Reads data from this property as a string.
index | [in] The index of the desired value(only necessary for properties containing more than one value) |
format | [in] The format string telling the function how to format the result. If left empty the property uses its standard way of converting its data into a string |
|
inherited |
Reads data from this property as a string.
This function can be used to query a set of values if this property stores more than a single value which might be useful for GUI applications.
the data. from startIndex to the last value stored by the property will be returned. When the LSB is set, the translation dictionary (if defined) will be ignored for this call.
|
inherited |
Reads data from this property as a string.
This function can be used to query a set of values if this property stores more than a single value which might be useful for GUI applications.
format | [in] The format string telling the function how to format the result. If left empty the property uses its standard way of converting its data into a string the data. from startIndex to the last value stored by the property will be returned. When the LSB is set, the translation dictionary (if defined) will be ignored for this call. |
|
inherited |
Reads data from this property as a string.
This function can be used to query a set of values if this property stores more than a single value which might be useful for GUI applications.
format | [in] The format string telling the function how to format the result. If left empty the property uses its standard way of converting its data into a string |
delimiter | [in] This string is used to separate the individual values from one another. If left empty, a single blank will separate the data. from startIndex to the last value stored by the property will be returned. When the LSB is set, the translation dictionary (if defined) will be ignored for this call. |
|
inherited |
Reads data from this property as a string.
This function can be used to query a set of values if this property stores more than a single value which might be useful for GUI applications.
format | [in] The format string telling the function how to format the result. If left empty the property uses its standard way of converting its data into a string |
delimiter | [in] This string is used to separate the individual values from one another. If left empty, a single blank will separate the data. |
startIndex | [in] The index of the first of the desired values from startIndex to the last value stored by the property will be returned. When the LSB is set, the translation dictionary (if defined) will be ignored for this call. |
|
inherited |
Reads data from this property as a string.
This function can be used to query a set of values if this property stores more than a single value which might be useful for GUI applications.
format | [in] The format string telling the function how to format the result. If left empty the property uses its standard way of converting its data into a string |
delimiter | [in] This string is used to separate the individual values from one another. If left empty, a single blank will separate the data. |
startIndex | [in] The index of the first of the desired values |
endIndex | [in] The index of the last of the desired values. If INT_MAX is passed, every from startIndex to the last value stored by the property will be returned. When the LSB is set, the translation dictionary (if defined) will be ignored for this call. |
|
inherited |
Reads data from this property as a string.
This function can be used to query a set of values if this property stores more than a single value which might be useful for GUI applications.
format | [in] The format string telling the function how to format the result. If left empty the property uses its standard way of converting its data into a string |
delimiter | [in] This string is used to separate the individual values from one another. If left empty, a single blank will separate the data. |
startIndex | [in] The index of the first of the desired values |
endIndex | [in] The index of the last of the desired values. If INT_MAX is passed, every from startIndex to the last value stored by the property will be returned. |
mode | [in] Specifies the mode this function operates in. Currently only the LSB affects the behaviour of this function. When the LSB is set, the translation dictionary (if defined) will be ignored for this call. |
|
inherited |
Removes a certain value from the property's data.
|
inherited |
Removes a certain value from the property's data.
index | [in] The index of the value to be removed |
|
inherited |
Returns the recommended representation for this component.
The representation can be used e.g. to develop a GUI that creates convenient controls for certain features.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TComponentRepresentation.
|
inherited |
Returns the recommended representation of the referenced component as a string.
|
staticinherited |
Returns the recommended representation converted to a string.
representation | [in] The representation to query the string representation for |
|
inherited |
Resizes the property's data array.
This function resizes the internal data array of this property. The size of this array represents the number of values, which can be stored within the property. This function will only succeed, if the mvIMPACT.acquire.TComponentFlag.cfFixedSize is NOT set for this property and the user has "write rights" for this property. Otherwise an exception will be thrown. Whenever the user successfully writes an array of values to a property and this array contains more elements than the current internal data array can accommodate at the desired offset the internal data array will be increased automatically.
newSize | [in] The new number of values this property shall be allowed to store |
|
inherited |
Restores the default for the referenced component.
Calling this function will restore the default value for the component referenced by this object.
If this function is called for an object of type mvIMPACT.acquire.ComponentList every component in that list is restored to the default value.
|
inherited |
Retrieves a component that is selected by the current one.
This function retrieves a component that is selected by the current one. This information is mainly useful for GUI applications that want to arrange features in a way that dependencies between features can easily been spotted.
When a component 'selects' other components, this indicates that selected components may change whenever the selecting component changes. An example for a selector might be a property defining the index within a LUT while the value of a particular LUT entry could be a selected feature. Assuming 2 properties LUTIndex and LUTValue then changing LUTIndex will invalidate and possibly change LUTValue.
To find out how many mvIMPACT.acquire.Component objects are selected by the current one call mvIMPACT.acquire.Component.selectedFeatureCount. This value minus 1 will also be the max. value for index.
index | [in] The index for the component to query. |
|
inherited |
Returns the number of features selected by the current one.
|
inherited |
Retrieves the list of components that are selected by the current one.
This function retrieves the list of components that are selected by the current one. This information is mainly useful for GUI applications that want to arrange features in a way that dependencies between features can easily been spotted.
When a component 'selects' other components, this indicates that selected components may change whenever the selecting component changes. An example for a selector might be a property defining the index within a LUT while the value of a particular LUT entry could be a selected feature. Assuming 2 properties LUTIndex and LUTValue then changing LUTIndex will invalidate and possibly change LUTValue.
v | [out] An array that will retrieve the list of components that are selected by the current one. |
|
inherited |
Retrieves a component that is selecting the current one.
This function retrieves a component that is selecting the current one. This information is mainly useful for GUI applications that want to arrange features in a way that dependencies between features can easily been spotted.
When a component 'selects' other components, this indicates that selected components may change whenever the selecting component changes. An example for a selector might be a property defining the index within a LUT while the value of a particular LUT entry could be a selected feature. Assuming 2 properties LUTIndex and LUTValue then changing LUTIndex will invalidate and possibly change LUTValue.
To find out how many mvIMPACT.acquire.Component objects are selecting the current one call mvIMPACT.acquire.Component.selectingFeatureCount. This value minus 1 will also be the max. value for index.
index | [in] The index for the component to query. |
|
inherited |
Returns the number of features selecting the current one.
|
inherited |
Retrieves the list of components that are selecting the current one.
This function retrieves the list of components that are selecting the current one. This information is mainly useful for GUI applications that want to arrange features in a way that dependencies between features can easily been spotted.
When a component 'selects' other components, this indicates that selected components may change whenever the selecting component changes. An example for a selector might be a property defining the index within a LUT while the value of a particular LUT entry could be a selected feature. Assuming 2 properties LUTIndex and LUTValue then changing LUTIndex will invalidate and possibly change LUTValue.
v | [out] An array that will retrieve the list of components that are selecting the current one. |
|
inherited |
Returns the internal format string this property uses to convert data to strings.
|
staticprotectedinherited |
|
staticprotectedinherited |
|
staticprotectedinherited |
|
staticprotected |
|
inherited |
Returns the type of the referenced component.
|
staticinherited |
Returns the type of the component referenced by hObj.
hObj | [in] The component the type shall be retrieved for |
|
inherited |
Returns the type of the referenced component as a string.
|
inherited |
Returns the current number of values managed by this property.
For the majority of properties this function will return '1', but as properties might manage more than a single value, this value might be interesting from time to time.
|
inherited |
Returns the recommended visibility for this component.
The visibility can be used e.g. to develop a GUI that displays a crucial subset of features only.
Valid values for this property are defined by the enumeration mvIMPACT.acquire.TComponentVisibility.
|
inherited |
Returns the recommended visibility of the referenced component as a string.
|
staticinherited |
Returns the recommended visibility converted to a string.
visibility | [in] The visibility to query the string representation for |
PropertyPtr write | ( | SWIGTYPE_p_std__vectorT_void_p_t | sequence | ) |
Writes a set of values to the property.
This function writes a set of values starting at index to the property.
sequence | [in] An array containing the values to write to the property. |
PropertyPtr write | ( | SWIGTYPE_p_std__vectorT_void_p_t | sequence, |
int | index ) |
Writes a set of values to the property.
This function writes a set of values starting at index to the property.
sequence | [in] An array containing the values to write to the property. |
index | [in] The index where to write the first value to the property. |
PropertyPtr write | ( | SWIGTYPE_p_void | value | ) |
Writes one value to the property.
This function writes a single value under index index to the property.
value | [in] The value to write to the property. |
PropertyPtr write | ( | SWIGTYPE_p_void | value, |
int | index ) |
Writes one value to the property.
This function writes a single value under index index to the property.
value | [in] The value to write to the property. |
index | [in] The index defining at which position to write the value. |
|
inherited |
Assigns a new value to this property.
The user caller have "write rights" for this property in order to be able to modify its value. Also if index is greater than the current internal data array size of this property the user must be allowed to change to size of the properties internal data array (the mvIMPACT.acquire.TComponentFlag.cfFixedSize flag must NOT be set).
value | [in] The new value for this property at the given index. |
|
inherited |
Assigns a new value to this property.
The user caller have "write rights" for this property in order to be able to modify its value. Also if index is greater than the current internal data array size of this property the user must be allowed to change to size of the properties internal data array (the mvIMPACT.acquire.TComponentFlag.cfFixedSize flag must NOT be set).
value | [in] The new value for this property at the given index. |
index | [in] The index of the value to modify |
|
inherited |
Assigns new values to this property.
The user must have "write rights" for this property in order to be able to modify its values. Also if index is greater than the current internal data array size of this property the user must be allowed to change to size of the properties internal data array (the mvIMPACT.acquire.TComponentFlag.cfFixedSize flag must NOT be set). This function behaves exactly like mvIMPACT.acquire.Property.writeS except that is can be used to assign more than one value at the same time. The parameter index here serves as an offset. If for example a property holds 3 values 'one', 'two' and 'three' before this call and the function is then called with an array containing the string 'orange' and 'blue' and index = 2 then after a successful call to this function the property will hold the data 'one', 'two', 'orange' and 'blue'.
sequence | [in] A constant reference to an array containing the strings to be assigned to the property |
|
inherited |
Assigns new values to this property.
The user must have "write rights" for this property in order to be able to modify its values. Also if index is greater than the current internal data array size of this property the user must be allowed to change to size of the properties internal data array (the mvIMPACT.acquire.TComponentFlag.cfFixedSize flag must NOT be set). This function behaves exactly like mvIMPACT.acquire.Property.writeS except that is can be used to assign more than one value at the same time. The parameter index here serves as an offset. If for example a property holds 3 values 'one', 'two' and 'three' before this call and the function is then called with an array containing the string 'orange' and 'blue' and index = 2 then after a successful call to this function the property will hold the data 'one', 'two', 'orange' and 'blue'.
sequence | [in] A constant reference to an array containing the strings to be assigned to the property |
index | [in] The offset from where to start to assign the values |
|
protectedinherited |