VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
deleteObjectCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
12 #include "vrfplan/simCommand.h"
13 #include "vrfplan/vrfplanDefines.h"
14 #include <readerWriter/rwString.h>
15 #include <vrfutil/rwUUID.h>
16 
19 {
20 public:
23 
25  DtDeleteObjectCommand(const DtString& writeName,
26  DtReaderWriterRegistry* parentRegistry = NULL);
27 
29  DtDeleteObjectCommand(const DtString & writeName, const DtDeleteObjectCommand& orig,
30  DtReaderWriterRegistry* parentRegistry = NULL);
31 
34  DtReaderWriterRegistry* parentRegistry = NULL);
35 
37  virtual ~DtDeleteObjectCommand();
38 
41 
43  const DtSimCommandMessageType& type() const;
44 
46  virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry *
47  parentRegistry = 0) const;
48 
50 
51  virtual const DtUUID& uuid() const;
52  virtual void setUUID(const DtUUID& name);
54 
58  virtual bool doDeleteSelf() const;
59  virtual void setDoDeleteSelf(const bool doDelete);
61 
63  virtual DtString stringRep() const;
64 
66  virtual int netRepSize() const;
67 
69  virtual bool setFromNet(const char* contentBuffer,
70  unsigned contentSize);
71 
73  virtual bool setToNet();
74 
76  virtual void setAndRemoveFromOrbat(bool);
77  virtual bool andRemoveFromOrbat() const;
78 
80  static DtSimCommand* creator();
81 
82 protected:
86 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)