UniMRCP  1.7.0
Data Structures | Macros | Typedefs | Enumerations
mpf_message.h File Reference

Media Processing Framework Message Definitions. More...

#include "mpf_types.h"
Include dependency graph for mpf_message.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mpf_message_t
 
struct  mpf_message_container_t
 

Macros

#define MAX_MPF_MESSAGE_COUNT   5
 

Typedefs

typedef struct mpf_message_t mpf_message_t
 
typedef struct mpf_message_container_t mpf_message_container_t
 

Enumerations

enum  mpf_message_type_e { MPF_MESSAGE_TYPE_REQUEST, MPF_MESSAGE_TYPE_RESPONSE, MPF_MESSAGE_TYPE_EVENT }
 
enum  mpf_status_code_e { MPF_STATUS_CODE_SUCCESS, MPF_STATUS_CODE_FAILURE }
 
enum  mpf_command_type_e {
  MPF_ADD_TERMINATION, MPF_MODIFY_TERMINATION, MPF_SUBTRACT_TERMINATION, MPF_ADD_ASSOCIATION,
  MPF_REMOVE_ASSOCIATION, MPF_RESET_ASSOCIATIONS, MPF_APPLY_TOPOLOGY, MPF_DESTROY_TOPOLOGY
}
 

Detailed Description

Media Processing Framework Message Definitions.

Macro Definition Documentation

◆ MAX_MPF_MESSAGE_COUNT

#define MAX_MPF_MESSAGE_COUNT   5

Max number of messages grouped in a container

Typedef Documentation

◆ mpf_message_container_t

MPF message container declaration

◆ mpf_message_t

typedef struct mpf_message_t mpf_message_t

MPF message declaration

Enumeration Type Documentation

◆ mpf_command_type_e

Enumeration of MPF commands

Enumerator
MPF_ADD_TERMINATION 

add termination to context

MPF_MODIFY_TERMINATION 

modify termination properties

MPF_SUBTRACT_TERMINATION 

subtract termination from context

MPF_ADD_ASSOCIATION 

add association between terminations

MPF_REMOVE_ASSOCIATION 

remove association between terminations

MPF_RESET_ASSOCIATIONS 

reset associations among terminations (also destroy topology)

MPF_APPLY_TOPOLOGY 

apply topology based on assigned associations

MPF_DESTROY_TOPOLOGY 

destroy applied topology

◆ mpf_message_type_e

Enumeration of MPF message types

Enumerator
MPF_MESSAGE_TYPE_REQUEST 

request message

MPF_MESSAGE_TYPE_RESPONSE 

response message

MPF_MESSAGE_TYPE_EVENT 

event message

◆ mpf_status_code_e

Enumeration of MPF status codes

Enumerator
MPF_STATUS_CODE_SUCCESS 

indicates success

MPF_STATUS_CODE_FAILURE 

indicates failure