Aravis.Evaluator¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Aravis.Evaluator(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(expression)¶
- Parameters:
- Returns:
a new
Aravis.Evaluator
object.- Return type:
Creates a new
Aravis.Evaluator
object. The syntax is described in the genicam standard specification.
- evaluate_as_double()¶
- Raises:
- Return type:
- evaluate_as_int64()¶
- Raises:
- Return type:
- get_constant(name)¶
- Parameters:
name (
str
) – constant name- Returns:
The formula of the constant corresponding to name,
None
if not defined.- Return type:
New in version 0.6.0.
- get_sub_expression(name)¶
- Parameters:
name (
str
) – sub-expression name- Returns:
The formula of the sub-expression corresponding to name,
None
if not defined.- Return type:
New in version 0.6.0.
- set_constant(name, constant)¶
-
Assign a string to a constant. If constant ==
None
, the constant previously assigned to name will be removed.New in version 0.6.0.