sipxmediaadapterlib  Version 3.3
Private Attributes | List of all members
MiIntNotf Class Reference

Message notification class used to communicate abstract integer value. More...

#include <MiIntNotf.h>

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

Public Member Functions

Creators
 MiIntNotf (NotfType msgType, const UtlString &sourceId, int value, int connectionId=INVALID_CONNECTION_ID, int streamId=-1)
 Constructor. More...
 
 MiIntNotf (const MiIntNotf &rNotf)
 Copy constructor. More...
 
virtual OsMsg * createCopy () const
 Create a copy of this msg object (which may be of a derived type) More...
 
virtual ~MiIntNotf ()
 Destructor. More...
 
Manipulators
MiIntNotfoperator= (const MiIntNotf &rhs)
 Assignment operator. More...
 
void setValue (int value)
 Set the value this notification reports. More...
 
Accessors
int getValue () const
 Get the value this notification reports. More...
 
- Public Member Functions inherited from MiNotification
 MiNotification (NotfType msgType, const UtlString &sourceId, int connectionId=INVALID_CONNECTION_ID, int streamId=-1)
 Constructor. More...
 
 MiNotification (const MiNotification &rNotf)
 Copy constructor. More...
 
virtual ~MiNotification ()
 Destructor. More...
 
MiNotificationoperator= (const MiNotification &rhs)
 Assignment operator. More...
 
void setSourceId (const UtlString &sourceId)
 Set the unique source identifier. More...
 
void setConnectionId (int connId)
 Set the connection ID that this notification is associated with. More...
 
void setStreamId (int streamId)
 Set the stream number inside the connection this notification is associated with. More...
 
NotfType getType (void) const
 Returns the type of the notification message. More...
 
UtlString getSourceId (void) const
 Get the unique source identifier. More...
 
int getConnectionId () const
 Get the connection ID that this message is associated with. More...
 
int getStreamId () const
 Get the stream number inside the connection this notification is associated with. More...
 

Private Attributes

int mValue
 Reported value. More...
 

Additional Inherited Members

- Public Types inherited from MiNotification
enum  NotfType {
  MI_NOTF_MESSAGE_INVALID, MI_NOTF_PLAY_STARTED, MI_NOTF_PLAY_PAUSED, MI_NOTF_PLAY_RESUMED,
  MI_NOTF_PLAY_STOPPED, MI_NOTF_PLAY_FINISHED, MI_NOTF_PLAY_ERROR, MI_NOTF_PROGRESS,
  MI_NOTF_RECORD_STARTED, MI_NOTF_RECORD_PAUSED, MI_NOTF_RECORD_RESUMED, MI_NOTF_RECORD_STOPPED,
  MI_NOTF_RECORD_FINISHED, MI_NOTF_RECORD_ERROR, MI_NOTF_DTMF_RECEIVED, MI_NOTF_DELAY_SPEECH_STARTED,
  MI_NOTF_DELAY_NO_DELAY, MI_NOTF_DELAY_QUIESCENCE, MI_NOTF_RX_STREAM_ACTIVITY, MI_NOTF_ENERGY_LEVEL,
  MI_NOTF_VOICE_STARTED, MI_NOTF_VOICE_STOPPED, MI_NOTF_H264_SPS, MI_NOTF_H264_PPS,
  MI_NOTF_TONE_DETECT_ON, MI_NOTF_TONE_DETECT_OFF, MI_NOTF_RECORDER_CIRCULARBUFFER_WATERMARK_REACHED, MI_NOTF_INPUT_DEVICE_NOT_PRESENT,
  MI_NOTF_OUTPUT_DEVICE_NOT_PRESENT, MI_NOTF_INPUT_DEVICE_NOW_PRESENT, MI_NOTF_OUTPUT_DEVICE_NOW_PRESENT
}
 Media notification message types. More...
 
- Static Public Attributes inherited from MiNotification
static const int INVALID_CONNECTION_ID = -1
 Connection ID that indicates invalid connection or no connection. More...
 

Detailed Description

Message notification class used to communicate abstract integer value.

Constructor & Destructor Documentation

MiIntNotf ( NotfType  msgType,
const UtlString &  sourceId,
int  value,
int  connectionId = INVALID_CONNECTION_ID,
int  streamId = -1 
)

Constructor.

MiIntNotf ( const MiIntNotf rNotf)

Copy constructor.

~MiIntNotf ( )
virtual

Destructor.

Member Function Documentation

OsMsg * createCopy ( void  ) const
virtual

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

Reimplemented from MiNotification.

MiIntNotf & operator= ( const MiIntNotf rhs)

Assignment operator.

void setValue ( int  value)

Set the value this notification reports.

int getValue ( ) const

Get the value this notification reports.

Member Data Documentation

int mValue
private

Reported value.