Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __INET_IPCONTROLINFO_H
00019 #define __INET_IPCONTROLINFO_H
00020
00021 #include "IPControlInfo_m.h"
00022
00023 class IPDatagram;
00024
00030 class INET_API IPControlInfo : public IPControlInfo_Base
00031 {
00032 protected:
00033 IPDatagram *dgram;
00034 public:
00035 IPControlInfo() : IPControlInfo_Base() {dgram=NULL;}
00036 virtual ~IPControlInfo();
00037 IPControlInfo(const IPControlInfo& other) : IPControlInfo_Base() {dgram=NULL; operator=(other);}
00038 IPControlInfo& operator=(const IPControlInfo& other) {IPControlInfo_Base::operator=(other); return *this;}
00039
00040 virtual void setOrigDatagram(IPDatagram *d);
00041 virtual IPDatagram *getOrigDatagram() const {return dgram;}
00042 virtual IPDatagram *removeOrigDatagram();
00043 };
00044
00045 #endif
00046
00047