UniMRCP  1.7.0
Typedefs | Functions
mrcp_engine_factory.h File Reference

Factory of MRCP Engines. More...

#include "mrcp_engine_iface.h"
Include dependency graph for mrcp_engine_factory.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_tmrcp_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_tmrcp_engine_factory_engine_get (const mrcp_engine_factory_t *factory, const char *name)
 
mrcp_engine_tmrcp_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)
 

Detailed Description

Factory of MRCP Engines.

Typedef Documentation

◆ mrcp_engine_factory_t

typedef typedefAPT_BEGIN_EXTERN_C struct mrcp_engine_factory_t mrcp_engine_factory_t

Opaque engine factory declaration

Function Documentation

◆ mrcp_engine_factory_close()

apt_bool_t mrcp_engine_factory_close ( mrcp_engine_factory_t factory)

Close registered engines

◆ mrcp_engine_factory_create()

mrcp_engine_factory_t* mrcp_engine_factory_create ( apr_pool_t *  pool)

Create engine factory

◆ mrcp_engine_factory_destroy()

apt_bool_t mrcp_engine_factory_destroy ( mrcp_engine_factory_t factory)

Destroy registered engines and the factory

◆ mrcp_engine_factory_engine_find()

mrcp_engine_t* mrcp_engine_factory_engine_find ( const mrcp_engine_factory_t factory,
mrcp_resource_id  resource_id 
)

Find engine by resource identifier

◆ mrcp_engine_factory_engine_first()

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_factory_engine_get()

mrcp_engine_t* mrcp_engine_factory_engine_get ( const mrcp_engine_factory_t factory,
const char *  name 
)

Get engine by name

◆ mrcp_engine_factory_engine_register()

apt_bool_t mrcp_engine_factory_engine_register ( mrcp_engine_factory_t factory,
mrcp_engine_t engine 
)

Register engine

◆ mrcp_engine_factory_open()

apt_bool_t mrcp_engine_factory_open ( mrcp_engine_factory_t factory)

Open registered engines