UniMRCP
1.3.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
libs
mrcp
control
include
mrcp_resource_factory.h
Go to the documentation of this file.
1
/*
2
* Copyright 2008-2014 Arsen Chaloyan
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
* $Id: mrcp_resource_factory.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17
*/
18
19
#ifndef MRCP_RESOURCE_FACTORY_H
20
#define MRCP_RESOURCE_FACTORY_H
21
22
/**
23
* @file mrcp_resource_factory.h
24
* @brief Aggregation of MRCP Resources
25
*/
26
27
#include "
apt_text_stream.h
"
28
#include "
mrcp_types.h
"
29
30
APT_BEGIN_EXTERN_C
31
32
/** Create MRCP resource factory */
33
MRCP_DECLARE
(
mrcp_resource_factory_t
*)
mrcp_resource_factory_create
(apr_size_t resource_count, apr_pool_t *pool);
34
35
/** Destroy MRCP resource factory */
36
MRCP_DECLARE
(
apt_bool_t
)
mrcp_resource_factory_destroy
(
mrcp_resource_factory_t
*resource_factory);
37
38
/** Register MRCP resource */
39
MRCP_DECLARE
(
apt_bool_t
)
mrcp_resource_register
(
mrcp_resource_factory_t
*resource_factory,
mrcp_resource_t
*resource);
40
41
/** Get MRCP resource by resource id */
42
MRCP_DECLARE
(
mrcp_resource_t
*)
mrcp_resource_get
(const
mrcp_resource_factory_t
*resource_factory,
mrcp_resource_id
resource_id);
43
44
/** Find MRCP resource by resource name */
45
MRCP_DECLARE
(
mrcp_resource_t
*)
mrcp_resource_find
(const
mrcp_resource_factory_t
*resource_factory, const
apt_str_t
*name);
46
47
48
APT_END_EXTERN_C
49
50
#endif
/* MRCP_RESOURCE_FACTORY_H */
Generated on Mon Feb 2 2015 19:41:39 for UniMRCP by
1.8.3.1