VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
restartPlanCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfplan/simCommand.h"
12 #include <readerWriter/rwString.h>
13 
24 #include "vrfplan/vrfplanDefines.h"
26 {
27 public:
28 
31 
33  DtRestartPlanCommand(const DtString& writeName,
34  DtReaderWriterRegistry* parentRegistry = NULL);
35 
37  DtRestartPlanCommand(const DtString & writeName, const DtRestartPlanCommand& orig,
38  DtReaderWriterRegistry* parentRegistry = NULL);
39 
41  virtual ~DtRestartPlanCommand();
42 
45 
48 
50  virtual const DtSimCommandMessageType& type() const;
51 
53  virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry *
54  parentRegistry = 0) const;
55 
57 
58  virtual const DtUUID & uuid() const;
59  virtual void setUUID(const DtUUID & name);
61 
62  virtual int netRepSize() const;
63  virtual bool setFromNet(const char* contentBuffer,
64  unsigned contentSize);
65  virtual bool setToNet();
66 
68  virtual DtString stringRep() const;
69 
70  static DtSimCommand* creator();
71 
72 protected:
74 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
class DtRestartPlanCommand:
Definition: restartPlanCommand.h:25
virtual bool setToNet()
Calls netRep() to create the network buffer.
DtRwUUID myUUID
Definition: restartPlanCommand.h:73
virtual DtString stringRep() const =0
Returns a human-readable string representation of the command.
Definition: readerWriterRegistry.h:39
Description: Readable, Writable uuid string.
Definition: rwUUID.h:419
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

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)