sipxmedialib  Version 3.3
Public Types | Private Attributes | List of all members
MpMediaTaskMsg Class Reference

Message object used to communicate with the media processing task. More...

#include <MpMediaTaskMsg.h>

Inheritance diagram for MpMediaTaskMsg:
Inheritance graph
[legend]
Collaboration diagram for MpMediaTaskMsg:
Collaboration graph
[legend]

Public Types

enum  MpMediaTaskMsgType {
  MANAGE, SET_FOCUS, START, STOP,
  UNMANAGE, WAIT_FOR_SIGNAL, START_SEND_RTP, STOP_SEND_RTP,
  START_RECEIVE_RTP, STOP_RECEIVE_RTP
}
 Phone set message types. More...
 

Public Member Functions

Creators
 MpMediaTaskMsg (int msg=-1, void *pPtr1=NULL, void *pPtr2=NULL, int int1=-1, int int2=-1)
 Constructor. More...
 
 MpMediaTaskMsg (const MpMediaTaskMsg &rMpMediaTaskMsg)
 Copy constructor. More...
 
virtual OsMsg * createCopy (void) const
 Create a copy of this msg object (which may be of a derived type) More...
 
virtual ~MpMediaTaskMsg ()
 Destructor. More...
 
Manipulators
MpMediaTaskMsgoperator= (const MpMediaTaskMsg &rhs)
 Assignment operator. More...
 
void setPtr1 (void *p)
 Set pointer 1 (void*) of the media task message. More...
 
void setPtr2 (void *p)
 Set pointer 2 (void*) of the media task message. More...
 
void setInt1 (int i)
 Set integer 1 of the media task message. More...
 
void setInt2 (int i)
 Set integer 2 of the media task message. More...
 
Accessors
int getMsg (void) const
 Return the type of the media task message. More...
 
void * getPtr1 (void) const
 Return pointer 1 (void*) of the media task message. More...
 
void * getPtr2 (void) const
 Return pointer 2 (void*) of the media task message. More...
 
int getInt1 (void) const
 Return integer 1 of the message. More...
 
int getInt2 (void) const
 Return integer 2 of the message. More...
 

Private Attributes

void * mpPtr1
 Message pointer 1. More...
 
void * mpPtr2
 Message pointer 2. More...
 
int mInt1
 Message integer 1. More...
 
int mInt2
 Message integer 2. More...
 

Detailed Description

Message object used to communicate with the media processing task.

Member Enumeration Documentation

Phone set message types.

Enumerator
MANAGE 
SET_FOCUS 
START 
STOP 
UNMANAGE 
WAIT_FOR_SIGNAL 
START_SEND_RTP 
STOP_SEND_RTP 
START_RECEIVE_RTP 
STOP_RECEIVE_RTP 

Constructor & Destructor Documentation

MpMediaTaskMsg ( int  msg = -1,
void *  pPtr1 = NULL,
void *  pPtr2 = NULL,
int  int1 = -1,
int  int2 = -1 
)

Constructor.

MpMediaTaskMsg ( const MpMediaTaskMsg rMpMediaTaskMsg)

Copy constructor.

~MpMediaTaskMsg ( )
virtual

Destructor.

Member Function Documentation

OsMsg * createCopy ( void  ) const
virtual

Create a copy of this msg object (which may be of a derived type)

MpMediaTaskMsg & operator= ( const MpMediaTaskMsg rhs)

Assignment operator.

void setPtr1 ( void *  p)

Set pointer 1 (void*) of the media task message.

void setPtr2 ( void *  p)

Set pointer 2 (void*) of the media task message.

void setInt1 ( int  i)

Set integer 1 of the media task message.

void setInt2 ( int  i)

Set integer 2 of the media task message.

int getMsg ( void  ) const

Return the type of the media task message.

void * getPtr1 ( void  ) const

Return pointer 1 (void*) of the media task message.

void * getPtr2 ( void  ) const

Return pointer 2 (void*) of the media task message.

int getInt1 ( void  ) const

Return integer 1 of the message.

int getInt2 ( void  ) const

Return integer 2 of the message.

Member Data Documentation

void* mpPtr1
private

Message pointer 1.

void* mpPtr2
private

Message pointer 2.

int mInt1
private

Message integer 1.

int mInt2
private

Message integer 2.