sipxmedialib
Version 3.3
|
Message used to set gains in bridge mix matrix. More...
#include <MprBridgeSetGainsMsg.h>
Public Types | |
enum | SetGainMsgType { GAINS_ROW, GAINS_COLUMN } |
Set row or column in bridge mix matrix. More... | |
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... | |
Public Member Functions | |
Creators | |
MprBridgeSetGainsMsg (const UtlString &targetResourceName, int port, int numGains, const MpBridgeGain pGains[], SetGainMsgType type) | |
Constructor. More... | |
MprBridgeSetGainsMsg (const MprBridgeSetGainsMsg &resourceMsg) | |
Copy constructor. More... | |
OsMsg * | createCopy (void) const |
Create a copy of this msg object (which may be of a derived type) More... | |
~MprBridgeSetGainsMsg () | |
Destructor. More... | |
Manipulators | |
MprBridgeSetGainsMsg & | operator= (const MprBridgeSetGainsMsg &rhs) |
Assignment operator. More... | |
Accessors | |
int | getPort () const |
int | getGainsNum () const |
Return number of values in gains array. More... | |
const MpBridgeGain * | getGains () const |
Return pointer to gains array. More... | |
SetGainMsgType | getType () const |
Should row or column be set? 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 | mPort |
int | mGainsNum |
Number of elements in mpGains array. More... | |
MpBridgeGain * | mpGains |
Array of gains to set. More... | |
SetGainMsgType | mType |
Should row or column be set? More... | |
Message used to set gains in bridge mix matrix.
enum SetGainMsgType |
|
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 |
|
inline |
Return number of values in gains array.
|
inline |
Return pointer to gains array.
|
inline |
Should row or column be set?
|
private |
Input or output port (row or column number) for which gains are set.
|
private |
Number of elements in mpGains array.
|
private |
Array of gains to set.
|
private |
Should row or column be set?