VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfplan
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 <
readerWriter/rwString.h
>
17
#include <
readerWriter/rwInt.h
>
18
#include <vlutil/vlPrint.h>
19
24
class
DT_DLL_vrfplan
DtConsoleMessageCommand
:
public
DtSimCommand
25
{
26
public
:
28
DtConsoleMessageCommand
();
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
42
DtConsoleMessageCommand
&
operator=
(
const
DtConsoleMessageCommand
& orig);
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
:
83
DtRwString
myMessageText
;
84
DtRwInt
myNotifyLevel
;
85
};
86
87
#endif
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
)