sipxmedialib
Version 3.3
|
Message object used to communicate with the media processing task. More...
#include <MpMediaTaskMsg.h>
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 | |
MpMediaTaskMsg & | operator= (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... | |
Message object used to communicate with the media processing task.
enum MpMediaTaskMsgType |
MpMediaTaskMsg | ( | int | msg = -1 , |
void * | pPtr1 = NULL , |
||
void * | pPtr2 = NULL , |
||
int | int1 = -1 , |
||
int | int2 = -1 |
||
) |
Constructor.
MpMediaTaskMsg | ( | const MpMediaTaskMsg & | rMpMediaTaskMsg | ) |
Copy constructor.
|
virtual |
Destructor.
|
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.
|
private |
Message pointer 1.
|
private |
Message pointer 2.
|
private |
Message integer 1.
|
private |
Message integer 2.