VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sendTextMessageCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 #pragma once
8 
10 #include "vrfplan/simCommand.h"
11 #include <readerWriter/rwString.h>
12 #include <vrfutil/rwUUID.h>
13 
16 {
17 public:
20 
22  DtSendTextMessageCommand(const DtString& writeName,
23  DtReaderWriterRegistry* parentRegistry = NULL);
24 
26  DtSendTextMessageCommand(const DtString & writeName, const DtSendTextMessageCommand& orig,
27  DtReaderWriterRegistry* parentRegistry = NULL);
28 
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
34  virtual ~DtSendTextMessageCommand();
35 
38 
40  const DtSimCommandMessageType& type() const;
41 
43  virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry *
44  parentRegistry = 0) const;
45 
47 
48  virtual const DtUUID& uuid() const;
49  virtual void setUUID(const DtUUID& name);
51 
54  virtual const DtString& textMessage() const;
55  virtual void setTextMessage(const DtString&);
57 
59  virtual DtString stringRep() const;
60 
62  virtual int netRepSize() const;
63 
65  virtual bool setFromNet(const char* contentBuffer,
66  unsigned contentSize);
67 
69  virtual bool setToNet();
70 
72  static DtSimCommand* creator();
73 
74 protected:
77 };

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)