VR-Forces Development_Version 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
conditionalLogic.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtConditionalLogic.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <
vrvUtil/signalslib.h
>
17
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
18
19
namespace
makVrv
20
{
21
class
DtDe;
22
}
23
24
class
DtSimStatement
;
25
26
namespace
makVrf
27
{
28
class
DtConditionalDialogInterface;
29
class
DtConditionalExpressionInterface;
30
31
class
DT_DLL_VRFGUICOREQT
DtConditionalLogic
32
{
33
public
:
34
36
DtConditionalLogic
(
makVrv::DtDe
& de,
DtConditionalDialogInterface
* iface);
37
39
virtual
~
DtConditionalLogic
();
40
41
virtual
void
accept();
42
virtual
void
cancel();
43
44
boost::signal<void (const DtSimStatement&)>
signal_addConditional
;
45
47
virtual
DtSimStatement
* conditionalStatement() = 0;
48
49
protected
:
50
virtual
void
slot_onExpressionDestroyed(
DtConditionalExpressionInterface
*);
51
virtual
void
slot_onExpressionCreated(
DtConditionalExpressionInterface
*);
52
53
protected
:
54
makVrv::DtDe
&
myDe
;
55
DtConditionalDialogInterface
*
myInterface
;
56
};
57
58
class
DT_DLL_VRFGUICOREQT
DtIfConditionalLogic
:
public
DtConditionalLogic
59
{
60
public
:
61
63
DtIfConditionalLogic
(
makVrv::DtDe
& de,
DtConditionalDialogInterface
* iface);
64
66
virtual
~
DtIfConditionalLogic
();
67
69
virtual
DtSimStatement
* conditionalStatement();
70
};
71
72
class
DT_DLL_VRFGUICOREQT
DtWhenConditionalLogic
:
public
DtConditionalLogic
73
{
74
public
:
75
77
DtWhenConditionalLogic
(
makVrv::DtDe
& de,
DtConditionalDialogInterface
* iface);
78
80
virtual
~
DtWhenConditionalLogic
();
81
83
virtual
DtSimStatement
* conditionalStatement();
84
};
85
86
class
DT_DLL_VRFGUICOREQT
DtWhileConditionalLogic
:
public
DtConditionalLogic
87
{
88
public
:
89
91
DtWhileConditionalLogic
(
makVrv::DtDe
& de,
DtConditionalDialogInterface
* iface);
92
94
virtual
~
DtWhileConditionalLogic
();
95
97
virtual
DtSimStatement
* conditionalStatement();
98
};
99
}
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)