ArvEvaluator

ArvEvaluator — A math expression evaluator with Genicam syntax

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── ArvEvaluator

Description

Functions

arv_evaluator_new ()

ArvEvaluator *
arv_evaluator_new (const char *expression);

Creates a new ArvEvaluator object. The syntax is described in the genicam standard specification.

Parameters

expression

an evaluator expression.

[allow-none]

Returns

a new ArvEvaluator object.


arv_evaluator_set_expression ()

void
arv_evaluator_set_expression (ArvEvaluator *evaluator,
                              const char *expression);

arv_evaluator_get_expression ()

const char *
arv_evaluator_get_expression (ArvEvaluator *evaluator);

arv_evaluator_evaluate_as_double ()

double
arv_evaluator_evaluate_as_double (ArvEvaluator *evaluator,
                                  GError **error);

arv_evaluator_evaluate_as_int64 ()

gint64
arv_evaluator_evaluate_as_int64 (ArvEvaluator *evaluator,
                                 GError **error);

arv_evaluator_set_double_variable ()

void
arv_evaluator_set_double_variable (ArvEvaluator *evaluator,
                                   const char *name,
                                   double v_double);

arv_evaluator_set_int64_variable ()

void
arv_evaluator_set_int64_variable (ArvEvaluator *evaluator,
                                  const char *name,
                                  gint64 v_int64);

Types and Values

ArvEvaluator

typedef struct _ArvEvaluator ArvEvaluator;