VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifStealthCommandsResponse.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfmsgs/vrfmsgsDefines.h"
12 #include "vrfmsgs/messageTypes.h"
14 #include "vrfutil/stealthCommand.h"
15 
19 
21 {
22 public:
25 
28 
31 
32  virtual ~DtIfStealthCommandsResponse();
33 
34  virtual int type() const;
35 
36  virtual DtSimInterfaceContent* clone() const;
37 
38  virtual int netRepSize() const;
39  virtual bool setFromNet(const char* contentBuffer,
40  unsigned contentSize);
41  virtual bool setToNet();
42 
43  virtual void printDataToString(DtString& str);
44 
45  static DtSimInterfaceContent* creator();
46 
48  virtual void setResponseId(unsigned long);
49  unsigned long responseId() const
50  {
51  return myResponseId;
52  }
53 
54  virtual void addStealthCommand(const DtStealthCommand&);
55  virtual void clearStealthCommands();
56  virtual void setStealthCommands(const DtStealthCommands&);
58  {
59  return myStealthCommands;
60  }
61 
62 protected:
63  DtU32 myResponseId;
65 };
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
unsigned long responseId() const
Definition: ifStealthCommandsResponse.h:49
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual int type() const =0
std::vector< DtStealthCommand > DtStealthCommands
Definition: stealthCommand.h:100
virtual void printDataToString(DtString &str)
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
DtStealthCommands myStealthCommands
Definition: ifStealthCommandsResponse.h:64
Interface content for containing the responses to a request for the current stealth commands availabl...
Definition: ifStealthCommandsResponse.h:20
DtU32 myResponseId
Definition: ifStealthCommandsResponse.h:63
const DtStealthCommands & stealthCommands() const
Definition: ifStealthCommandsResponse.h:57
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
virtual DtSimInterfaceContent * clone() const =0
The DtStealthCommand is an instance of a stealth command and variables that are used to satisfy the s...
Definition: stealthCommand.h:22

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)