close Warning: Can't use blame annotator:
No changeset 1891 in the repository

source: source/ariba/communication/modules/transport/omnet/AribaOmnetMessage_m.h@ 4895

Last change on this file since 4895 was 4895, checked in by Christoph Mayer, 15 years ago

bootstrap test

File size: 1.8 KB
RevLine 
1//
2// Generated file, do not edit! Created by opp_msgc 3.4 from ./SpoVNetOmnetMessage.msg.
3//
4
5#ifndef _ARIBAOMNETMESSAGE_M_H_
6#define _ARIBAOMNETMESSAGE_M_H_
7
8#include <omnetpp.h>
9
10// opp_msgc version check
11#define MSGC_VERSION 0x0304
12#if (MSGC_VERSION!=OMNETPP_VERSION)
13# error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help.
14#endif
15
16
17/**
18 * Class generated from <tt>./AribaOmnetMessage.msg</tt> by opp_msgc.
19 * <pre>
20 * message AribaOmnetMessage
21 * {
22 * fields:
23 * unsigned int port;
24 * unsigned char data[];
25 * }
26 * </pre>
27 */
28class AribaOmnetMessage : public cMessage
29{
30 protected:
31 unsigned int port_var;
32 unsigned char *data_var; // array ptr
33 unsigned int data_arraysize;
34
35 // protected and unimplemented operator==(), to prevent accidental usage
36 bool operator==(const AribaOmnetMessage&);
37
38 public:
39 AribaOmnetMessage(const char *name=NULL, int kind=0);
40 AribaOmnetMessage(const AribaOmnetMessage& other);
41 virtual ~AribaOmnetMessage();
42 AribaOmnetMessage& operator=(const AribaOmnetMessage& other);
43 virtual cPolymorphic *dup() const {return new AribaOmnetMessage(*this);}
44 virtual void netPack(cCommBuffer *b);
45 virtual void netUnpack(cCommBuffer *b);
46
47 // field getter/setter methods
48 virtual unsigned int getPort() const;
49 virtual void setPort(unsigned int port_var);
50 virtual void setDataArraySize(unsigned int size);
51 virtual unsigned int getDataArraySize() const;
52 virtual unsigned char getData(unsigned int k) const;
53 virtual void setData(unsigned int k, unsigned char data_var);
54};
55
56inline void doPacking(cCommBuffer *b, AribaOmnetMessage& obj) {obj.netPack(b);}
57inline void doUnpacking(cCommBuffer *b, AribaOmnetMessage& obj) {obj.netUnpack(b);}
58
59#endif // _ARIBAOMNETMESSAGE_M_H_
Note: See TracBrowser for help on using the repository browser.