Factory of MRCP Engines. More...
#include "mrcp_engine_iface.h"
Go to the source code of this file.
Typedefs | |
typedef typedefAPT_BEGIN_EXTERN_C struct mrcp_engine_factory_t | mrcp_engine_factory_t |
Functions | |
mrcp_engine_factory_t * | mrcp_engine_factory_create (apr_pool_t *pool) |
apt_bool_t | mrcp_engine_factory_destroy (mrcp_engine_factory_t *factory) |
apt_bool_t | mrcp_engine_factory_open (mrcp_engine_factory_t *factory) |
apt_bool_t | mrcp_engine_factory_close (mrcp_engine_factory_t *factory) |
apt_bool_t | mrcp_engine_factory_engine_register (mrcp_engine_factory_t *factory, mrcp_engine_t *engine) |
mrcp_engine_t * | mrcp_engine_factory_engine_get (const mrcp_engine_factory_t *factory, const char *name) |
mrcp_engine_t * | mrcp_engine_factory_engine_find (const mrcp_engine_factory_t *factory, mrcp_resource_id resource_id) |
apr_hash_index_t * | mrcp_engine_factory_engine_first (const mrcp_engine_factory_t *factory) |
Factory of MRCP Engines.
typedef typedefAPT_BEGIN_EXTERN_C struct mrcp_engine_factory_t mrcp_engine_factory_t |
Opaque engine factory declaration
apt_bool_t mrcp_engine_factory_close | ( | mrcp_engine_factory_t * | factory | ) |
Close registered engines
mrcp_engine_factory_t* mrcp_engine_factory_create | ( | apr_pool_t * | pool | ) |
Create engine factory
apt_bool_t mrcp_engine_factory_destroy | ( | mrcp_engine_factory_t * | factory | ) |
Destroy registered engines and the factory
mrcp_engine_t* mrcp_engine_factory_engine_find | ( | const mrcp_engine_factory_t * | factory, | |
mrcp_resource_id | resource_id | |||
) |
Find engine by resource identifier
apr_hash_index_t* mrcp_engine_factory_engine_first | ( | const mrcp_engine_factory_t * | factory | ) |
Start iterating over the engines in a factory
mrcp_engine_t* mrcp_engine_factory_engine_get | ( | const mrcp_engine_factory_t * | factory, | |
const char * | name | |||
) |
Get engine by name
apt_bool_t mrcp_engine_factory_engine_register | ( | mrcp_engine_factory_t * | factory, | |
mrcp_engine_t * | engine | |||
) |
Register engine
apt_bool_t mrcp_engine_factory_open | ( | mrcp_engine_factory_t * | factory | ) |
Open registered engines