VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
consoleMessageCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #ifndef consoleMessageCommand_h
12 #define consoleMessageCommand_h
13 
14 #include "vrfplan/simCommand.h"
15 #include "vrfplan/vrfplanDefines.h"
16 #include "vrfutil/rwString.h"
17 #include "vrfutil/rwInt.h"
18 #include <vlutil/vlPrint.h>
19 
25 {
26 public:
29 
31  DtConsoleMessageCommand(const DtString& writeName,
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
35  DtConsoleMessageCommand(const DtString & writeName, const DtConsoleMessageCommand& orig,
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
39  virtual ~DtConsoleMessageCommand();
40 
43 
45  virtual const DtSimCommandMessageType& type() const;
46 
48  virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry *
49  parentRegistry = 0) const;
50 
52 
53  virtual DtString messageText() const;
54  virtual void setMessageText(const DtString& text);
56 
61 
62  virtual DtNotifyLevelType notifyLevel() const;
63  virtual void setNotifyLevel(DtNotifyLevelType level);
65 
67  virtual DtString stringRep() const;
68 
70  virtual int netRepSize() const;
71 
73  virtual bool setFromNet(const char* contentBuffer,
74  unsigned contentSize);
75 
77  virtual bool setToNet();
78 
80  static DtSimCommand* creator();
81 
82 protected:
85 };
86 
87 #endif

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)