|
| int | call () |
| | Calls an underlying driver function expecting no parameters.
|
| int | call (List< String > callParams) |
| | Calls an underlying driver function.
|
| int | call (String callParams) |
| | Calls an underlying driver function.
|
| int | call (String callParams, String delimiter) |
| | Calls an underlying driver function.
|
| 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.
|
| | Method () |
| | Constructs a new unbound mv.impact.acquire.Method object.
|
| | Method (int hMeth) |
| | Constructs a new mv.impact.acquire.Method object.
|
| String | representationAsString () |
| | Returns the recommended representation of the referenced component as a string.
|
| Component | restoreDefault () |
| | Restores the default for the referenced component.
|
| Component | selectedFeature (int index) |
| | Retrieves a component that is selected by the current one.
|
| Component | selectingFeature (int index) |
| | Retrieves a component that is selecting the current one.
|
| String | visibilityAsString () |
| | Returns the recommended visibility of the referenced component as a string.
|
|
| uint | changedCounter [get] |
| | Returns the current changed counter for the component referenced by this object.
|
| uint | changedCounterAttr [get] |
| | Returns the current attribute changed counter for the component referenced by this object.
|
| String | displayName [get] |
| | Returns the display name of the component referenced by this object.
|
| String | docString [get] |
| | Returns a string containing general information about the component referenced by this object.
|
| Component | firstChild [get] |
| | Moves to the first child of this component(moves down one level).
|
| Component | firstSibling [get] |
| | Moves to the first sibling(the first feature in the current list of features).
|
| TComponentFlag | flags [get] |
| | Returns the flags associated with this component.
|
| int | hObj [get] |
| | Returns a unique identifier for the component referenced by this object.
|
| bool | isDefault [get] |
| | Checks if this component is currently referencing the default for this component.
|
| bool | isList [get] |
| | Checks if this component is of type mv.impact.acquire.ComponentList.
|
| bool | isMeth [get] |
| | Checks if this component is of type mv.impact.acquire.Method.
|
| bool | isProp [get] |
| | Checks if this component is of type mv.impact.acquire.Property or a derived type.
|
| bool | isValid [get] |
| | Checks if the internal component referenced by this object is still valid.
|
| bool | isVisible [get] |
| | Checks if the component is currently shadowed due to a settings made elsewhere or not.
|
| bool | isWriteable [get] |
| | Checks if the caller has write/modify access to the component.
|
| Component | lastSibling [get] |
| | Moves to the last sibling(the last feature in the current list of features).
|
| String | name [get] |
| | Returns the name of the component referenced by this object.
|
| Component | nextSibling [get] |
| | Moves to the next sibling(the next feature in the current list of features).
|
| String | paramList [get] |
| | Returns the parameter list of the methods as a string.
|
| Component | parent [get] |
| | Moves to the parent of this component(moves up one level).
|
| TComponentRepresentation | representation [get] |
| | Returns the recommended representation for this component.
|
| uint | selectedFeatureCount [get] |
| | Returns the number of features selected by the current one.
|
| ReadOnlyCollection< Component > | selectedFeatures [get] |
| | Retrieves the list of components that are selected by the current one.
|
| uint | selectingFeatureCount [get] |
| | Returns the number of features selecting the current one.
|
| ReadOnlyCollection< Component > | selectingFeatures [get] |
| | Retrieves the list of components that are selecting the current one.
|
| TComponentType | type [get] |
| | Returns the type of the component referenced by hObj.
|
| String | typeAsString [get] |
| | Returns the type of the referenced component as a string.
|
| TComponentVisibility | visibility [get] |
| | Returns the recommended visibility for this component.
|
A class to call arbitrary driver functions.
Normally all functions needed by the user and offered by the driver will be provided as a normal function somewhere within this interface. In rare cases however it might be necessary to call a function, which hasn't been implemented in this interface. In that case this class will serve as a backdoor.
| int call |
( |
List< String > | callParams | ) |
|
|
inline |
Calls an underlying driver function.
This function can be used to call any driver function which is registered for the device it is called for. To call a function successfully the parameters passed to the function must match the parameters expected by the function.
The parameters are passed as a list of strings.
To find out what kind of parameters are expected by the function use the function mv.impact.acquire.Method.paramList().
floating point values can be passed either with a '.' or a ',' acting as the decimal point.
'empty' strings can be passed as a single underline('_').rs.
- Returns
- An integer value. For a typical function that is part of the driver SDK this integer value will be
- Parameters
-
| [in] | callParams | The parameters to be passed to the function as a list of strings |
- Examples
- GenICamCommonSettingsUsage.cs.
| int call |
( |
String | callParams | ) |
|
|
inline |
Calls an underlying driver function.
This function can be used to call any driver function which is registered for the device it is called for. To call a function successfully the parameters passed to the function must match the parameters expected by the function.
All parameters are passed as a single string, which is parsed with respect to the given delimiter characters internally.
To find out what kind of parameters are expected by the function use the function mv.impact.acquire.Method.paramList.
floating point values can be passed either with a '.' or a ',' acting as the decimal point.
'empty' strings can be passed as a single underline('_').
- Note
- The characters '.', ',' and '_' can't be used as delimiters.
Examples
meth.call( "stringParam 3,14" );
meth.call( "1000%666%_", "%" );
- Returns
- An integer value. For a typical function that is part of the driver SDK this integer value will be
- Parameters
-
| [in] | callParams | The parameters to be passed to the function as a single string |
| int call |
( |
String | callParams, |
|
|
String | delimiter ) |
|
inline |
Calls an underlying driver function.
This function can be used to call any driver function which is registered for the device it is called for. To call a function successfully the parameters passed to the function must match the parameters expected by the function.
All parameters are passed as a single string, which is parsed with respect to the given delimiter characters internally.
To find out what kind of parameters are expected by the function use the function mv.impact.acquire.Method.paramList.
floating point values can be passed either with a '.' or a ',' acting as the decimal point.
'empty' strings can be passed as a single underline('_').
- Note
- The characters '.', ',' and '_' can't be used as delimiters.
Examples
meth.call( "stringParam 3,14" );
meth.call( "1000%666%_", "%" );
- Returns
- An integer value. For a typical function that is part of the driver SDK this integer value will be
- Parameters
-
| [in] | callParams | The parameters to be passed to the function as a single string |
| [in] | delimiter | A string containing valid delimiter characters for the parameter string |
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 mv.impact.acquire.Component objects are selected by the current one call mv.impact.acquire.Component.selectedFeatureCount. This value minus 1 will also be the max. value for index.
- See also
- mv.impact.acquire.Component.selectedFeatureCount,
mv.impact.acquire.Component.selectedFeatures
- Since
- 1.11.20
- Returns
- A mv.impact.acquire.Component that is selected by the current one.
- Parameters
-
| [in] | index | The index for the component to query. |
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 mv.impact.acquire.Component objects are selecting the current one call mv.impact.acquire.Component.selectingFeatureCount. This value minus 1 will also be the max. value for index.
- See also
- mv.impact.acquire.Component.selectingFeatureCount,
mv.impact.acquire.Component.selectingFeatures
- Since
- 1.11.20
- Returns
- A mv.impact.acquire.Component that is selecting the current one.
- Parameters
-
| [in] | index | The index for the component to query. |
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 mv.impact.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 mv.impact.acquire.Component when it's not visible however the actual data will be used only if the Component is visible (mv.impact.acquire.TComponentFlag.cfInvisible must NOT be set).
The visibility of a mv.impact.acquire.Component object will change only if other mv.impact.acquire.Component objects are modified and NEVER when a program runs but does not change any mv.impact.acquire.Component.
Returns the parameter list of the methods as a string.
This function returns a string containing one character for each parameter this mv.impact.acquire.Method object expects and one for the return type of the function call.
The first character is the return type of the function all others are parameters. void functions don't specify parameters.
The characters have the following meaning:
- i specifies a 32-bit integer value
- I specifies a 64-bit integer value
- s specifies a pointer to a C-string
- f specifies a double precision float value
- p specifies a pointer value
- v specifies a void return value
Examples
- 'v': This is a function returning nothing (void). It expects no parameters.
- 'viis': This is a function returning nothing (void). It expects 2 integer values and one pointer to a C-string.
- 'if': This function returns an integer value and expects a float value.
- Returns
- The parameter list of the method as a string.
| ReadOnlyCollection<Component> selectedFeatures |
|
getinherited |
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.
- See also
- mv.impact.acquire.Component.selectedFeatureCount,
mv.impact.acquire.Component.selectedFeature
- Since
- 1.11.20
- Returns
- A list of components that are selected by the current one.
| ReadOnlyCollection<Component> selectingFeatures |
|
getinherited |
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.
- See also
- mv.impact.acquire.Component.selectingFeatureCount,
mv.impact.acquire.Component.selectingFeature
- Since
- 1.11.20
- Returns
- A list of components that are selecting the current one.