VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifEmbarkationEgressPointsResponse.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 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  {
27  std::vector<DtVector> myPointPositions;
28  };
29 
30  typedef std::map<int, EgressPointInformation> EgressPointInformationMap;
31 
32 public:
35 
38 
41 
43 
44  virtual int type() const;
45 
46  virtual DtSimInterfaceContent* clone() const;
47 
48  virtual int netRepSize() const;
49  virtual bool setFromNet(const char* contentBuffer,
50  unsigned contentSize);
51  virtual bool setToNet();
52 
53  virtual void printDataToString(DtString& str);
54 
55  static DtSimInterfaceContent* creator();
56 
57  virtual void setUUID(const DtUUID&);
58  virtual const DtUUID& uuid() const;
59 
60  virtual void setRequestId(int);
61  virtual int requestId() const;
62 
63  virtual void addEgressPointInformation(int slot, const EgressPointInformation&);
65  {
66  return myPointInformationMap;
67  }
68 
70  {
71  return myPointInformationMap;
72  }
73 
74 protected:
78 };
79 
80 namespace DtBufferSerialize
81 {
85 
86  //DT_DLL_vrfmsgs int getSize(const DtRangedObjectType&);
87  //DT_DLL_vrfmsgs const char* decode(DtRangedObjectType&, const char* buffer);
88  //DT_DLL_vrfmsgs char* encode(const DtRangedObjectType&, char* buffer);
89 }
UUID is a unique ID wrapper class.
Definition: rwUUID.h:226
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
DT_DLL_readerWriter int getSize(const DtString &val)
The number of bytes required to encode the value.
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual int type() const =0
DtUUID myUUID
Definition: ifEmbarkationEgressPointsResponse.h:75
std::map< int, EgressPointInformation > EgressPointInformationMap
Definition: ifEmbarkationEgressPointsResponse.h:30
Contains the DtUUID class declaration.
std::vector< DtVector > myPointPositions
Definition: ifEmbarkationEgressPointsResponse.h:27
virtual void printDataToString(DtString &str)
EgressPointInformationMap myPointInformationMap
Definition: ifEmbarkationEgressPointsResponse.h:77
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
int myRequestId
Definition: ifEmbarkationEgressPointsResponse.h:76
Definition: ifEmbarkationEgressPointsResponse.h:25
Interface content for containing the responses to an embarkation egress point request.
Definition: ifEmbarkationEgressPointsResponse.h:21
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
EgressPointInformationMap & egressPointInformationMap()
Definition: ifEmbarkationEgressPointsResponse.h:69
virtual bool setToNet()
Definition: simInterfaceContent.h:83
const EgressPointInformationMap & egressPointInformationMap() const
Definition: ifEmbarkationEgressPointsResponse.h:64
Definition: simInterfaceContent.h:45
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
virtual DtSimInterfaceContent * clone() const =0

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)