VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
simulationCommandLaunchGlobalPlan.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
14
#include <
vrfGuiCoreQt/simulationCommandDialogInterface.h
>
15
16
class
DtLaunchGlobalPlanCommand
;
17
18
namespace
makVrf
19
{
20
class
DT_DLL_VRFGUICOREQT
DtLaunchGlobalPlanWrapper
:
public
DtSimCommandObjectWrapper
21
{
22
public
:
23
DtLaunchGlobalPlanWrapper
(
makVrv::DtDe
&,
const
DtLaunchGlobalPlanCommand
&);
24
DtLaunchGlobalPlanWrapper
(
const
DtLaunchGlobalPlanWrapper
&);
25
26
virtual
void
setObject(
const
DtUUID
&);
27
virtual
DtUUID
object()
const
;
28
29
virtual
DtSimCommandObjectWrapper
* clone()
const
;
30
};
31
32
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandLaunchGlobalPlanDialog
:
public
DtSimulationCommandDialogInterface
33
{
34
Q_OBJECT
35
public
:
36
//CTOR
37
DtSimulationCommandLaunchGlobalPlanDialog
(
makVrv::DtDe
& de,
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
38
39
//DTOR
40
virtual
~
DtSimulationCommandLaunchGlobalPlanDialog
();
41
42
protected
:
43
virtual
void
onCancel()
44
{
45
}
46
47
virtual
bool
hasUserEntry
()
const
{
return
false
; };
48
virtual
void
sendRequest();
49
50
virtual
bool
allowBroadcasting()
const
51
{
52
return
false
;
53
}
54
55
virtual
std::vector<std::string> commandDialogFiltersFor(
const
std::vector<makVrv::DtSimEntry*>& data,
const
DtSimStatement
* stmt,
56
int
& initialSelection)
const
;
57
58
protected
:
59
virtual
void
run(
const
std::vector<makVrv::DtSimEntry*>&);
60
virtual
bool
editStatement(
const
std::vector<makVrv::DtSimEntry*>& data,
const
DtSimStatement
* s);
61
};
62
63
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandLaunchGlobalPlanCreator
:
public
DtVrfSimulationCommandDialogCreator
64
{
65
public
:
66
virtual
DtSimulationCommandDialogInterface
* create(
makVrv::DtDe
&,
QWidget
* parent);
67
virtual
bool
supportsType(
makVrv::DtDe
&,
const
DtSimCommandMessageType
&,
const
DtSimStatement
*)
const
;
68
virtual
DtUUID
objectFromStatement(
makVrv::DtDe
&,
const
DtSimCommand
*)
const
;
69
};
70
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)