VR-Forces 4.10 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
simulationObjectEditorImpl
simulationObjectEditorCreateHandler.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
#pragma once
9
10
#include "
simulationObjectEditorImpl/simulationObjectEditorImplDefines.h
"
11
#include "
vrfutil/rwNLengthStringVector.h
"
12
#include <
vrvUtil/DtVirtualBaseClass.h
>
13
#include <
vrvUtil/DtUnicode.h
>
14
#include <
vrfExtProtocol/objectType.h
>
15
16
#include <QObject>
17
18
class
DtVrfObjectParameters
;
19
class
DtModelSetEntry
;
20
21
class
DT_DLL_simulationObjectEditorimpl
DtSimulationObjectEditorCreateHandler
:
public
QObject
,
22
public
makVrv::DtVirtualBaseClass
23
{
24
Q_OBJECT
25
26
public
:
27
29
DtSimulationObjectEditorCreateHandler
(
makVrv::DtDe
&);
30
32
virtual
~
DtSimulationObjectEditorCreateHandler
();
33
34
public
:
36
static
DtSimulationObjectEditorCreateHandler
& instance(
makVrv::DtDe
&);
37
static
void
registerInstance(
makVrv::DtDe
&,
DtSimulationObjectEditorCreateHandler
*);
38
39
virtual
QWidget* createDialog(QWidget* parent,
int
onlyForKind = -1);
40
virtual
void
showDialog(
bool
);
41
42
public
slots:
43
virtual
DtModelSetEntry
* createNewEntity(
const
DtString
& parameterType,
44
DtObjectType
base,
const
DtString
& name,
45
const
DtRwNLengthStringVector
& categories =
DtRwNLengthStringVector
(
"categories"
),
46
const
makVrv::DtUnicode
& elementDefinition =
makVrv::DtUnicode::fromAscii
(
""
));
47
virtual
DtModelSetEntry
* createFromExisting(
const
DtObjectType
& base,
48
const
DtRwNLengthStringVector
& categories =
DtRwNLengthStringVector
(
"categories"
));
49
virtual
DtModelSetEntry
* createNewSimulationObjectGroupFromExisting(
const
DtObjectType
& base,
50
const
DtRwNLengthStringVector
& categories =
DtRwNLengthStringVector
(
"categories"
));
51
52
virtual
DtModelSetEntry
* inheritFromExisting(
const
DtObjectType
& base,
53
const
DtRwNLengthStringVector
& categories =
DtRwNLengthStringVector
(
"categories"
));
54
55
protected
:
56
makVrv::DtDe
&
myDe
;
57
QWidget*
myEventDlg
;
58
};
DtVrfObjectParameters
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition:
vrfObjectParameters.h:59
DtUnicode.h
makVrv::DtVirtualBaseClass
Virtual base class.
Definition:
DtVirtualBaseClass.h:19
makVrv::DtUnicode
A unicode string.
Definition:
DtUnicode.h:33
DtRwNLengthStringVector
DtRwNLengthStringVector is a named, readable/writable vector of strings of arbitrary length...
Definition:
rwNLengthStringVector.h:28
DtSimulationObjectEditorCreateHandler
Definition:
simulationObjectEditorCreateHandler.h:21
DtObjectType
Definition:
objectType.h:27
DtModelSetEntry
Description: A model is a set of items that defines a model to create in the back-end from the front-...
Definition:
modelSetEntry.h:24
DtVirtualBaseClass.h
Contains makVrv::DtVirtualBaseClass class.
DtSimulationObjectEditorCreateHandler::myEventDlg
QWidget * myEventDlg
Definition:
simulationObjectEditorCreateHandler.h:57
DtSimulationObjectEditorCreateHandler::myDe
makVrv::DtDe & myDe
Definition:
simulationObjectEditorCreateHandler.h:56
simulationObjectEditorImplDefines.h
objectType.h
rwNLengthStringVector.h
QObject
makVrv::DtDe
The DtDe is the core component of any VR-Vantage application.
Definition:
DtDe.h:69
DtString
makVrv::DtUnicode::fromAscii
static DtUnicode fromAscii(const std::string &ascii)
Create a unicode string from an ascii string, the string MUST be zero terminated if the length is not...
DT_DLL_simulationObjectEditorimpl
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition:
simulationObjectEditorImplDefines.h:32
Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (
www.mak.com
)