VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCommon
createObjectMenuItem.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2000 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: createObjectMenuItem.h,v $ $Revision: 1.3 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef CREATEOBJECTMENUITEM_H
13
#define CREATEOBJECTMENUITEM_H
14
15
#include "
vrfGuiCommon/menuItem.h
"
16
17
#include "
vrfutil/rwObjType.h
"
18
#include "
vrfutil/rwForce.h
"
19
23
24
#include "
vrfGuiCommon/vrfGuiCommonDefines.h
"
25
class
DT_DLL_vrfGuiCommon
DtCreateObjectMenuItem
:
public
DtMenuItem
26
{
27
28
public
:
29
31
DtCreateObjectMenuItem
32
(
33
const
DtString
& name,
34
DtReaderWriterRegistry
*
const
parentRegistry = NULL
35
);
36
38
virtual
~
DtCreateObjectMenuItem
();
39
41
DtCreateObjectMenuItem
(
const
DtCreateObjectMenuItem
& orig);
42
44
DtCreateObjectMenuItem
&
operator=
(
const
DtCreateObjectMenuItem
& orig);
45
46
virtual
DtObjectType
objectType()
const
;
47
void
setObjectType(
const
DtObjectType
&);
48
49
virtual
DtForceType forceType()
const
;
50
void
setForceType(DtForceType);
51
52
virtual
bool
operator==
(
const
DtMenuEntry
&)
const
;
53
54
virtual
DtMenuEntry
*
clone
()
const
;
55
56
protected
:
57
58
DtRwObjectType
myObjectType
;
59
DtRwForceType
myForceType
;
60
};
61
62
inline
void
DtCreateObjectMenuItem::setObjectType
(
const
DtObjectType
& o)
63
{
64
myObjectType
= o;
65
}
66
67
inline
void
DtCreateObjectMenuItem::setForceType
(DtForceType f)
68
{
69
myForceType
= f;
70
}
71
72
#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
)