libamxb
4.8.2
Bus Agnostic C API
|
Functions | |
int | amxb_register (amxb_bus_ctx_t *const ctx, amxd_dm_t *const dm) |
Registers a data model to a certain bus context (connection). More... | |
int amxb_register | ( | amxb_bus_ctx_t *const | ctx, |
amxd_dm_t *const | dm | ||
) |
Registers a data model to a certain bus context (connection).
When a data model has been created it can be registered to one or more software busses. After registering a data model it can be accessed by other processes through that software bus system.
The bus specific back-end implementation will also take care that when objects are added or deleted, the bus system (broker/dispatcher) is updated if needed.
To unregister the data model, it is sufficient to close the connection to the bus system.
ctx | The bus context (or connection) |
dm | the data model pointer |
Definition at line 75 of file amxb_ba_register.c.