INET Framework for OMNeT++/OMNEST
ansaOspfTimer6_m.h
Go to the documentation of this file.
00001 //
00002 // Generated file, do not edit! Created by opp_msgc 4.2 from ansa/ospfv3/messages/ansaOspfTimer6.msg.
00003 //
00004 
00005 #ifndef _ANSAOSPFTIMER6_M_H_
00006 #define _ANSAOSPFTIMER6_M_H_
00007 
00008 #include <omnetpp.h>
00009 
00010 // opp_msgc version check
00011 #define MSGC_VERSION 0x0402
00012 #if (MSGC_VERSION!=OMNETPP_VERSION)
00013 #    error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help.
00014 #endif
00015 
00016 // cplusplus {{
00017 #include "INETDefs.h"
00018 // }}
00019 
00020 
00021 
00038 enum OspfTimerType6 {
00039     InterfaceHelloTimer = 0,
00040     InterfaceWaitTimer = 1,
00041     InterfaceAcknowledgementTimer = 3,
00042     NeighborInactivityTimer = 4,
00043     NeighborPollTimer = 5,
00044     NeighborDDRetransmissionTimer = 6,
00045     NeighborUpdateRetransmissionTimer = 7,
00046     NeighborRequestRetransmissionTimer = 8,
00047     DatabaseAgeTimer = 9
00048 };
00049 
00058 class OspfTimer6 : public ::cMessage
00059 {
00060   protected:
00061     char timerKind_var;
00062 
00063   private:
00064     void copy(const OspfTimer6& other);
00065 
00066   protected:
00067     // protected and unimplemented operator==(), to prevent accidental usage
00068     bool operator==(const OspfTimer6&);
00069 
00070   public:
00071     OspfTimer6(const char *name=NULL, int kind=0);
00072     OspfTimer6(const OspfTimer6& other);
00073     virtual ~OspfTimer6();
00074     OspfTimer6& operator=(const OspfTimer6& other);
00075     virtual OspfTimer6 *dup() const {return new OspfTimer6(*this);}
00076     virtual void parsimPack(cCommBuffer *b);
00077     virtual void parsimUnpack(cCommBuffer *b);
00078 
00079     // field getter/setter methods
00080     virtual char getTimerKind() const;
00081     virtual void setTimerKind(char timerKind);
00082 };
00083 
00084 inline void doPacking(cCommBuffer *b, OspfTimer6& obj) {obj.parsimPack(b);}
00085 inline void doUnpacking(cCommBuffer *b, OspfTimer6& obj) {obj.parsimUnpack(b);}
00086 
00087 
00088 #endif // _ANSAOSPFTIMER6_M_H_