sipxmedialib  Version 3.3
Private Attributes | List of all members
MpIntResourceMsg Class Reference

Message used to pass an integer value to resource. More...

#include <MpIntResourceMsg.h>

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

Public Member Functions

Creators
 MpIntResourceMsg (MpResourceMsgType type, const UtlString &targetResourceName, int data)
 Constructor. More...
 
 MpIntResourceMsg (const MpIntResourceMsg &msg)
 Copy constructor. More...
 
OsMsg * createCopy () const
 Create a copy of this msg object (which may be of a derived type) More...
 
Manipulators
MpIntResourceMsgoperator= (const MpIntResourceMsg &rhs)
 Assignment operator. More...
 
Accessors
int getData () const
 Return contained integer. 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...
 
MpResourceMsgoperator= (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 mData
 Integer to be passed to resource. 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...
 

Detailed Description

Message used to pass an integer value to resource.

Constructor & Destructor Documentation

MpIntResourceMsg ( MpResourceMsgType  type,
const UtlString &  targetResourceName,
int  data 
)
inline

Constructor.

MpIntResourceMsg ( const MpIntResourceMsg msg)
inline

Copy constructor.

Member Function Documentation

OsMsg* createCopy ( void  ) const
inlinevirtual

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

Reimplemented from MpResourceMsg.

MpIntResourceMsg& operator= ( const MpIntResourceMsg rhs)
inline

Assignment operator.

int getData ( ) const
inline

Return contained integer.

Member Data Documentation

int mData
private

Integer to be passed to resource.