|
sipxmedialib
Version 3.3
|
Message object used to communicate with the media processing task. More...
#include <MpToneResourceMsg.h>


Public Member Functions | |
Creators | |
| MpToneResourceMsg (const UtlString &msgDestName, int toneCode) | |
| Constructor. More... | |
| MpToneResourceMsg (const MpToneResourceMsg &rMpResourceMsg) | |
| Copy constructor. More... | |
| OsMsg * | createCopy (void) const |
| Create a copy of this msg object (which may be of a derived type) More... | |
| ~MpToneResourceMsg () | |
| Destructor. More... | |
Manipulators | |
| MpToneResourceMsg & | operator= (const MpToneResourceMsg &rhs) |
| Assignment operator. More... | |
| void | setToneCode (int toneCode) |
| Set the tone that is associated with this resource. More... | |
Accessors | |
| int | getToneCode (void) const |
| Get the tone that is associated with this resource. More... | |
Public Member Functions inherited from MpResourceMsg | |
| MpResourceMsg (MpResourceMsgType msg, const UtlString &msgDestName) | |
| Constructor. More... | |
| MpResourceMsg (const MpResourceMsg &rMpResourceMsg) | |
| Copy constructor. More... | |
| virtual | ~MpResourceMsg () |
| Destructor. More... | |
| MpResourceMsg & | operator= (const MpResourceMsg &rhs) |
| Assignment operator. More... | |
| void | setDestResourceName (const UtlString &msgDestName) |
| Set the name of the resource this message applies to. More... | |
| int | getMsg () const |
| Returns the type of the media resource message. More... | |
| UtlString | getDestResourceName () const |
| Get the name of the resource this message applies to. More... | |
Private Attributes | |
| int | mToneCode |
| The tone to play/stop/etc. More... | |
Additional Inherited Members | |
Public Types inherited from MpResourceMsg | |
| enum | MpResourceMsgType { MPRM_RESOURCE_ENABLE, MPRM_RESOURCE_DISABLE, MPRM_ENABLE_ALL_NOTIFICATIONS, MPRM_DISABLE_ALL_NOTIFICATIONS, MPRM_START_TONE, MPRM_STOP_TONE, MPRM_BRIDGE_SET_GAINS, MPRM_DECODE_SELECT_CODECS, MPRM_SET_SOCKETS, MPRM_RESET_SOCKETS, MPRM_EXTERNAL_MESSAGE_START = 128 } |
| Resource message types. More... | |
Message object used to communicate with the media processing task.
|
inline |
Constructor.
|
inline |
Copy constructor.
|
inline |
Destructor.
|
inlinevirtual |
Create a copy of this msg object (which may be of a derived type)
Reimplemented from MpResourceMsg.
|
inline |
Assignment operator.
|
inline |
Set the tone that is associated with this resource.
Set the tone that is associated with this resource.
| toneId | the new tone that is to be set in this resource. |
|
inline |
Get the tone that is associated with this resource.
Returns the tone that is associated with this resource.
|
private |
The tone to play/stop/etc.
1.8.11