OpenASIP  2.0
HDBEditorConstants.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 HDBEDitorConstants.hh
26  *
27  * Declaration of HDBEditorConstants class.
28  *
29  * @author Veli-Pekka Jääskeläinen 2006 (vjaaskel-no.spam-cs.tut.fi)
30  * @note rating: red
31  */
32 
33 #ifndef TTA_HDB_EDITOR_CONSTANTS_HH
34 #define TTA_HDB_EDITOR_CONSTANTS_HH
35 
36 #include <string>
37 #include <wx/string.h>
38 
39 /**
40  * A Collection of HDBEditor applicationwide constants.
41  */
43 public:
44  enum {
65  };
66 
67  /// Name of the open HDB command.
68  static const std::string COMMAND_NAME_OPEN_HDB;
69  /// Name of the quit command.
70  static const std::string COMMAND_NAME_QUIT;
71  /// Name of the create HDB command.
72  static const std::string COMMAND_NAME_CREATE_HDB;
73  /// Name of the add new fu entry command.
74  static const std::string COMMAND_NAME_ADD_FU_ENTRY;
75  /// Name of the add new rf entry command
76  static const std::string COMMAND_NAME_ADD_RF_ENTRY;
77  /// Name of the add new bus entry command
78  static const std::string COMMAND_NAME_ADD_BUS_ENTRY;
79  /// Name of the add new socket entry command
80  static const std::string COMMAND_NAME_ADD_SOCKET_ENTRY;
81  /// Name of the delete command
82  static const std::string COMMAND_NAME_DELETE;
83  /// Name of the add rf architecture.
84  static const std::string COMMAND_NAME_ADD_RF_ARCHITECTURE;
85  /// Name of the add cost function plugin command.
86  static const std::string COMMAND_NAME_ADD_COST_PLUGIN;
87  /// Name of the add fu architecture from adf command.
88  static const std::string COMMAND_NAME_ADD_FU_FROM_ADF;
89  /// Name of the set fu architecture command.
90  static const std::string COMMAND_NAME_SET_FU_ARCH;
91  /// Name of the set rf architecture command.
92  static const std::string COMMAND_NAME_SET_RF_ARCH;
93  /// Name of the set cost function plugin command.
94  static const std::string COMMAND_NAME_SET_COST_PLUGIN;
95  /// Name of the add fu implementation cmd.
96  static const std::string COMMAND_NAME_ADD_FU_IMPLEMENTATION;
97  /// Name of the add rf implementation cmd.
98  static const std::string COMMAND_NAME_ADD_RF_IMPLEMENTATION;
99  /// Name of the modify command.
100  static const std::string COMMAND_NAME_MODIFY;
101  /// Name of the about command.
102  static const std::string COMMAND_NAME_ABOUT;
103  /// Name of the add fugen resource command.
105  /// Name of the add fugen operation command.
107 
108  /// Copyright string
109  static const wxString HDB_EDITOR_COPYRIGHT;
110 };
111 
112 #endif
HDBEditorConstants::COMMAND_NAME_CREATE_HDB
static const std::string COMMAND_NAME_CREATE_HDB
Name of the create HDB command.
Definition: HDBEditorConstants.hh:72
HDBEditorConstants::COMMAND_SET_COST_PLUGIN
@ COMMAND_SET_COST_PLUGIN
Definition: HDBEditorConstants.hh:58
HDBEditorConstants::COMMAND_NAME_QUIT
static const std::string COMMAND_NAME_QUIT
Name of the quit command.
Definition: HDBEditorConstants.hh:70
HDBEditorConstants::COMMAND_ADD_RF_ENTRY
@ COMMAND_ADD_RF_ENTRY
Definition: HDBEditorConstants.hh:54
HDBEditorConstants::COMMAND_NAME_DELETE
static const std::string COMMAND_NAME_DELETE
Name of the delete command.
Definition: HDBEditorConstants.hh:82
HDBEditorConstants::COMMAND_OPEN_HDB
@ COMMAND_OPEN_HDB
Definition: HDBEditorConstants.hh:45
HDBEditorConstants::COMMAND_NAME_ADD_FU_FROM_ADF
static const std::string COMMAND_NAME_ADD_FU_FROM_ADF
Name of the add fu architecture from adf command.
Definition: HDBEditorConstants.hh:88
HDBEditorConstants::COMMAND_ADD_OPERATION_IMPLEMENTATION_RESOURCE
@ COMMAND_ADD_OPERATION_IMPLEMENTATION_RESOURCE
Definition: HDBEditorConstants.hh:63
HDBEditorConstants::COMMAND_CREATE_HDB
@ COMMAND_CREATE_HDB
Definition: HDBEditorConstants.hh:46
HDBEditorConstants::COMMAND_NAME_ADD_SOCKET_ENTRY
static const std::string COMMAND_NAME_ADD_SOCKET_ENTRY
Name of the add new socket entry command.
Definition: HDBEditorConstants.hh:80
HDBEditorConstants::COMMAND_NAME_MODIFY
static const std::string COMMAND_NAME_MODIFY
Name of the modify command.
Definition: HDBEditorConstants.hh:100
HDBEditorConstants::COMMAND_ADD_BUS_ENTRY
@ COMMAND_ADD_BUS_ENTRY
Definition: HDBEditorConstants.hh:55
HDBEditorConstants::COMMAND_NAME_ADD_RF_IMPLEMENTATION
static const std::string COMMAND_NAME_ADD_RF_IMPLEMENTATION
Name of the add rf implementation cmd.
Definition: HDBEditorConstants.hh:98
HDBEditorConstants::COMMAND_MODIFY
@ COMMAND_MODIFY
Definition: HDBEditorConstants.hh:59
HDBEditorConstants::COMMAND_NAME_ADD_COST_PLUGIN
static const std::string COMMAND_NAME_ADD_COST_PLUGIN
Name of the add cost function plugin command.
Definition: HDBEditorConstants.hh:86
HDBEditorConstants::COMMAND_NAME_OPEN_HDB
static const std::string COMMAND_NAME_OPEN_HDB
Name of the open HDB command.
Definition: HDBEditorConstants.hh:68
HDBEditorConstants::COMMAND_NAME_ADD_RF_ARCHITECTURE
static const std::string COMMAND_NAME_ADD_RF_ARCHITECTURE
Name of the add rf architecture.
Definition: HDBEditorConstants.hh:84
HDBEditorConstants::COMMAND_ADD_FU_IMPLEMENTATION
@ COMMAND_ADD_FU_IMPLEMENTATION
Definition: HDBEditorConstants.hh:51
HDBEditorConstants::COMMAND_ABOUT
@ COMMAND_ABOUT
Definition: HDBEditorConstants.hh:62
HDBEditorConstants::COMMAND_NAME_SET_RF_ARCH
static const std::string COMMAND_NAME_SET_RF_ARCH
Name of the set rf architecture command.
Definition: HDBEditorConstants.hh:92
HDBEditorConstants::COMMAND_ADD_RF_IMPLEMENTATION
@ COMMAND_ADD_RF_IMPLEMENTATION
Definition: HDBEditorConstants.hh:52
HDBEditorConstants::COMMAND_ADD_COST_PLUGIN
@ COMMAND_ADD_COST_PLUGIN
Definition: HDBEditorConstants.hh:57
HDBEditorConstants::COMMAND_NAME_ADD_OPERATION_IMPLEMENTATION
static const std::string COMMAND_NAME_ADD_OPERATION_IMPLEMENTATION
Name of the add fugen operation command.
Definition: HDBEditorConstants.hh:106
HDBEditorConstants::COMMAND_NAME_ADD_FU_IMPLEMENTATION
static const std::string COMMAND_NAME_ADD_FU_IMPLEMENTATION
Name of the add fu implementation cmd.
Definition: HDBEditorConstants.hh:96
HDBEditorConstants::COMMAND_NAME_ADD_RF_ENTRY
static const std::string COMMAND_NAME_ADD_RF_ENTRY
Name of the add new rf entry command.
Definition: HDBEditorConstants.hh:76
HDBEditorConstants::HDB_EDITOR_COPYRIGHT
static const wxString HDB_EDITOR_COPYRIGHT
Copyright string.
Definition: HDBEditorConstants.hh:109
HDBEditorConstants::COMMAND_NAME_SET_COST_PLUGIN
static const std::string COMMAND_NAME_SET_COST_PLUGIN
Name of the set cost function plugin command.
Definition: HDBEditorConstants.hh:94
HDBEditorConstants::COMMAND_ADD_FU_FROM_ADF
@ COMMAND_ADD_FU_FROM_ADF
Definition: HDBEditorConstants.hh:47
HDBEditorConstants::COMMAND_ADD_RF_ARCHITECTURE
@ COMMAND_ADD_RF_ARCHITECTURE
Definition: HDBEditorConstants.hh:48
HDBEditorConstants::COMMAND_NAME_ADD_OPERATION_IMPLEMENTATION_RESOURCE
static const std::string COMMAND_NAME_ADD_OPERATION_IMPLEMENTATION_RESOURCE
Name of the add fugen resource command.
Definition: HDBEditorConstants.hh:104
HDBEditorConstants::COMMAND_SET_RF_ARCH
@ COMMAND_SET_RF_ARCH
Definition: HDBEditorConstants.hh:50
HDBEditorConstants::COMMAND_SET_FU_ARCH
@ COMMAND_SET_FU_ARCH
Definition: HDBEditorConstants.hh:49
HDBEditorConstants
Definition: HDBEditorConstants.hh:42
HDBEditorConstants::COMMAND_NAME_ABOUT
static const std::string COMMAND_NAME_ABOUT
Name of the about command.
Definition: HDBEditorConstants.hh:102
HDBEditorConstants::COMMAND_ADD_OPERATION_IMPLEMENTATION
@ COMMAND_ADD_OPERATION_IMPLEMENTATION
Definition: HDBEditorConstants.hh:64
HDBEditorConstants::COMMAND_DELETE
@ COMMAND_DELETE
Definition: HDBEditorConstants.hh:60
HDBEditorConstants::COMMAND_NAME_ADD_BUS_ENTRY
static const std::string COMMAND_NAME_ADD_BUS_ENTRY
Name of the add new bus entry command.
Definition: HDBEditorConstants.hh:78
HDBEditorConstants::COMMAND_ADD_FU_ENTRY
@ COMMAND_ADD_FU_ENTRY
Definition: HDBEditorConstants.hh:53
HDBEditorConstants::COMMAND_NAME_SET_FU_ARCH
static const std::string COMMAND_NAME_SET_FU_ARCH
Name of the set fu architecture command.
Definition: HDBEditorConstants.hh:90
HDBEditorConstants::COMMAND_QUIT
@ COMMAND_QUIT
Definition: HDBEditorConstants.hh:61
HDBEditorConstants::COMMAND_ADD_SOCKET_ENTRY
@ COMMAND_ADD_SOCKET_ENTRY
Definition: HDBEditorConstants.hh:56
HDBEditorConstants::COMMAND_NAME_ADD_FU_ENTRY
static const std::string COMMAND_NAME_ADD_FU_ENTRY
Name of the add new fu entry command.
Definition: HDBEditorConstants.hh:74