VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfplan
deleteObjectCommand.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 deleteObjectCommand_h
12
#define deleteObjectCommand_h
13
14
15
#include "
vrfplan/simCommand.h
"
16
#include "
vrfplan/vrfplanDefines.h
"
17
#include "
vrfutil/rwString.h
"
18
20
class
DT_DLL_vrfplan
DtDeleteObjectCommand
:
public
DtSimCommand
21
{
22
public
:
24
DtDeleteObjectCommand
();
25
27
DtDeleteObjectCommand
(
const
DtString
& writeName,
28
DtReaderWriterRegistry
* parentRegistry = NULL);
29
31
DtDeleteObjectCommand
(
const
DtString
& writeName,
const
DtDeleteObjectCommand
& orig,
32
DtReaderWriterRegistry
* parentRegistry = NULL);
33
35
DtDeleteObjectCommand
(
const
DtDeleteObjectCommand
&orig,
36
DtReaderWriterRegistry
* parentRegistry = NULL);
37
39
virtual
~
DtDeleteObjectCommand
();
40
42
DtDeleteObjectCommand
&
operator=
(
const
DtDeleteObjectCommand
& orig);
43
45
const
DtSimCommandMessageType
&
type
()
const
;
46
48
virtual
DtSimCommand
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
49
parentRegistry = 0)
const
;
50
52
53
virtual
DtString
objectName()
const
;
54
virtual
void
setObjectName(
const
DtString
& name);
56
60
virtual
bool
doDeleteSelf()
const
;
61
virtual
void
setDoDeleteSelf(
const
bool
doDelete);
63
65
virtual
DtString
stringRep
()
const
;
66
68
virtual
int
netRepSize
()
const
;
69
71
virtual
bool
setFromNet
(
const
char
* contentBuffer,
72
unsigned
contentSize);
73
75
virtual
bool
setToNet
();
76
78
static
DtSimCommand
* creator();
79
80
protected
:
81
DtRwString
myObjectName
;
82
DtRwBoolean
myDeleteSelf
;
83
};
84
85
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)