VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
noopCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 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 
18 {
19 public:
21  DtNoopCommand();
22 
24  DtNoopCommand(const DtString& writeName,
25  DtReaderWriterRegistry* parentRegistry = NULL);
26 
28  DtNoopCommand(const DtString & writeName, const DtNoopCommand& orig,
29  DtReaderWriterRegistry* parentRegistry = NULL);
30 
32  virtual ~DtNoopCommand();
33 
36 
38  virtual const DtSimCommandMessageType& type() const;
39 
41  virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry *
42  parentRegistry = 0) const;
43 
45  virtual DtString stringRep() const;
46 
48  virtual int netRepSize() const;
49 
51  virtual bool setFromNet(const char* contentBuffer,
52  unsigned contentSize);
53 
55  virtual bool setToNet();
56 
58  static DtSimCommand* creator();
59 
60 protected:
61 };
62 
virtual bool setToNet()
Calls netRep() to create the network buffer.
virtual DtString stringRep() const =0
Returns a human-readable string representation of the command.
Definition: readerWriterRegistry.h:39
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
DtSimCommand which does nothing.
Definition: noopCommand.h:17
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

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)