Adaptive Framework
0.9.0
|
Implementation of afw_adaptor_factory interface for afw_runtime. More...
#include "afw_internal.h"
#include "afw_adaptor_factory_impl_declares.h"
#include "afw_adaptor_impl_declares.h"
#include "afw_adaptor_session_impl_declares.h"
Go to the source code of this file.
Data Structures | |
struct | impl_ht_object_cb_entry |
struct | impl_ht_object_entry |
struct | afw_runtime_objects_s |
struct | impl_afw_adaptor_self_s |
struct | impl_afw_adaptor_session_self_s |
struct | impl_check_manifest_cb_context_t |
struct | impl_runtime_iterator_s |
Macros | |
#define | AFW_IMPLEMENTATION_ID "afw_runtime" |
Typedefs | |
typedef struct impl_afw_adaptor_self_s | impl_afw_adaptor_self_t |
typedef struct impl_afw_adaptor_session_self_s | impl_afw_adaptor_session_self_t |
typedef struct impl_runtime_iterator_s | impl_runtime_iterator_t |
Functions | |
AFW_RUNTIME_OBJECT_INF (afw_runtime_inf_const_embedded_untyped_object, impl_runtime_meta_const_embedded_untyped_object) | |
afw_runtime_env_set_object (const afw_object_t *object, afw_boolean_t overwrite, afw_xctx_t *xctx) | |
Set an object pointer in the environment's runtime objects. More... | |
afw_runtime_env_set_objects (const afw_object_t *const *objects, afw_boolean_t overwrite, afw_xctx_t *xctx) | |
Set a list of object pointers in the environment's runtime objects. More... | |
afw_runtime_env_set_object_cb_wrapper (const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, afw_runtime_object_wrapper_p_cb_t callback, void *data, afw_boolean_t overwrite, afw_xctx_t *xctx) | |
Set environment object accessed via callback. More... | |
afw_runtime_remove_object (const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, afw_xctx_t *xctx) | |
Remove object by object type id and object id. More... | |
afw_runtime_xctx_set_object (const afw_object_t *object, afw_boolean_t overwrite, afw_xctx_t *xctx) | |
Set an object pointer in the xctx's runtime objects. More... | |
afw_runtime_xctx_set_objects (const afw_object_t *const *objects, afw_boolean_t overwrite, afw_xctx_t *xctx) | |
Set a list of object pointers in the xctx's runtime objects. More... | |
afw_runtime_register_object_map_infs (const afw_object_inf_t *const *inf, afw_xctx_t *xctx) | |
Register runtime object map interfaces. More... | |
afw_runtime_resolve_and_register_object_map_infs (const afw_interface_implementation_rti_t *const *rti, afw_xctx_t *xctx) | |
Create and register runtime object map interfaces. More... | |
afw_runtime_object_create_indirect_using_inf (const afw_object_inf_t *inf, const afw_utf8_t *object_id, void *internal, const afw_pool_t *p, afw_xctx_t *xctx) | |
Create an indirect runtime object. More... | |
afw_runtime_object_create_indirect (const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, void *internal, const afw_pool_t *p, afw_xctx_t *xctx) | |
Create an indirect runtime object. More... | |
afw_runtime_env_create_and_set_indirect_object_using_inf (const afw_object_inf_t *inf, const afw_utf8_t *object_id, void *internal, afw_boolean_t overwrite, afw_xctx_t *xctx) | |
Create and set an indirect runtime object. More... | |
afw_runtime_env_create_and_set_indirect_object (const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, void *internal, afw_boolean_t overwrite, afw_xctx_t *xctx) | |
Create and set an indirect runtime object. More... | |
afw_runtime_resolve_const_object (const afw_runtime_unresolved_const_object_t *unresolved, const afw_pool_t *p, afw_xctx_t *xctx) | |
Resolve a runtime const object. More... | |
afw_runtime_env_resolve_and_set_const_objects (const afw_runtime_unresolved_const_object_t *const *unresolved, afw_boolean_t overwrite, afw_xctx_t *xctx) | |
Resolve and set a NULL terminated list of object pointers in the xctx's runtime objects. More... | |
afw_runtime_get_object (const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, afw_xctx_t *xctx) | |
Get a runtime object. More... | |
afw_runtime_foreach (const afw_utf8_t *object_type_id, void *context, afw_object_cb_t callback, afw_xctx_t *xctx) | |
Call a callback for each runtime object. More... | |
afw_runtime_get_adaptor_factory () | |
Get singleton factory for runtime adaptor. More... | |
const afw_adaptor_t * | impl_afw_adaptor_factory_create_adaptor_cede_p (const afw_adaptor_factory_t *instance, const afw_object_t *properties, const afw_pool_t *p, afw_xctx_t *xctx) |
void | impl_afw_adaptor_destroy (const afw_adaptor_t *instance, afw_xctx_t *xctx) |
afw_runtime_get_internal_session (afw_xctx_t *xctx) | |
Get an internal session for runtime objects. More... | |
const afw_adaptor_session_t * | impl_afw_adaptor_create_adaptor_session (const afw_adaptor_t *instance, afw_xctx_t *xctx) |
const afw_object_t * | impl_afw_adaptor_get_additional_metrics (const afw_adaptor_t *instance, const afw_pool_t *p, afw_xctx_t *xctx) |
void | impl_afw_adaptor_session_destroy (const afw_adaptor_session_t *instance, afw_xctx_t *xctx) |
void | impl_afw_adaptor_session_retrieve_objects (const afw_adaptor_session_t *instance, const afw_adaptor_impl_request_t *impl_request, const afw_utf8_t *object_type_id, const afw_query_criteria_t *criteria, void *context, afw_object_cb_t callback, const afw_object_t *adaptor_type_specific, const afw_pool_t *p, afw_xctx_t *xctx) |
void | impl_afw_adaptor_session_get_object (const afw_adaptor_session_t *instance, const afw_adaptor_impl_request_t *impl_request, const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, void *context, afw_object_cb_t callback, const afw_object_t *adaptor_type_specific, const afw_pool_t *p, afw_xctx_t *xctx) |
const afw_utf8_t * | impl_afw_adaptor_session_add_object (const afw_adaptor_session_t *instance, const afw_adaptor_impl_request_t *impl_request, const afw_utf8_t *object_type_id, const afw_utf8_t *suggested_object_id, const afw_object_t *object, const afw_object_t *adaptor_type_specific, afw_xctx_t *xctx) |
void | impl_afw_adaptor_session_modify_object (const afw_adaptor_session_t *instance, const afw_adaptor_impl_request_t *impl_request, const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, const afw_adaptor_modify_entry_t *const *entry, const afw_object_t *adaptor_type_specific, afw_xctx_t *xctx) |
void | impl_afw_adaptor_session_replace_object (const afw_adaptor_session_t *instance, const afw_adaptor_impl_request_t *impl_request, const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, const afw_object_t *replacement_object, const afw_object_t *adaptor_type_specific, afw_xctx_t *xctx) |
void | impl_afw_adaptor_session_delete_object (const afw_adaptor_session_t *instance, const afw_adaptor_impl_request_t *impl_request, const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, const afw_object_t *adaptor_type_specific, afw_xctx_t *xctx) |
const afw_adaptor_transaction_t * | impl_afw_adaptor_session_begin_transaction (const afw_adaptor_session_t *instance, afw_xctx_t *xctx) |
const afw_adaptor_journal_t * | impl_afw_adaptor_session_get_journal_interface (const afw_adaptor_session_t *instance, afw_xctx_t *xctx) |
const afw_adaptor_key_value_t * | impl_afw_adaptor_session_get_key_value_interface (const afw_adaptor_session_t *instance, afw_xctx_t *xctx) |
const afw_adaptor_impl_index_t * | impl_afw_adaptor_session_get_index_interface (const afw_adaptor_session_t *instance, afw_xctx_t *xctx) |
const afw_adaptor_object_type_cache_t * | impl_afw_adaptor_session_get_object_type_cache_interface (const afw_adaptor_session_t *instance, afw_xctx_t *xctx) |
void | afw_runtime_object_release (const afw_object_t *instance, afw_xctx_t *xctx) |
Method release for runtime object. More... | |
void | afw_runtime_object_add_reference (const afw_object_t *instance, afw_xctx_t *xctx) |
Method add_reference for runtime object. More... | |
afw_size_t | afw_runtime_object_get_count (const afw_object_t *instance, afw_xctx_t *xctx) |
Method get_count for runtime object. More... | |
const afw_utf8_t * | afw_runtime_object_get_object_type_id (const afw_object_t *instance, afw_xctx_t *xctx) |
Method get_object_type_id for runtime object. | |
const afw_value_t * | afw_runtime_object_get_property (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx) |
Method get_property for runtime object. | |
const afw_value_t * | afw_runtime_object_get_meta (const afw_object_t *instance, const afw_pool_t *p, afw_xctx_t *xctx) |
Method get_meta for runtime object. | |
const afw_value_t * | afw_runtime_object_get_property_meta (const afw_object_t *instance, const afw_utf8_t *property_name, const afw_pool_t *p, afw_xctx_t *xctx) |
Method get_property_meta for runtime object. | |
const afw_value_t * | afw_runtime_object_get_next_own_property (const afw_object_t *instance, const afw_iterator_t **iterator, const afw_utf8_t **property_name, afw_xctx_t *xctx) |
Method get_next_property for runtime object. | |
const afw_value_t * | afw_runtime_object_get_next_property_meta (const afw_object_t *instance, const afw_iterator_t **iterator, const afw_utf8_t **property_name, const afw_pool_t *p, afw_xctx_t *xctx) |
Method get_next_property_meta for runtime object. | |
afw_boolean_t | afw_runtime_object_has_property (const afw_object_t *instance, const afw_utf8_t *property_name, afw_xctx_t *xctx) |
Method has_property for runtime object. | |
const afw_object_setter_t * | afw_runtime_object_get_setter (const afw_object_t *instance, afw_xctx_t *xctx) |
Method get_setter for runtime object. | |
Implementation of afw_adaptor_factory interface for afw_runtime.
Definition in file afw_runtime.c.