TTEthernet Model for INET Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CTFrame.h
Go to the documentation of this file.
1 /*
2  * CT_Frame.cc
3  *
4  * Created on: Jan 17, 2013
5  * Author: tillsteinbach
6  */
7 
8 #ifndef CT_FRAME_H_
9 #define CT_FRAME_H_
10 
11 #include "CTFrame_m.h"
12 
13 namespace TTEthernetModel {
14 
23 class CTFrame : public CTFrame_Base
24 {
25  public:
27  CTFrame(const CTFrame& other) : CTFrame_Base(other) {}
28  CTFrame(const char *name=NULL, int kind=0) : CTFrame_Base(name,kind) {}
29  CTFrame& operator=(const CTFrame& other) {CTFrame_Base::operator=(other); return *this;}
30  virtual CTFrame *dup() const {return new CTFrame(*this);}
31 
37  virtual uint16_t getCtID() const;
38 
44  virtual void setCtID(uint16_t ctID);
45 
51  virtual uint32_t getCtMarker() const;
52 
58  virtual void setCtMarker(uint32_t ctMarker);
59 };
60 
61 }
62 
63 #endif /* CT_FRAME_CC_ */