00001 /*************************************************************************** 00002 RTPSenderControlMessage.h - description 00003 ------------------- 00004 begin : Fri Aug 16 2002 00005 copyright : (C) 2002 by Matthias Oppitz 00006 email : matthias.oppitz@gmx.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef RTPSENDERCONTROLMESSAGE_H 00019 #define RTPSENDERCONTROLMESSAGE_H 00020 00021 #include <cmessage.h> 00022 00023 00047 class RTPSenderControlMessage : public cMessage { 00048 00049 public: 00050 00054 RTPSenderControlMessage(const char *name = NULL); 00055 00059 RTPSenderControlMessage(const RTPSenderControlMessage& message); 00060 00064 virtual ~RTPSenderControlMessage(); 00065 00069 RTPSenderControlMessage& operator=(const RTPSenderControlMessage& message); 00070 00074 virtual cObject *dup() const; 00075 00079 virtual const char *className() const; 00080 00084 virtual const char *command() const; 00085 00089 virtual void setCommand(const char *command); 00090 00091 virtual void setCommand(const char *command, float commandParameter1); 00092 virtual void setCommand(const char *command, float commandParameter1, float commandParameter2); 00093 00094 virtual float commandParameter1(); 00095 virtual float commandParameter2(); 00096 00097 private: 00098 00102 const char *_command; 00103 00104 float _commandParameter1, _commandParameter2; 00105 00106 }; 00107 00108 #endif