VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
launchGlobalPlanCommand.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  DtLaunchGlobalPlanCommand(const DtString& writeName,
26  DtReaderWriterRegistry* parentRegistry = NULL);
27 
29  DtLaunchGlobalPlanCommand(const DtString & writeName, const DtLaunchGlobalPlanCommand& orig,
30  DtReaderWriterRegistry* parentRegistry = NULL);
31 
34  DtReaderWriterRegistry* parentRegistry = NULL);
35 
37  virtual ~DtLaunchGlobalPlanCommand();
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 
56  virtual DtString stringRep() const;
57 
59  virtual int netRepSize() const;
60 
62  virtual bool setFromNet(const char* contentBuffer,
63  unsigned contentSize);
64 
66  virtual bool setToNet();
67 
69  static DtSimCommand* creator();
70 
71 protected:
73 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
DtSimCommand subclass for launching a named global plan.
Definition: launchGlobalPlanCommand.h:18
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
DtRwUUID myUUID
Definition: launchGlobalPlanCommand.h:72
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)