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

Modules

 afw_extension
 

Data Structures

struct  afw_extension_s
 Interface afw_extension public struct. More...
 
struct  afw_extension_inf_s
 Interface afw_extension_inf_s struct. More...
 

Macros

#define AFW_EXTENSION_INTERFACE_NAME   "afw_extension"
 define for interface afw_extension name.
 
#define afw_extension_initialize(instance, properties, p, xctx)
 Call method initialize of interface afw_extension. More...
 
#define afw_extension_release(instance, xctx)
 Call method release of interface afw_extension. More...
 

Typedefs

typedef const afw_extension_t *(* afw_extension_initialize_t) (const afw_extension_t *instance, const afw_object_t *properties, const afw_pool_t *p, afw_xctx_t *xctx)
 
typedef void(* afw_extension_release_t) (const afw_extension_t *instance, afw_xctx_t *xctx)
 

Detailed Description

Interface returned from afw_extension_initialize() of an Adaptive Framework environment extension module. Additional information about an extension is found in object /afw/_AdaptiveManifest_/<extension_id>.

Macro Definition Documentation

◆ afw_extension_initialize

#define afw_extension_initialize (   instance,
  properties,
  p,
  xctx 
)
Value:
(instance)->inf->initialize( \
(instance), \
(properties), \
(p), \
(xctx) \
)

Call method initialize of interface afw_extension.

Parameters
instanceThis extension's instance.
propertiesThis is the properties supplied to afw_environment_load_extension() or NULL.
pThis is the pool to use for extension resources.
xctxThis is the caller's xctx.

Definition at line 96 of file afw_interface.h.

◆ afw_extension_release

#define afw_extension_release (   instance,
  xctx 
)
Value:
(instance)->inf->release( \
(instance), \
(xctx) \
)

Call method release of interface afw_extension.

Parameters
instancePointer to this adaptor instance.
xctxThis is the caller's xctx.

Definition at line 114 of file afw_interface.h.

Typedef Documentation

◆ afw_extension_initialize_t

typedef const afw_extension_t*(* afw_extension_initialize_t) (const afw_extension_t *instance, const afw_object_t *properties, const afw_pool_t *p, afw_xctx_t *xctx)
See also
afw_extension_initialize()

Definition at line 68 of file afw_interface.h.

◆ afw_extension_release_t

typedef void(* afw_extension_release_t) (const afw_extension_t *instance, afw_xctx_t *xctx)
See also
afw_extension_release()

Definition at line 76 of file afw_interface.h.