#include <RTPSenderControlMessage.h>
Following commands are evaluated in RTPPayloadSender (although correct behavior must be implemented in modules for certain payload types):
Public Member Functions | |
RTPSenderControlMessage (const char *name=NULL) | |
RTPSenderControlMessage (const RTPSenderControlMessage &message) | |
virtual | ~RTPSenderControlMessage () |
RTPSenderControlMessage & | operator= (const RTPSenderControlMessage &message) |
virtual cObject * | dup () const |
virtual const char * | className () const |
virtual const char * | command () const |
virtual void | setCommand (const char *command) |
virtual void | setCommand (const char *command, float commandParameter1) |
virtual void | setCommand (const char *command, float commandParameter1, float commandParameter2) |
virtual float | commandParameter1 () |
virtual float | commandParameter2 () |
Private Attributes | |
const char * | _command |
float | _commandParameter1 |
float | _commandParameter2 |
|
Default constructor. 00023 { 00024 _command = ""; 00025 };
|
|
Copy constructor. 00028 { 00029 setName(message.name()); 00030 operator=(message); 00031 };
|
|
Destructor. 00034 { 00035 };
|
|
Returns the class name "RTPSenderControlMessage". 00050 { 00051 return "RTPSenderControlMessage"; 00052 };
|
|
Returns the command string in this message. 00055 {
00056 return opp_strdup(_command);
00057 };
|
|
00081 { 00082 return _commandParameter1; 00083 };
|
|
00086 { 00087 return _commandParameter2; 00088 };
|
|
Duplicates the object. 00045 { 00046 return new RTPSenderControlMessage(*this); 00047 };
|
|
Assignment operator. 00038 { 00039 cMessage::operator=(message); 00040 _command = message.command(); 00041 return *this; 00042 };
|
|
00074 { 00075 _command = command; 00076 _commandParameter1 = commandParameter1; 00077 _commandParameter2 = commandParameter2; 00078 };
|
|
00067 { 00068 _command = command; 00069 _commandParameter1 = commandParameter1; 00070 _commandParameter2 = 0.0; 00071 };
|
|
Set the command string this message transports to the sender module. 00060 { 00061 _command = command; 00062 _commandParameter1 = 0.0; 00063 _commandParameter2 = 0.0; 00064 };
|
|
The command string stored in the message. |
|
|
|
|