compmgr.h File Reference


Detailed Description

The file contains description of public component manager handles and interfaces for initialization and dynamic linking of VM components.


Classes

struct  _OpenInterface
 The _OpenInterface structure represents a virtual table of interface functions. More...
struct  _OpenComponent
 Default component interface. More...
struct  _OpenInstance
 The generic component instance. More...
struct  _OpenInstanceAllocator
 The private component interface used by a component manager to allocate and dispose instances. More...
struct  _OpenComponentManager
 The virtual table which contains public component manager interface. More...

Typedefs

Handles
Handles are opaque for an interface user.

The user operates with handles by means of interface functions.

typedef _OpenInterfaceOpenInterfaceHandle
 The handle of the abstract component interface.
typedef _OpenComponentOpenComponentHandle
 The handle of the open component.
typedef _OpenInstanceOpenInstanceHandle
 The handle of the open instance.
typedef _OpenInstanceAllocatorOpenInstanceAllocatorHandle
 The handle of the instance allocator interface.
typedef _OpenComponentManagerOpenComponentManagerHandle
 The handle of the component manager interface.
typedef int(*) OpenComponentInitializer (OpenComponentHandle *p_component, OpenInstanceAllocatorHandle *p_allocator, apr_pool_t *pool)
 The generic component initialization function type.


Typedef Documentation

typedef struct _OpenInterface* OpenInterfaceHandle

The handle of the abstract component interface.

typedef struct _OpenComponent* OpenComponentHandle

The handle of the open component.

typedef struct _OpenInstance* OpenInstanceHandle

The handle of the open instance.

typedef struct _OpenInstanceAllocator* OpenInstanceAllocatorHandle

The handle of the instance allocator interface.

typedef struct _OpenComponentManager* OpenComponentManagerHandle

The handle of the component manager interface.

typedef int(*) OpenComponentInitializer(OpenComponentHandle *p_component, OpenInstanceAllocatorHandle *p_allocator, apr_pool_t *pool)

The generic component initialization function type.

Parameters:
[out] p_component on return, points to a handle of a default component interface
[out] p_allocator on return, points to a handle of a private instance allocation interface
pool a memory pool with the component lifetime
Returns:
APR_SUCCESS if successful, otherwise a non-zero error code


Genereated on Tue Mar 11 19:25:22 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.