VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
stealthCommandCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrfplan/simCommand.h"
14 #include "vrfplan/vrfplanDefines.h"
15 #include <readerWriter/rwString.h>
16 #include "vrfutil/rwTaitBryan.h"
18 #include "readerWriter/rwVector.h"
19 
23 {
24 public:
25 
28 
30  DtStealthCommandCommand(const DtString& writeName,
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
34  DtStealthCommandCommand(const DtString & writeName, const DtStealthCommandCommand& orig,
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
39  DtReaderWriterRegistry* parentRegistry = NULL);
40 
42  virtual ~DtStealthCommandCommand();
43 
46 
47  bool operator==(const DtStealthCommandCommand&) const;
48 
49  virtual DtString stringRep() const;
50 
51  static DtSimCommand* creator();
52 
54  virtual const DtSimCommandMessageType& type() const;
55 
57  virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry *
58  parentRegistry = 0) const;
59 
60  virtual int netRepSize() const;
61  virtual bool setFromNet(const char* contentBuffer,
62  unsigned contentSize);
63  virtual bool setToNet();
64 
68  virtual void setStealthCommand(const DtString&);
69  virtual const DtString& stealthCommand() const;
71 
77  virtual DtRwVariableBindings& variables();
78  virtual const DtRwVariableBindings& variables() const;
79 
80  virtual void setVariables(const DtRwVariableBindings&);
81 
83  virtual void addVariable(const DtReaderWriter&);
84 
86  virtual void removeVariable(const DtString&);
88 
89 protected:
92 };
bool operator==(const DtReaderWriter &) const
Equivalence operator.
DtRwString myStealthCommand
Definition: stealthCommandCommand.h:90
virtual bool setToNet()
Calls netRep() to create the network buffer.
Definition: readerWriter.h:85
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
virtual DtString stringRep() const =0
Returns a human-readable string representation of the command.
Definition: readerWriterRegistry.h:39
ReaderWriter object that maintains a list of reader-writer variable bindings.
Definition: rwVariableBindings.h:27
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubsimCommand member from the incoming contentBuffer (cast to type DtNetSimSimCommand).
const DtSimCommand & operator=(const DtSimCommand &orig)
assignment operator; same as copy constructor
DtSimCommand is an abstract base class from which commands can derive.
Definition: simCommand.h:32
virtual DtSimCommand * clone() const
Version of clone that preserves the existing name, and assigns a null parent registry.
virtual const DtSimCommandMessageType & type() const =0
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
DtRwVariableBindings myVariables
Definition: stealthCommandCommand.h:91
File: rwVector.h.
A DtSimCommand subclass which specifies how to manipulate the stealth for a particular front-end or a...
Definition: stealthCommandCommand.h:22

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)