libamxs
0.6.0
Data Model Synchronization C API
|
#include <amxs/amxs_types.h>
#include <amxs/amxs_sync_ctx.h>
#include <amxs/amxs_sync_object.h>
#include <amxs/amxs_sync_param.h>
Go to the source code of this file.
Functions | |
bool | amxs_sync_entry_remove_bidrection_object (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const char *path) |
bool | amxs_sync_entry_check_bidrection_object (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const char *path, const char *opposite_path) |
bool | amxs_sync_entry_check_bidirectional_loop (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, amxc_var_t *value, const char *path, const char *opposite_path) |
bool | amxs_sync_entry_is_bidirectional (const amxs_sync_entry_t *entry) |
bool | amxs_sync_entry_direction_allowed (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction) |
bool | amxs_sync_entry_is_batch_param (const amxs_sync_entry_t *const entry) |
const char * | amxs_sync_entry_get_name (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction) |
const char * | amxs_sync_entry_get_opposite_name (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction) |
amxs_sync_entry_t * | amxs_sync_entry_get_parent (const amxs_sync_entry_t *entry) |
amxs_sync_ctx_t * | amxs_sync_entry_get_ctx (const amxs_sync_entry_t *entry) |
amxp_signal_mngr_t * | amxs_sync_entry_get_signal_manager (const amxs_sync_entry_t *const entry) |
amxb_bus_ctx_t * | amxs_sync_ctx_get_opposite_bus_ctx (const amxs_sync_ctx_t *ctx, amxs_sync_direction_t direction) |
amxb_bus_ctx_t * | amxs_sync_ctx_get_bus_ctx (const amxs_sync_ctx_t *ctx, amxs_sync_direction_t direction) |
amxd_dm_t * | amxs_sync_ctx_get_opposite_dm (const amxs_sync_ctx_t *ctx, amxs_sync_direction_t direction) |
amxd_dm_t * | amxs_sync_ctx_get_dm (const amxs_sync_ctx_t *ctx, amxs_sync_direction_t direction) |
unsigned int | amxs_sync_entry_get_opposite_index (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, unsigned int index) |
char * | amxs_sync_entry_get_opposite_path (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const char *old_path) |
char * | amxs_sync_entry_get_opposite_parent_path (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const char *old_path) |
char * | amxs_sync_entry_get_regex_path (const amxs_sync_entry_t *const entry, amxs_sync_direction_t direction) |
char * | amxs_sync_entry_get_regex_parent_path (const amxs_sync_entry_t *const entry, amxs_sync_direction_t direction) |
amxs_status_t | amxs_sync_entry_get_batch_params (const amxs_sync_entry_t *const entry, amxc_var_t *params, amxs_sync_direction_t direction) |
amxs_status_t | amxs_sync_param_copy_trans_cb (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const amxc_var_t *input, amxc_var_t *output, void *priv) |
Translates data from a dm:object-changed event to data suited for an amxb_set call for a single parameter. More... | |
amxs_status_t | amxs_sync_batch_param_copy_trans_cb (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const amxc_var_t *input, amxc_var_t *output, void *priv) |
Translates data from a dm:object-changed event to data suited for an amxb_set call for all parameters in the event that are marked as batch copy parameters. More... | |
amxs_status_t | amxs_sync_param_copy_action_cb (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, amxc_var_t *data, void *priv) |
Sets the new parameter value. More... | |
amxs_status_t | amxs_sync_object_copy_trans_cb (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const amxc_var_t *input, amxc_var_t *output, void *priv) |
Translates data from a dm:instance-added or dm:instance-removed event to data suited for an amxb call for this instance and all it's parameters. More... | |
amxs_status_t | amxs_sync_object_copy_action_cb (const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, amxc_var_t *data, void *priv) |
Adds, removes or updates an object with the given data using an amxb call. More... | |
amxb_bus_ctx_t* amxs_sync_ctx_get_bus_ctx | ( | const amxs_sync_ctx_t * | ctx, |
amxs_sync_direction_t | direction | ||
) |
Definition at line 343 of file amxs_util.c.
amxd_dm_t* amxs_sync_ctx_get_dm | ( | const amxs_sync_ctx_t * | ctx, |
amxs_sync_direction_t | direction | ||
) |
Definition at line 367 of file amxs_util.c.
amxb_bus_ctx_t* amxs_sync_ctx_get_opposite_bus_ctx | ( | const amxs_sync_ctx_t * | ctx, |
amxs_sync_direction_t | direction | ||
) |
Definition at line 331 of file amxs_util.c.
amxd_dm_t* amxs_sync_ctx_get_opposite_dm | ( | const amxs_sync_ctx_t * | ctx, |
amxs_sync_direction_t | direction | ||
) |
Definition at line 355 of file amxs_util.c.
bool amxs_sync_entry_check_bidirectional_loop | ( | const amxs_sync_entry_t * | entry, |
amxs_sync_direction_t | direction, | ||
amxc_var_t * | value, | ||
const char * | path, | ||
const char * | opposite_path | ||
) |
Definition at line 168 of file amxs_util.c.
bool amxs_sync_entry_check_bidrection_object | ( | const amxs_sync_entry_t * | entry, |
amxs_sync_direction_t | direction, | ||
const char * | path, | ||
const char * | opposite_path | ||
) |
Definition at line 101 of file amxs_util.c.
bool amxs_sync_entry_direction_allowed | ( | const amxs_sync_entry_t * | entry, |
amxs_sync_direction_t | direction | ||
) |
Definition at line 231 of file amxs_util.c.
amxs_status_t amxs_sync_entry_get_batch_params | ( | const amxs_sync_entry_t *const | entry, |
amxc_var_t * | params, | ||
amxs_sync_direction_t | direction | ||
) |
Definition at line 514 of file amxs_util.c.
amxs_sync_ctx_t* amxs_sync_entry_get_ctx | ( | const amxs_sync_entry_t * | entry | ) |
Definition at line 297 of file amxs_util.c.
const char* amxs_sync_entry_get_name | ( | const amxs_sync_entry_t * | entry, |
amxs_sync_direction_t | direction | ||
) |
Definition at line 264 of file amxs_util.c.
unsigned int amxs_sync_entry_get_opposite_index | ( | const amxs_sync_entry_t * | entry, |
amxs_sync_direction_t | direction, | ||
unsigned int | index | ||
) |
const char* amxs_sync_entry_get_opposite_name | ( | const amxs_sync_entry_t * | entry, |
amxs_sync_direction_t | direction | ||
) |
Definition at line 275 of file amxs_util.c.
char* amxs_sync_entry_get_opposite_parent_path | ( | const amxs_sync_entry_t * | entry, |
amxs_sync_direction_t | direction, | ||
const char * | old_path | ||
) |
Definition at line 456 of file amxs_util.c.
char* amxs_sync_entry_get_opposite_path | ( | const amxs_sync_entry_t * | entry, |
amxs_sync_direction_t | direction, | ||
const char * | old_path | ||
) |
Definition at line 429 of file amxs_util.c.
amxs_sync_entry_t* amxs_sync_entry_get_parent | ( | const amxs_sync_entry_t * | entry | ) |
Definition at line 286 of file amxs_util.c.
char* amxs_sync_entry_get_regex_parent_path | ( | const amxs_sync_entry_t *const | entry, |
amxs_sync_direction_t | direction | ||
) |
Definition at line 502 of file amxs_util.c.
char* amxs_sync_entry_get_regex_path | ( | const amxs_sync_entry_t *const | entry, |
amxs_sync_direction_t | direction | ||
) |
Definition at line 469 of file amxs_util.c.
amxp_signal_mngr_t* amxs_sync_entry_get_signal_manager | ( | const amxs_sync_entry_t *const | entry | ) |
Definition at line 317 of file amxs_util.c.
bool amxs_sync_entry_is_batch_param | ( | const amxs_sync_entry_t *const | entry | ) |
Definition at line 251 of file amxs_util.c.
bool amxs_sync_entry_is_bidirectional | ( | const amxs_sync_entry_t * | entry | ) |
Definition at line 219 of file amxs_util.c.
bool amxs_sync_entry_remove_bidrection_object | ( | const amxs_sync_entry_t * | entry, |
amxs_sync_direction_t | direction, | ||
const char * | path | ||
) |
Definition at line 76 of file amxs_util.c.