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

Message used to pass a string to resource. More...

#include <MpStringResourceMsg.h>

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

Public Member Functions

Creators
 MpStringResourceMsg (MpResourceMsgType type, const UtlString &targetResourceName, const UtlString &data)
 Constructor. More...
 
 MpStringResourceMsg (const MpStringResourceMsg &msg)
 Copy constructor. More...
 
OsMsg * createCopy () const
 Create a copy of this msg object (which may be of a derived type) More...
 
Manipulators
MpStringResourceMsgoperator= (const MpStringResourceMsg &rhs)
 Assignment operator. More...
 
Accessors
const UtlString & getData () const
 Return contained string. 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

UtlString mData
 String 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 a string to resource.

Constructor & Destructor Documentation

MpStringResourceMsg ( MpResourceMsgType  type,
const UtlString &  targetResourceName,
const UtlString &  data 
)
inline

Constructor.

MpStringResourceMsg ( const MpStringResourceMsg 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.

MpStringResourceMsg& operator= ( const MpStringResourceMsg rhs)
inline

Assignment operator.

const UtlString& getData ( ) const
inline

Return contained string.

Member Data Documentation

UtlString mData
private

String to be passed to resource.