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
mpf
include
mpf_engine_factory.h
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: mpf_engine_factory.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17
*/
18
19
#ifndef MPF_ENGINE_FACTORY_H
20
#define MPF_ENGINE_FACTORY_H
21
22
/**
23
* @file mpf_engine.h
24
* @brief Factory of Media Processing Engines
25
*/
26
27
#include "
mpf_types.h
"
28
29
APT_BEGIN_EXTERN_C
30
31
/** Create factory of media engines. */
32
MPF_DECLARE
(
mpf_engine_factory_t
*) mpf_engine_factory_create(apr_pool_t *pool);
33
34
/** Add media engine to factory. */
35
MPF_DECLARE
(
apt_bool_t
) mpf_engine_factory_engine_add(
mpf_engine_factory_t
*mpf_factory,
mpf_engine_t
*media_engine);
36
37
/** Determine whether factory is empty. */
38
MPF_DECLARE
(
apt_bool_t
) mpf_engine_factory_is_empty(const
mpf_engine_factory_t
*mpf_factory);
39
40
/** Select next available media engine. */
41
MPF_DECLARE
(
mpf_engine_t
*) mpf_engine_factory_engine_select(
mpf_engine_factory_t
*mpf_factory);
42
43
/** Associate media engines with RTP termination factory. */
44
MPF_DECLARE
(
apt_bool_t
) mpf_engine_factory_rtp_factory_assign(
mpf_engine_factory_t
*mpf_factory,
mpf_termination_factory_t
*rtp_factory);
45
46
APT_END_EXTERN_C
47
48
#endif
/* MPF_ENGINE_FACTORY_H */
Generated on Mon Feb 2 2015 19:41:38 for UniMRCP by
1.8.3.1