12 |
13 | // nedtool version check
14 | #define MSGC_VERSION 0x0506
15 | #if (MSGC_VERSION!=OMNETPP_VERSION)
16 | # error Version mismatch! Probably this file was generated by an earlier version of nedtool: 'make clean' should help.
17 | #endif
18 |
19 | // dll export symbol
20 | #ifndef VEINS_API
21 | # if defined(VEINS_EXPORT)
22 | # define VEINS_API OPP_DLLEXPORT
23 | # elif defined(VEINS_IMPORT)
24 | # define VEINS_API OPP_DLLIMPORT
25 | # else
26 | # define VEINS_API
27 | # endif
28 | #endif
29 |
30 |
31 | namespace veins {
32 |
33 | /**
34 | * Class generated from veins/modules/messages/AckTimeOutMessage.msg:25 by nedtool.
35 | *
36 | * message AckTimeOutMessage
37 | * {
38 | * // The corresponding WSM's tree id
39 | * unsigned long wsmId = -1;
40 | * // Access category on which the AckTimer is set
41 | * int ac = -1;
42 | * }
43 | *
44 | */
45 | class VEINS_API AckTimeOutMessage : public ::omnetpp::cMessage
46 | {
47 | protected:
48 | unsigned long wsmId;
49 | int ac;
50 |
51 | private:
52 | void copy(const AckTimeOutMessage& other);
53 |
54 | protected:
55 | // protected and unimplemented operator==(), to prevent accidental usage
56 | bool operator==(const AckTimeOutMessage&);
57 |
58 | public:
59 | AckTimeOutMessage(const char *name=nullptr, short kind=0);
60 | AckTimeOutMessage(const AckTimeOutMessage& other);
61 | virtual ~AckTimeOutMessage();
62 | AckTimeOutMessage& operator=(const AckTimeOutMessage& other);
63 | virtual AckTimeOutMessage *dup() const override {return new AckTimeOutMessage(*this);}
64 | virtual void parsimPack(omnetpp::cCommBuffer *b) const override;
65 | virtual void parsimUnpack(omnetpp::cCommBuffer *b) override;
66 |
67 | // field getter/setter methods
68 | virtual unsigned long getWsmId() const;
69 | virtual void setWsmId(unsigned long wsmId);
70 | virtual int getAc() const;
71 | virtual void setAc(int ac);
72 | };
73 |
74 | inline void doParsimPacking(omnetpp::cCommBuffer *b, const AckTimeOutMessage& obj) {obj.parsimPack(b);}
75 | inline void doParsimUnpacking(omnetpp::cCommBuffer *b, AckTimeOutMessage& obj) {obj.parsimUnpack(b);}
76 |
77 | } // namespace veins
78 |
79 | #endif // ifndef __VEINS_ACKTIMEOUTMESSAGE_M_H
80 |
81 |
--------------------------------------------------------------------------------