mpf_termination_factory.h File Reference

MPF Termination Factory. More...

#include "mpf_types.h"

Go to the source code of this file.

Data Structures

struct  mpf_termination_factory_t

Functions

mpf_termination_tmpf_termination_create (mpf_termination_factory_t *termination_factory, void *obj, apr_pool_t *pool)
mpf_termination_tmpf_raw_termination_create (void *obj, mpf_audio_stream_t *audio_stream, mpf_video_stream_t *video_stream, apr_pool_t *pool)
apt_bool_t mpf_termination_destroy (mpf_termination_t *termination)
const char * mpf_termination_name_get (const mpf_termination_t *termination)
void * mpf_termination_object_get (const mpf_termination_t *termination)
mpf_audio_stream_tmpf_termination_audio_stream_get (const mpf_termination_t *termination)
mpf_video_stream_tmpf_termination_video_stream_get (const mpf_termination_t *termination)

Detailed Description

MPF Termination Factory.


Function Documentation

mpf_termination_t* mpf_raw_termination_create ( void *  obj,
mpf_audio_stream_t audio_stream,
mpf_video_stream_t video_stream,
apr_pool_t *  pool 
)

Create raw MPF termination.

Parameters:
obj the external object associated with termination
audio_stream the audio stream of the termination
video_stream the video stream of the termination
pool the pool to allocate memory from
mpf_audio_stream_t* mpf_termination_audio_stream_get ( const mpf_termination_t termination  ) 

Get audio stream.

Parameters:
termination the termination to get audio stream from
mpf_termination_t* mpf_termination_create ( mpf_termination_factory_t termination_factory,
void *  obj,
apr_pool_t *  pool 
)

Create MPF termination from termination factory.

Parameters:
termination_factory the termination factory to create termination from
obj the external object associated with termination
pool the pool to allocate memory from
apt_bool_t mpf_termination_destroy ( mpf_termination_t termination  ) 

Destroy MPF termination.

Parameters:
termination the termination to destroy
const char* mpf_termination_name_get ( const mpf_termination_t termination  ) 

Get termination name.

Parameters:
termination the termination to get name of
void* mpf_termination_object_get ( const mpf_termination_t termination  ) 

Get associated object.

Parameters:
termination the termination to get object from
mpf_video_stream_t* mpf_termination_video_stream_get ( const mpf_termination_t termination  ) 

Get video stream.

Parameters:
termination the termination to get video stream from
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 25 Mar 2013 for UniMRCP by  doxygen 1.6.1