VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifOrbatResponseMessage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
8 #pragma once
9 
10 #include "vrfmsgs/vrfmsgsDefines.h"
11 #include "vrfmsgs/messageTypes.h"
15 
20 
22 {
23 public:
26 
29 
32 
33  virtual ~DtIfOrbatResponseMessage();
34 
36  virtual int type() const;
37 
38  virtual DtSimInterfaceContent * clone() const;
39 
40  virtual int netRepSize() const;
41  virtual bool setFromNet(const char* contentBuffer,
42  unsigned contentSize);
43  virtual bool setToNet();
44 
45  virtual void printDataToString(DtString& str);
46 
47  static DtSimInterfaceContent* creator();
48 
50  virtual DtU32 responseId() const;
51  virtual void setResponseId(DtU32);
52 
53  virtual void addOrbatData(const DtRwOrbatData&);
54  virtual void setOrbatData(const DtOrbatDataList&);
55  virtual const DtOrbatDataList& orbatData() const;
56 
57 protected:
58  DtU32 myResponseId;
60 
61  mutable DtU32 myUncompressedSize;
62  mutable DtU32 myCompressedSize;
63  mutable bool myCompressed;
64  mutable const char* myCompressedBuffer;
65 };
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
std::vector< DtRwOrbatData > DtOrbatDataList
Definition: rwOrbatData.h:93
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual int type() const =0
DtOrbatDataList myOrbatData
Definition: ifOrbatResponseMessage.h:59
DtU32 myUncompressedSize
Definition: ifOrbatResponseMessage.h:61
const char * myCompressedBuffer
Definition: ifOrbatResponseMessage.h:64
virtual void printDataToString(DtString &str)
DtU32 myCompressedSize
Definition: ifOrbatResponseMessage.h:62
Definition: rwOrbatData.h:20
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
bool myCompressed
Definition: ifOrbatResponseMessage.h:63
DtU32 myResponseId
Definition: ifOrbatResponseMessage.h:58
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
Definition: ifOrbatResponseMessage.h:21
virtual DtSimInterfaceContent * clone() const =0

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)