Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Modules | Data Structures | Macros | Typedefs

Modules

 afw_variable_handler
 

Data Structures

struct  afw_variable_handler_s
 Interface afw_variable_handler public struct. More...
 
struct  afw_variable_handler_inf_s
 Interface afw_variable_handler_inf_s struct. More...
 

Macros

#define AFW_VARIABLE_HANDLER_INTERFACE_NAME   "afw_variable_handler"
 define for interface afw_variable_handler name.
 
#define afw_variable_handler_get_variable(instance, qualifier, name, xctx)
 Call method get_variable of interface afw_variable_handler. More...
 
#define afw_variable_handler_set_variable(instance, qualifier, name, value, xctx)
 Call method set_variable of interface afw_variable_handler. More...
 

Typedefs

typedef const afw_value_t *(* afw_variable_handler_get_variable_t) (const afw_variable_handler_t *instance, const afw_utf8_t *qualifier, const afw_utf8_t *name, afw_xctx_t *xctx)
 
typedef afw_boolean_t(* afw_variable_handler_set_variable_t) (const afw_variable_handler_t *instance, const afw_utf8_t *qualifier, const afw_utf8_t *name, const afw_value_t *value, afw_xctx_t *xctx)
 

Detailed Description

Adaptive variable handler.

Macro Definition Documentation

◆ afw_variable_handler_get_variable

#define afw_variable_handler_get_variable (   instance,
  qualifier,
  name,
  xctx 
)
Value:
(instance)->inf->get_variable( \
(instance), \
(qualifier), \
(name), \
(xctx) \
)

Call method get_variable of interface afw_variable_handler.

Parameters
instancePointer to this adaptive variable handler instance.
qualifierQualifier or NULL.
nameVariable name.
xctxThis is the caller's xctx.

Definition at line 5513 of file afw_interface.h.

◆ afw_variable_handler_set_variable

#define afw_variable_handler_set_variable (   instance,
  qualifier,
  name,
  value,
  xctx 
)
Value:
(instance)->inf->set_variable( \
(instance), \
(qualifier), \
(name), \
(value), \
(xctx) \
)

Call method set_variable of interface afw_variable_handler.

Parameters
instancePointer to this adaptive variable handler instance.
qualifierQualifier or NULL.
nameVariable name.
valueValue to set.
xctxThis is the caller's xctx.

Definition at line 5534 of file afw_interface.h.

Typedef Documentation

◆ afw_variable_handler_get_variable_t

typedef const afw_value_t*(* afw_variable_handler_get_variable_t) (const afw_variable_handler_t *instance, const afw_utf8_t *qualifier, const afw_utf8_t *name, afw_xctx_t *xctx)
See also
afw_variable_handler_get_variable()

Definition at line 5483 of file afw_interface.h.

◆ afw_variable_handler_set_variable_t

typedef afw_boolean_t(* afw_variable_handler_set_variable_t) (const afw_variable_handler_t *instance, const afw_utf8_t *qualifier, const afw_utf8_t *name, const afw_value_t *value, afw_xctx_t *xctx)
See also
afw_variable_handler_set_variable()

Definition at line 5491 of file afw_interface.h.