OverSim
TreeManagementMessage_m.h
Go to the documentation of this file.
1 //
2 // Generated file, do not edit! Created by opp_msgc 4.2 from common/TreeManagementMessage.msg.
3 //
4 
5 #ifndef _TREEMANAGEMENTMESSAGE_M_H_
6 #define _TREEMANAGEMENTMESSAGE_M_H_
7 
8 #include <omnetpp.h>
9 
10 // opp_msgc version check
11 #define MSGC_VERSION 0x0402
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 // cplusplus {{
17 #include <vector>
18 
19 #include <NodeHandle.h>
20 #include <TransportAddress.h>
21 #include <CommonMessages_m.h>
22 
23 #include <CoordDataContainer.h>
25 #include <RegionDataContainer.h>
26 #include <AreaDataContainer.h>
27 
28 
29 static const int NODECOUNT_L = 8;
30 
31 #define TREETESTSTRATEGYCALL_L(msg) NODECOUNT_L
32 
33 #define PARENTREQUESTCALL_L(msg) BASECALL_L(msg)
34 #define PARENTREQUESTRESPONSE_L(msg) BASERESPONSE_L(msg)
35 
36 #define CHILDRELEASECALL_L(msg) BASECALL_L(msg)
37 #define CHILDRELEASERESPONSE_L(msg) BASERESPONSE_L(msg)
38 
39 #define CHILDCHECKCALL_L(msg) BASECALL_L(msg)
40 #define CHILDCHECKRESPONSE_L(msg) BASERESPONSE_L(msg)
41 
42 #define TREEAPPCALL_L(msg) BASECALL_L(msg)
43 #define TREEAPPRESPONSE_L(msg) BASERESPONSE_L(msg)
44 
45 #define GLOBALVIEWBUILDERCALL_L(msg) TREEAPPCALL_L(msg)
46 #define GLOBALVIEWBUILDERRESPONSE_L(msg) TREEAPPRESPONSE_L(msg)
47 
48 #define SENDCOORDINATESCALL_L(msg) (GLOBALVIEWBUILDERCALL_L(msg) + msg->getCoordData().getBitLength())
49 #define SENDALLSTRATEGYCALL_L(msg) SENDCOORDINATESCALL_L(msg)
50 #define REMOVERANDOMSTRATEGYCALL_L(msg) SENDCOORDINATESCALL_L(msg)
51 #define REGIONSSTRATEGYCALL_L(msg) (GLOBALVIEWBUILDERCALL_L(msg) + msg->getRegionData().getBitLength())
52 #define SIMPLECOORDSTRATEGYCALL_L(msg) (GLOBALVIEWBUILDERCALL_L(msg) + msg->getCoordData().getBitLength())
53 // }}
54 
55 
56 
67 {
68  protected:
70 
71  private:
72  void copy(const ParentRequestCall& other);
73 
74  protected:
75  // protected and unimplemented operator==(), to prevent accidental usage
76  bool operator==(const ParentRequestCall&);
77 
78  public:
79  ParentRequestCall(const char *name=NULL, int kind=0);
81  virtual ~ParentRequestCall();
83  virtual ParentRequestCall *dup() const {return new ParentRequestCall(*this);}
84  virtual void parsimPack(cCommBuffer *b);
85  virtual void parsimUnpack(cCommBuffer *b);
86 
87  // field getter/setter methods
88  virtual OverlayKey& getDomainKey();
89  virtual const OverlayKey& getDomainKey() const {return const_cast<ParentRequestCall*>(this)->getDomainKey();}
90  virtual void setDomainKey(const OverlayKey& domainKey);
91 };
92 
93 inline void doPacking(cCommBuffer *b, ParentRequestCall& obj) {obj.parsimPack(b);}
94 inline void doUnpacking(cCommBuffer *b, ParentRequestCall& obj) {obj.parsimUnpack(b);}
95 
105 {
106  protected:
107 
108  private:
109  void copy(const ParentRequestResponse& other);
110 
111  protected:
112  // protected and unimplemented operator==(), to prevent accidental usage
113  bool operator==(const ParentRequestResponse&);
114 
115  public:
116  ParentRequestResponse(const char *name=NULL, int kind=0);
118  virtual ~ParentRequestResponse();
120  virtual ParentRequestResponse *dup() const {return new ParentRequestResponse(*this);}
121  virtual void parsimPack(cCommBuffer *b);
122  virtual void parsimUnpack(cCommBuffer *b);
123 
124  // field getter/setter methods
125 };
126 
127 inline void doPacking(cCommBuffer *b, ParentRequestResponse& obj) {obj.parsimPack(b);}
128 inline void doUnpacking(cCommBuffer *b, ParentRequestResponse& obj) {obj.parsimUnpack(b);}
129 
139 {
140  protected:
141 
142  private:
143  void copy(const TreeAppCall& other);
144 
145  protected:
146  // protected and unimplemented operator==(), to prevent accidental usage
147  bool operator==(const TreeAppCall&);
148 
149  public:
150  TreeAppCall(const char *name=NULL, int kind=0);
151  TreeAppCall(const TreeAppCall& other);
152  virtual ~TreeAppCall();
153  TreeAppCall& operator=(const TreeAppCall& other);
154  virtual TreeAppCall *dup() const {return new TreeAppCall(*this);}
155  virtual void parsimPack(cCommBuffer *b);
156  virtual void parsimUnpack(cCommBuffer *b);
157 
158  // field getter/setter methods
159 };
160 
161 inline void doPacking(cCommBuffer *b, TreeAppCall& obj) {obj.parsimPack(b);}
162 inline void doUnpacking(cCommBuffer *b, TreeAppCall& obj) {obj.parsimUnpack(b);}
163 
173 {
174  protected:
175 
176  private:
177  void copy(const TreeAppResponse& other);
178 
179  protected:
180  // protected and unimplemented operator==(), to prevent accidental usage
181  bool operator==(const TreeAppResponse&);
182 
183  public:
184  TreeAppResponse(const char *name=NULL, int kind=0);
185  TreeAppResponse(const TreeAppResponse& other);
186  virtual ~TreeAppResponse();
188  virtual TreeAppResponse *dup() const {return new TreeAppResponse(*this);}
189  virtual void parsimPack(cCommBuffer *b);
190  virtual void parsimUnpack(cCommBuffer *b);
191 
192  // field getter/setter methods
193 };
194 
195 inline void doPacking(cCommBuffer *b, TreeAppResponse& obj) {obj.parsimPack(b);}
196 inline void doUnpacking(cCommBuffer *b, TreeAppResponse& obj) {obj.parsimUnpack(b);}
197 
207 {
208  protected:
209 
210  private:
211  void copy(const GlobalViewBuilderCall& other);
212 
213  protected:
214  // protected and unimplemented operator==(), to prevent accidental usage
215  bool operator==(const GlobalViewBuilderCall&);
216 
217  public:
218  GlobalViewBuilderCall(const char *name=NULL, int kind=0);
220  virtual ~GlobalViewBuilderCall();
222  virtual GlobalViewBuilderCall *dup() const {return new GlobalViewBuilderCall(*this);}
223  virtual void parsimPack(cCommBuffer *b);
224  virtual void parsimUnpack(cCommBuffer *b);
225 
226  // field getter/setter methods
227 };
228 
229 inline void doPacking(cCommBuffer *b, GlobalViewBuilderCall& obj) {obj.parsimPack(b);}
230 inline void doUnpacking(cCommBuffer *b, GlobalViewBuilderCall& obj) {obj.parsimUnpack(b);}
231 
241 {
242  protected:
243 
244  private:
245  void copy(const GlobalViewBuilderResponse& other);
246 
247  protected:
248  // protected and unimplemented operator==(), to prevent accidental usage
250 
251  public:
252  GlobalViewBuilderResponse(const char *name=NULL, int kind=0);
254  virtual ~GlobalViewBuilderResponse();
256  virtual GlobalViewBuilderResponse *dup() const {return new GlobalViewBuilderResponse(*this);}
257  virtual void parsimPack(cCommBuffer *b);
258  virtual void parsimUnpack(cCommBuffer *b);
259 
260  // field getter/setter methods
261 };
262 
263 inline void doPacking(cCommBuffer *b, GlobalViewBuilderResponse& obj) {obj.parsimPack(b);}
264 inline void doUnpacking(cCommBuffer *b, GlobalViewBuilderResponse& obj) {obj.parsimUnpack(b);}
265 
276 {
277  protected:
278 
279  private:
280  void copy(const ChildReleaseCall& other);
281 
282  protected:
283  // protected and unimplemented operator==(), to prevent accidental usage
284  bool operator==(const ChildReleaseCall&);
285 
286  public:
287  ChildReleaseCall(const char *name=NULL, int kind=0);
288  ChildReleaseCall(const ChildReleaseCall& other);
289  virtual ~ChildReleaseCall();
291  virtual ChildReleaseCall *dup() const {return new ChildReleaseCall(*this);}
292  virtual void parsimPack(cCommBuffer *b);
293  virtual void parsimUnpack(cCommBuffer *b);
294 
295  // field getter/setter methods
296 };
297 
298 inline void doPacking(cCommBuffer *b, ChildReleaseCall& obj) {obj.parsimPack(b);}
299 inline void doUnpacking(cCommBuffer *b, ChildReleaseCall& obj) {obj.parsimUnpack(b);}
300 
311 {
312  protected:
313 
314  private:
315  void copy(const ChildReleaseResponse& other);
316 
317  protected:
318  // protected and unimplemented operator==(), to prevent accidental usage
319  bool operator==(const ChildReleaseResponse&);
320 
321  public:
322  ChildReleaseResponse(const char *name=NULL, int kind=0);
324  virtual ~ChildReleaseResponse();
326  virtual ChildReleaseResponse *dup() const {return new ChildReleaseResponse(*this);}
327  virtual void parsimPack(cCommBuffer *b);
328  virtual void parsimUnpack(cCommBuffer *b);
329 
330  // field getter/setter methods
331 };
332 
333 inline void doPacking(cCommBuffer *b, ChildReleaseResponse& obj) {obj.parsimPack(b);}
334 inline void doUnpacking(cCommBuffer *b, ChildReleaseResponse& obj) {obj.parsimUnpack(b);}
335 
346 {
347  protected:
348 
349  private:
350  void copy(const ChildCheckCall& other);
351 
352  protected:
353  // protected and unimplemented operator==(), to prevent accidental usage
354  bool operator==(const ChildCheckCall&);
355 
356  public:
357  ChildCheckCall(const char *name=NULL, int kind=0);
358  ChildCheckCall(const ChildCheckCall& other);
359  virtual ~ChildCheckCall();
360  ChildCheckCall& operator=(const ChildCheckCall& other);
361  virtual ChildCheckCall *dup() const {return new ChildCheckCall(*this);}
362  virtual void parsimPack(cCommBuffer *b);
363  virtual void parsimUnpack(cCommBuffer *b);
364 
365  // field getter/setter methods
366 };
367 
368 inline void doPacking(cCommBuffer *b, ChildCheckCall& obj) {obj.parsimPack(b);}
369 inline void doUnpacking(cCommBuffer *b, ChildCheckCall& obj) {obj.parsimUnpack(b);}
370 
381 {
382  protected:
383 
384  private:
385  void copy(const ChildCheckResponse& other);
386 
387  protected:
388  // protected and unimplemented operator==(), to prevent accidental usage
389  bool operator==(const ChildCheckResponse&);
390 
391  public:
392  ChildCheckResponse(const char *name=NULL, int kind=0);
394  virtual ~ChildCheckResponse();
396  virtual ChildCheckResponse *dup() const {return new ChildCheckResponse(*this);}
397  virtual void parsimPack(cCommBuffer *b);
398  virtual void parsimUnpack(cCommBuffer *b);
399 
400  // field getter/setter methods
401 };
402 
403 inline void doPacking(cCommBuffer *b, ChildCheckResponse& obj) {obj.parsimPack(b);}
404 inline void doUnpacking(cCommBuffer *b, ChildCheckResponse& obj) {obj.parsimUnpack(b);}
405 
416 {
417  protected:
419 
420  private:
421  void copy(const SendCoordinatesCall& other);
422 
423  protected:
424  // protected and unimplemented operator==(), to prevent accidental usage
425  bool operator==(const SendCoordinatesCall&);
426 
427  public:
428  SendCoordinatesCall(const char *name=NULL, int kind=0);
430  virtual ~SendCoordinatesCall();
432  virtual SendCoordinatesCall *dup() const {return new SendCoordinatesCall(*this);}
433  virtual void parsimPack(cCommBuffer *b);
434  virtual void parsimUnpack(cCommBuffer *b);
435 
436  // field getter/setter methods
437  virtual CoordDataContainer& getCoordData();
438  virtual const CoordDataContainer& getCoordData() const {return const_cast<SendCoordinatesCall*>(this)->getCoordData();}
439  virtual void setCoordData(const CoordDataContainer& coordData);
440 };
441 
442 inline void doPacking(cCommBuffer *b, SendCoordinatesCall& obj) {obj.parsimPack(b);}
443 inline void doUnpacking(cCommBuffer *b, SendCoordinatesCall& obj) {obj.parsimUnpack(b);}
444 
455 {
456  protected:
458 
459  private:
460  void copy(const SendAllStrategyCall& other);
461 
462  protected:
463  // protected and unimplemented operator==(), to prevent accidental usage
464  bool operator==(const SendAllStrategyCall&);
465 
466  public:
467  SendAllStrategyCall(const char *name=NULL, int kind=0);
469  virtual ~SendAllStrategyCall();
471  virtual SendAllStrategyCall *dup() const {return new SendAllStrategyCall(*this);}
472  virtual void parsimPack(cCommBuffer *b);
473  virtual void parsimUnpack(cCommBuffer *b);
474 
475  // field getter/setter methods
476  virtual CoordDataContainer& getCoordData();
477  virtual const CoordDataContainer& getCoordData() const {return const_cast<SendAllStrategyCall*>(this)->getCoordData();}
478  virtual void setCoordData(const CoordDataContainer& coordData);
479 };
480 
481 inline void doPacking(cCommBuffer *b, SendAllStrategyCall& obj) {obj.parsimPack(b);}
482 inline void doUnpacking(cCommBuffer *b, SendAllStrategyCall& obj) {obj.parsimUnpack(b);}
483 
494 {
495  protected:
497 
498  private:
499  void copy(const RemoveRandomStrategyCall& other);
500 
501  protected:
502  // protected and unimplemented operator==(), to prevent accidental usage
504 
505  public:
506  RemoveRandomStrategyCall(const char *name=NULL, int kind=0);
508  virtual ~RemoveRandomStrategyCall();
510  virtual RemoveRandomStrategyCall *dup() const {return new RemoveRandomStrategyCall(*this);}
511  virtual void parsimPack(cCommBuffer *b);
512  virtual void parsimUnpack(cCommBuffer *b);
513 
514  // field getter/setter methods
515  virtual CoordDataContainer& getCoordData();
516  virtual const CoordDataContainer& getCoordData() const {return const_cast<RemoveRandomStrategyCall*>(this)->getCoordData();}
517  virtual void setCoordData(const CoordDataContainer& coordData);
518 };
519 
520 inline void doPacking(cCommBuffer *b, RemoveRandomStrategyCall& obj) {obj.parsimPack(b);}
521 inline void doUnpacking(cCommBuffer *b, RemoveRandomStrategyCall& obj) {obj.parsimUnpack(b);}
522 
533 {
534  protected:
536 
537  private:
538  void copy(const TreeTestStrategyCall& other);
539 
540  protected:
541  // protected and unimplemented operator==(), to prevent accidental usage
542  bool operator==(const TreeTestStrategyCall&);
543 
544  public:
545  TreeTestStrategyCall(const char *name=NULL, int kind=0);
547  virtual ~TreeTestStrategyCall();
549  virtual TreeTestStrategyCall *dup() const {return new TreeTestStrategyCall(*this);}
550  virtual void parsimPack(cCommBuffer *b);
551  virtual void parsimUnpack(cCommBuffer *b);
552 
553  // field getter/setter methods
554  virtual int getNodeCount() const;
555  virtual void setNodeCount(int nodeCount);
556 };
557 
558 inline void doPacking(cCommBuffer *b, TreeTestStrategyCall& obj) {obj.parsimPack(b);}
559 inline void doUnpacking(cCommBuffer *b, TreeTestStrategyCall& obj) {obj.parsimUnpack(b);}
560 
571 {
572  protected:
574 
575  private:
576  void copy(const RegionsStrategyCall& other);
577 
578  protected:
579  // protected and unimplemented operator==(), to prevent accidental usage
580  bool operator==(const RegionsStrategyCall&);
581 
582  public:
583  RegionsStrategyCall(const char *name=NULL, int kind=0);
585  virtual ~RegionsStrategyCall();
587  virtual RegionsStrategyCall *dup() const {return new RegionsStrategyCall(*this);}
588  virtual void parsimPack(cCommBuffer *b);
589  virtual void parsimUnpack(cCommBuffer *b);
590 
591  // field getter/setter methods
593  virtual const RegionDataContainer& getRegionData() const {return const_cast<RegionsStrategyCall*>(this)->getRegionData();}
594  virtual void setRegionData(const RegionDataContainer& regionData);
595 };
596 
597 inline void doPacking(cCommBuffer *b, RegionsStrategyCall& obj) {obj.parsimPack(b);}
598 inline void doUnpacking(cCommBuffer *b, RegionsStrategyCall& obj) {obj.parsimUnpack(b);}
599 
610 {
611  protected:
613 
614  private:
615  void copy(const SimpleCoordStrategyCall& other);
616 
617  protected:
618  // protected and unimplemented operator==(), to prevent accidental usage
619  bool operator==(const SimpleCoordStrategyCall&);
620 
621  public:
622  SimpleCoordStrategyCall(const char *name=NULL, int kind=0);
624  virtual ~SimpleCoordStrategyCall();
626  virtual SimpleCoordStrategyCall *dup() const {return new SimpleCoordStrategyCall(*this);}
627  virtual void parsimPack(cCommBuffer *b);
628  virtual void parsimUnpack(cCommBuffer *b);
629 
630  // field getter/setter methods
632  virtual const SimpleCoordDataContainer& getCoordData() const {return const_cast<SimpleCoordStrategyCall*>(this)->getCoordData();}
633  virtual void setCoordData(const SimpleCoordDataContainer& coordData);
634 };
635 
636 inline void doPacking(cCommBuffer *b, SimpleCoordStrategyCall& obj) {obj.parsimPack(b);}
637 inline void doUnpacking(cCommBuffer *b, SimpleCoordStrategyCall& obj) {obj.parsimUnpack(b);}
638 
649 {
650  protected:
652 
653  private:
654  void copy(const AreaDataCall& other);
655 
656  protected:
657  // protected and unimplemented operator==(), to prevent accidental usage
658  bool operator==(const AreaDataCall&);
659 
660  public:
661  AreaDataCall(const char *name=NULL, int kind=0);
662  AreaDataCall(const AreaDataCall& other);
663  virtual ~AreaDataCall();
664  AreaDataCall& operator=(const AreaDataCall& other);
665  virtual AreaDataCall *dup() const {return new AreaDataCall(*this);}
666  virtual void parsimPack(cCommBuffer *b);
667  virtual void parsimUnpack(cCommBuffer *b);
668 
669  // field getter/setter methods
670  virtual AreaDataContainer& getAreaData();
671  virtual const AreaDataContainer& getAreaData() const {return const_cast<AreaDataCall*>(this)->getAreaData();}
672  virtual void setAreaData(const AreaDataContainer& areaData);
673 };
674 
675 inline void doPacking(cCommBuffer *b, AreaDataCall& obj) {obj.parsimPack(b);}
676 inline void doUnpacking(cCommBuffer *b, AreaDataCall& obj) {obj.parsimUnpack(b);}
677 
688 {
689  protected:
690 
691  private:
692  void copy(const CapReqCall& other);
693 
694  protected:
695  // protected and unimplemented operator==(), to prevent accidental usage
696  bool operator==(const CapReqCall&);
697 
698  public:
699  CapReqCall(const char *name=NULL, int kind=0);
700  CapReqCall(const CapReqCall& other);
701  virtual ~CapReqCall();
702  CapReqCall& operator=(const CapReqCall& other);
703  virtual CapReqCall *dup() const {return new CapReqCall(*this);}
704  virtual void parsimPack(cCommBuffer *b);
705  virtual void parsimUnpack(cCommBuffer *b);
706 
707  // field getter/setter methods
708 };
709 
710 inline void doPacking(cCommBuffer *b, CapReqCall& obj) {obj.parsimPack(b);}
711 inline void doUnpacking(cCommBuffer *b, CapReqCall& obj) {obj.parsimUnpack(b);}
712 
723 {
724  protected:
726 
727  private:
728  void copy(const CapReqResponse& other);
729 
730  protected:
731  // protected and unimplemented operator==(), to prevent accidental usage
732  bool operator==(const CapReqResponse&);
733 
734  public:
735  CapReqResponse(const char *name=NULL, int kind=0);
736  CapReqResponse(const CapReqResponse& other);
737  virtual ~CapReqResponse();
738  CapReqResponse& operator=(const CapReqResponse& other);
739  virtual CapReqResponse *dup() const {return new CapReqResponse(*this);}
740  virtual void parsimPack(cCommBuffer *b);
741  virtual void parsimUnpack(cCommBuffer *b);
742 
743  // field getter/setter methods
744  virtual AreaDataContainer& getAreaData();
745  virtual const AreaDataContainer& getAreaData() const {return const_cast<CapReqResponse*>(this)->getAreaData();}
746  virtual void setAreaData(const AreaDataContainer& areaData);
747 };
748 
749 inline void doPacking(cCommBuffer *b, CapReqResponse& obj) {obj.parsimPack(b);}
750 inline void doUnpacking(cCommBuffer *b, CapReqResponse& obj) {obj.parsimUnpack(b);}
751 
752 
753 #endif // _TREEMANAGEMENTMESSAGE_M_H_