OpenASIP  2.0
BreakpointPropertiesDialog.hh
Go to the documentation of this file.
1 /*
2  Copyright (c) 2002-2009 Tampere University.
3 
4  This file is part of TTA-Based Codesign Environment (TCE).
5 
6  Permission is hereby granted, free of charge, to any person obtaining a
7  copy of this software and associated documentation files (the "Software"),
8  to deal in the Software without restriction, including without limitation
9  the rights to use, copy, modify, merge, publish, distribute, sublicense,
10  and/or sell copies of the Software, and to permit persons to whom the
11  Software is furnished to do so, subject to the following conditions:
12 
13  The above copyright notice and this permission notice shall be included in
14  all copies or substantial portions of the Software.
15 
16  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22  DEALINGS IN THE SOFTWARE.
23  */
24 /**
25  * @file BreakpointPropertiesDialog.hh
26  *
27  * Declaration of BreakpointPropertiesDialog class.
28  *
29  * @author Veli-Pekka Jääskeläinen 2005 (vjaaskel-no.spam-cs.tut.fi)
30  * @note rating: red
31  */
32 
33 #ifndef TTA_BREAKPOINT_PROPERTIES_DIALOG_HH
34 #define TTA_BREAKPOINT_PROPERTIES_DIALOG_HH
35 
36 #include <wx/wx.h>
37 #include <wx/spinctrl.h>
38 #include <wx/statline.h>
39 
40 class StopPointManager;
41 
42 /**
43  * Dialog for editing breakpoint properties in Proxim.
44  */
45 class BreakpointPropertiesDialog : public wxDialog {
46 public:
48  wxWindow* parent, StopPointManager& manager, unsigned int handle);
49 
51 private:
52  wxSizer* createContents(wxWindow* parent, bool call_fit, bool set_sizer);
53  virtual bool TransferDataToWindow();
54  void onOK(wxCommandEvent& event);
55  /// Widget IDs.
56  enum {
66  };
67  /// Stoppoint manager containing the breakpoint,
69  /// Handle of the breakpoint to modify.
70  unsigned int handle_;
71 
72  DECLARE_EVENT_TABLE()
73 };
74 #endif
BreakpointPropertiesDialog::~BreakpointPropertiesDialog
virtual ~BreakpointPropertiesDialog()
Definition: BreakpointPropertiesDialog.cc:70
BreakpointPropertiesDialog::ID_LABEL_IGNORE_COUNT
@ ID_LABEL_IGNORE_COUNT
Definition: BreakpointPropertiesDialog.hh:61
BreakpointPropertiesDialog::ID_TEXT_BREAKPOINT
@ ID_TEXT_BREAKPOINT
Definition: BreakpointPropertiesDialog.hh:57
BreakpointPropertiesDialog
Definition: BreakpointPropertiesDialog.hh:45
BreakpointPropertiesDialog::ID_IGNORE_CTRL
@ ID_IGNORE_CTRL
Definition: BreakpointPropertiesDialog.hh:62
BreakpointPropertiesDialog::onOK
void onOK(wxCommandEvent &event)
Definition: BreakpointPropertiesDialog.cc:110
BreakpointPropertiesDialog::TransferDataToWindow
virtual bool TransferDataToWindow()
Definition: BreakpointPropertiesDialog.cc:78
BreakpointPropertiesDialog::handle_
unsigned int handle_
Handle of the breakpoint to modify.
Definition: BreakpointPropertiesDialog.hh:70
BreakpointPropertiesDialog::ID_HELP
@ ID_HELP
Definition: BreakpointPropertiesDialog.hh:64
StopPointManager
Definition: StopPointManager.hh:50
BreakpointPropertiesDialog::ID_LINE
@ ID_LINE
Definition: BreakpointPropertiesDialog.hh:63
BreakpointPropertiesDialog::BreakpointPropertiesDialog
BreakpointPropertiesDialog(wxWindow *parent, StopPointManager &manager, unsigned int handle)
Definition: BreakpointPropertiesDialog.cc:57
BreakpointPropertiesDialog::createContents
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
Definition: BreakpointPropertiesDialog.cc:151
BreakpointPropertiesDialog::ID_CONDITION
@ ID_CONDITION
Definition: BreakpointPropertiesDialog.hh:60
BreakpointPropertiesDialog::ID_TEXT_BP_ID
@ ID_TEXT_BP_ID
Definition: BreakpointPropertiesDialog.hh:58
BreakpointPropertiesDialog::ID_LABEL_CONDITION
@ ID_LABEL_CONDITION
Definition: BreakpointPropertiesDialog.hh:59
BreakpointPropertiesDialog::ID_CLOSE
@ ID_CLOSE
Definition: BreakpointPropertiesDialog.hh:65
BreakpointPropertiesDialog::manager_
StopPointManager & manager_
Stoppoint manager containing the breakpoint,.
Definition: BreakpointPropertiesDialog.hh:68