00001
00002 #ifndef UWBIRMACPKT_
00003 #define UWBIRMACPKT_
00004
00005 #include "UWBIRMacPkt_m.h"
00006 #include <list>
00007
00008 using namespace std;
00009
00010 class UWBIRMacPkt : public UWBIRMacPkt_Base
00011 {
00012 public:
00013 UWBIRMacPkt(const char *name=NULL, int kind=0) : UWBIRMacPkt_Base(name,kind) {}
00014 UWBIRMacPkt(const UWBIRMacPkt& other) : UWBIRMacPkt_Base(other.getName()) {operator=(other);}
00015 UWBIRMacPkt& operator=(const UWBIRMacPkt& other);
00016 virtual UWBIRMacPkt *dup() const {return new UWBIRMacPkt(*this);}
00017
00018 virtual void setBitValuesArraySize(unsigned int size);
00019 virtual unsigned int getBitValuesArraySize() const;
00020 virtual bool getBitValues(unsigned int k) const;
00021 virtual void setBitValues(unsigned int k, bool bitValues_var);
00022 virtual void pushBitvalue(bool bitValue);
00023 virtual bool popBitValue();
00024 virtual bool isEmpty();
00025 list<bool> bitValues;
00026 };
00027
00028 #endif