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

Message used pass arbitrary data to a resource. More...

#include <MpPackedResourceMsg.h>

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

Public Member Functions

Creators
 MpPackedResourceMsg (MpResourceMsgType msgType, const UtlString &targetResourceName)
 Constructor. More...
 
 MpPackedResourceMsg (const MpPackedResourceMsg &resourceMsg)
 Copy constructor. More...
 
OsMsg * createCopy () const
 
 ~MpPackedResourceMsg ()
 Destructor. More...
 
Manipulators
MpPackedResourceMsgoperator= (const MpPackedResourceMsg &rhs)
 Assignment operator. More...
 
Accessors
UtlSerialized & getData ()
 Get stored data. 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

UtlSerialized mData
 Packed data to be passed to the 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 pass arbitrary data to a resource.

Constructor & Destructor Documentation

MpPackedResourceMsg ( MpResourceMsgType  msgType,
const UtlString &  targetResourceName 
)
inline

Constructor.

MpPackedResourceMsg ( const MpPackedResourceMsg resourceMsg)
inline

Copy constructor.

~MpPackedResourceMsg ( )
inline

Destructor.

Member Function Documentation

OsMsg* createCopy ( void  ) const
inlinevirtual

Reimplemented from MpResourceMsg.

MpPackedResourceMsg& operator= ( const MpPackedResourceMsg rhs)
inline

Assignment operator.

UtlSerialized & getData ( )
inline

Get stored data.

Member Data Documentation

UtlSerialized mData
private

Packed data to be passed to the resource,.