RINASim  October 2016
Documentation of framework for OMNeT++
DataTransferPDU_m.h
Go to the documentation of this file.
1 //
2 // Generated file, do not edit! Created by nedtool 5.0 from DIF/EFCP/DTP/DataTransferPDU.msg.
3 //
4 
5 #ifndef __DATATRANSFERPDU_M_H
6 #define __DATATRANSFERPDU_M_H
7 
8 #include <omnetpp.h>
9 
10 // nedtool version check
11 #define MSGC_VERSION 0x0500
12 #if (MSGC_VERSION!=OMNETPP_VERSION)
13 # error Version mismatch! Probably this file was generated by an earlier version of nedtool: 'make clean' should help.
14 #endif
15 
16 
17 
18 // cplusplus {{
19 #include "PDU.h"
20 #include "UserDataField.h"
21 
23 // }}
24 
64 {
65  protected:
66 
67  private:
68  void copy(const DataTransferPDU_Base& other);
69 
70  protected:
71  // protected and unimplemented operator==(), to prevent accidental usage
72  bool operator==(const DataTransferPDU_Base&);
73  // make constructors protected to avoid instantiation
74  DataTransferPDU_Base(const char *name=nullptr, int kind=0);
76  // make assignment operator protected to force the user override it
78 
79  public:
80  virtual ~DataTransferPDU_Base();
81  virtual DataTransferPDU_Base *dup() const {throw omnetpp::cRuntimeError("You forgot to manually add a dup() function to class DataTransferPDU");}
82  virtual void parsimPack(omnetpp::cCommBuffer *b) const;
83  virtual void parsimUnpack(omnetpp::cCommBuffer *b);
84 
85  // field getter/setter methods
86 };
87 
88 
89 #endif // ifndef __DATATRANSFERPDU_M_H
90 
DataTransferPDU_Base(const char *name=nullptr, int kind=0)
virtual DataTransferPDU_Base * dup() const
virtual void parsimPack(omnetpp::cCommBuffer *b) const
bool operator==(const DataTransferPDU_Base &)
Definition: PDU.h:42
DataTransferPDU_Base & operator=(const DataTransferPDU_Base &other)
virtual void parsimUnpack(omnetpp::cCommBuffer *b)
UserDataField * UserDataFieldPtr
void copy(const DataTransferPDU_Base &other)