VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifEmbarkationSlotInformationResponse.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include "vrfmsgs/vrfmsgsDefines.h"
14 #include "vrfmsgs/messageTypes.h"
15 #include "vrfutil/rwUUID.h"
16 
17 #include <map>
18 
20 
22 {
23 public:
24 
26  {
31  bool myOccupied;
33  };
34 
35  typedef std::map<int, SlotInformation> SlotInformationMap;
36 
37 public:
40 
43 
46 
48 
49  virtual int type() const;
50 
51  virtual DtSimInterfaceContent* clone() const;
52 
53  virtual int netRepSize() const;
54  virtual bool setFromNet(const char* contentBuffer,
55  unsigned contentSize);
56  virtual bool setToNet();
57 
58  virtual void printDataToString(DtString& str);
59 
60  static DtSimInterfaceContent* creator();
61 
62  virtual void setUUID(const DtUUID&);
63  virtual const DtUUID& uuid() const;
64 
65  virtual void setRequestId(int);
66  virtual int requestId() const;
67 
68  virtual void addSlotInformation(int slot, const SlotInformation&);
69  const SlotInformationMap& slotInformationMap() const
70  {
71  return mySlotInformationMap;
72  }
73 
74  SlotInformationMap& slotInformationMap()
75  {
76  return mySlotInformationMap;
77  }
78 
79 protected:
83 };
84 
85 namespace DtBufferSerialize
86 {
90 
92  DT_DLL_vrfmsgs const char* decode(DtRangedObjectType&, const char* buffer);
93  DT_DLL_vrfmsgs char* encode(const DtRangedObjectType&, char* buffer);
94 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)