VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
abandonPlanCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 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 #include <vrfutil/rwUUID.h>
14 
25 #include "vrfplan/vrfplanDefines.h"
27 {
28 public:
29 
32 
34  DtAbandonPlanCommand(const DtString& writeName,
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
38  DtAbandonPlanCommand(const DtString & writeName, const DtAbandonPlanCommand& orig,
39  DtReaderWriterRegistry* parentRegistry = NULL);
40 
42  virtual ~DtAbandonPlanCommand();
43 
46 
49 
51  virtual const DtSimCommandMessageType& type() const;
52 
54  virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry *
55  parentRegistry = 0) const;
56 
58 
59  virtual const DtUUID & uuid() const;
60  virtual void setUUID(const DtUUID & name);
62 
63  virtual int netRepSize() const;
64  virtual bool setFromNet(const char* contentBuffer,
65  unsigned contentSize);
66  virtual bool setToNet();
67 
69  virtual DtString stringRep() const;
70 
71  static DtSimCommand* creator();
72 
73 protected:
75 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
virtual bool setToNet()
Calls netRep() to create the network buffer.
DtRwUUID myUUID
Definition: abandonPlanCommand.h:74
virtual DtString stringRep() const =0
Returns a human-readable string representation of the command.
Definition: readerWriterRegistry.h:39
class DtAbandonPlanCommand:
Definition: abandonPlanCommand.h:26
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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)