OpenASIP  2.0
Public Types | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
OSEdTextGenerator Class Reference

#include <OSEdTextGenerator.hh>

Inheritance diagram for OSEdTextGenerator:
Inheritance graph
Collaboration diagram for OSEdTextGenerator:
Collaboration graph

Public Types

enum  {
  TXT_LABEL_OPERATION_NAME = Texts::LAST__, TXT_LABEL_MODULE_NAME, TXT_LABEL_HAS_BEHAVIOR, TXT_LABEL_NO_BEHAVIOR,
  TXT_LABEL_READY, TXT_LABEL_UPDATE, TXT_LABEL_EDITOR, TXT_LABEL_FORMAT,
  TXT_LABEL_CLOCK, TXT_LABEL_PC, TXT_LABEL_RA, TXT_LABEL_SYS_CALL_HANDLER,
  TXT_LABEL_SYS_CALL_NUMBER, TXT_LABEL_MODE, TXT_LABEL_END, TXT_LABEL_START,
  TXT_BUTTON_MODIFY, TXT_BUTTON_OPEN, TXT_BUTTON_TRIGGER, TXT_BUTTON_LATE_RESULT,
  TXT_BUTTON_ADVANCE_LOCK, TXT_BUTTON_SAVE, TXT_BUTTON_UNDO, TXT_BUTTON_DELETE,
  TXT_BUTTON_NEW, TXT_BUTTON_BROWSE, TXT_BUTTON_RESET, TXT_BUTTON_CLOSE,
  TXT_BUTTON_SHOW_REGISTERS, TXT_BUTTON_HIDE_REGISTERS, TXT_BUTTON_UPDATE, TXT_CHECKBOX_READS_MEMORY,
  TXT_CHECKBOX_WRITES_MEMORY, TXT_CHECKBOX_CAN_TRAP, TXT_CHECKBOX_HAS_SIDE_EFFECTS, TXT_CHECKBOX_CLOCKED,
  TXT_CHECKBOX_MEM_DATA, TXT_CHECKBOX_MEM_ADDRESS, TXT_COLUMN_OPERATION, TXT_COLUMN_OPERAND,
  TXT_COLUMN_TYPE, TXT_COLUMN_VALUE, TXT_COLUMN_SEARCH_PATHS, TXT_COLUMN_MODULES,
  TXT_COLUMN_OPERATIONS, TXT_COLUMN_PROPERTY, TXT_COLUMN_OPERAND_VALUE, TXT_COLUMN_ELEMENT_WIDTH,
  TXT_COLUMN_ELEMENT_COUNT, TXT_PROPERTY_DIALOG_TITLE, TXT_INPUT_OPERAND_DIALOG_TITLE, TXT_OUTPUT_OPERAND_DIALOG_TITLE,
  TXT_ADD_MODULE_DIALOG_TITLE, TXT_SIMULATE_DIALOG_TITLE, TXT_OPTIONS_DIALOG_TITLE, TXT_BUILD_RESULT_DIALOG_TITLE,
  TXT_USER_MANUAL_TITLE, TXT_XML_RESULT_DIALOG_TITLE, TXT_ABOUT_DIALOG_TITLE, TXT_SIMULATION_INFO_DIALOG_TITLE,
  TXT_MEMORY_DIALOG_TITLE, TXT_BOX_AFFECTS, TXT_BOX_AFFECTED_BY, TXT_BOX_INPUT_OPERANDS,
  TXT_BOX_OUTPUT_OPERANDS, TXT_BOX_CAN_SWAP, TXT_BOX_INPUT_VALUES, TXT_BOX_OUTPUT_VALUES,
  TXT_ERROR_NO_NAME, TXT_ERROR_CAN_NOT_MODIFY, TXT_ERROR_CAN_NOT_CREATE_MOD, TXT_ERROR_CAN_NOT_CREATE_OP,
  TXT_ERROR_NO_EDITOR, TXT_ERROR_OPEN, TXT_ERROR_CAN_NOT_SAVE, TXT_ERROR_NON_EXISTING_OPERATION,
  TXT_ERROR_TRIGGER_FAILED, TXT_ERROR_CAN_NOT_REMOVE_OPERATION, TXT_ERROR_MODULE_EXISTS, TXT_ERROR_OPERATION_EXISTS,
  TXT_ERROR_NO_HANDLER, TXT_ERROR_MOD_NAME, TXT_MSG_BUILD_OK, TXT_ABOUT,
  TXT_MENU_OPTIONS, TXT_MENU_QUIT, TXT_MENU_FILE, TXT_MENU_ADD_OPERATION,
  TXT_MENU_REMOVE_OPERATION, TXT_MENU_ADD_MODULE, TXT_MENU_MODIFY_PROPERTIES, TXT_MENU_BUILD,
  TXT_MENU_BUILD_ALL, TXT_MENU_SIMULATE, TXT_MENU_TOOLS, TXT_MENU_ABOUT,
  TXT_MENU_USER_MANUAL, TXT_MENU_HELP, TXT_MENU_REMOVE_MODULE, TXT_MENU_MODIFY_BEHAVIOR,
  TXT_MENU_MEMORY, TXT_ROW_NAME, TXT_ROW_DESCRIPTION, TXT_ROW_INPUTS,
  TXT_ROW_OUTPUTS, TXT_ROW_READS_MEMORY, TXT_ROW_TRUE, TXT_ROW_FALSE,
  TXT_ROW_WRITES_MEMORY, TXT_ROW_CAN_TRAP, TXT_ROW_HAS_SIDE_EFFECTS, TXT_ROW_CLOCKED,
  TXT_ROW_AFFECTED_BY, TXT_ROW_AFFECTS, TXT_ROW_INPUT_OPERANDS, TXT_ROW_OUTPUT_OPERANDS,
  TXT_ROW_ID, TXT_ROW_YES, TXT_ROW_NO, TXT_ROW_TYPE,
  TXT_ROW_MEMORY_ADDRESS, TXT_ROW_CAN_SWAP, TXT_ROW_MEMORY_DATA, TXT_ROW_HAS_BEHAVIOR,
  TXT_QUESTION_REMOVE_MODULE, TXT_QUESTION_REMOVE_BEHAVIOR_FILE, TXT_QUESTION_SAVE_PROPERTIES, TXT_QUESTION_REMOVE_OPERATION,
  TXT_STATUS_PATH_SELECTED, TXT_STATUS_MODULE_SELECTED, TXT_STATUS_OPERATION_SELECTED, TXT_STATUS_COMPILING,
  TXT_STATUS_COMPILE_SUCCESS, TXT_STATUS_COMPILE_FAILED
}
 

Static Public Member Functions

static OSEdTextGeneratorinstance ()
 
static void destroy ()
 

Private Member Functions

 OSEdTextGenerator ()
 
virtual ~OSEdTextGenerator ()
 

Static Private Attributes

static OSEdTextGeneratorinstance_ = NULL
 Static instance of text generator. More...
 

Additional Inherited Members

- Public Member Functions inherited from Texts::TextGenerator
 TextGenerator ()
 
virtual ~TextGenerator ()
 
virtual boost::format text (int textId)
 
virtual void addText (int textId, const std::string &templateString)
 
virtual void replaceText (int textId, const std::string &newString)
 

Detailed Description

Provides static texts visible in the OSEd user interface.

Definition at line 42 of file OSEdTextGenerator.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Text ids.

Enumerator
TXT_LABEL_OPERATION_NAME 

Operation name label.

TXT_LABEL_MODULE_NAME 

Module name label.

TXT_LABEL_HAS_BEHAVIOR 

Has behavior label.

TXT_LABEL_NO_BEHAVIOR 

No behavior label.

TXT_LABEL_READY 

Ready label.

TXT_LABEL_UPDATE 

Update label.

TXT_LABEL_EDITOR 

Editor label.

TXT_LABEL_FORMAT 

Format label.

TXT_LABEL_CLOCK 

Clock label.

TXT_LABEL_PC 

Program counter label.

TXT_LABEL_RA 

Return address label.

TXT_LABEL_SYS_CALL_HANDLER 

Sys call handler label.

TXT_LABEL_SYS_CALL_NUMBER 

Sys call number label.

TXT_LABEL_MODE 

Mode label.

TXT_LABEL_END 

Memory end label.

TXT_LABEL_START 

Memory start label.

TXT_BUTTON_MODIFY 

Modify button label.

TXT_BUTTON_OPEN 

Open button label.

TXT_BUTTON_TRIGGER 

Trigger button label.

TXT_BUTTON_LATE_RESULT 

Late result button label.

TXT_BUTTON_ADVANCE_LOCK 

Advance Lock button label.

TXT_BUTTON_SAVE 

Save button label.

TXT_BUTTON_UNDO 

Undo button label.

TXT_BUTTON_DELETE 

Delete button label.

TXT_BUTTON_NEW 

New button label.

TXT_BUTTON_BROWSE 

Browse button label.

TXT_BUTTON_RESET 

Reset button label.

TXT_BUTTON_CLOSE 

Close button label.

TXT_BUTTON_SHOW_REGISTERS 

Show registers button label.

TXT_BUTTON_HIDE_REGISTERS 

Hide registers button label.

TXT_BUTTON_UPDATE 

Update button label.

TXT_CHECKBOX_READS_MEMORY 

Reads memory label.

TXT_CHECKBOX_WRITES_MEMORY 

Writes memory label.

TXT_CHECKBOX_CAN_TRAP 

Can trap label.

TXT_CHECKBOX_HAS_SIDE_EFFECTS 

Has side effects label.

TXT_CHECKBOX_CLOCKED 

Clocked label.

TXT_CHECKBOX_MEM_DATA 

Memory data label.

TXT_CHECKBOX_MEM_ADDRESS 

Memory address label.

TXT_COLUMN_OPERATION 

Operation column header.

TXT_COLUMN_OPERAND 

Operand column header.

TXT_COLUMN_TYPE 

Type column header.

TXT_COLUMN_VALUE 

Value column header.

TXT_COLUMN_SEARCH_PATHS 

Search path column header.

TXT_COLUMN_MODULES 

Module column header.

TXT_COLUMN_OPERATIONS 

Operations column header.

TXT_COLUMN_PROPERTY 

Property column header.

TXT_COLUMN_OPERAND_VALUE 

Operand value column header.

TXT_COLUMN_ELEMENT_WIDTH 

Operand element width header.

TXT_COLUMN_ELEMENT_COUNT 

Operand element count header.

TXT_PROPERTY_DIALOG_TITLE 

Property dialog title.

TXT_INPUT_OPERAND_DIALOG_TITLE 

Input operand dialog title.

TXT_OUTPUT_OPERAND_DIALOG_TITLE 

Output operand dialog title.

TXT_ADD_MODULE_DIALOG_TITLE 

Add module dialog title.

TXT_SIMULATE_DIALOG_TITLE 

Simulate dialog title.

TXT_OPTIONS_DIALOG_TITLE 

Options dialog title.

TXT_BUILD_RESULT_DIALOG_TITLE 

Build result dialog title.

TXT_USER_MANUAL_TITLE 

User manual dialog title.

TXT_XML_RESULT_DIALOG_TITLE 

XML result dialog title.

TXT_ABOUT_DIALOG_TITLE 

About dialog title.

TXT_SIMULATION_INFO_DIALOG_TITLE 

Simulation info dialog title.

TXT_MEMORY_DIALOG_TITLE 

Memory dialog title.

TXT_BOX_AFFECTS 

Affects sizer label.

TXT_BOX_AFFECTED_BY 

Affected by sizer label.

TXT_BOX_INPUT_OPERANDS 

Input operand sizer label.

TXT_BOX_OUTPUT_OPERANDS 

Output operand sizer label.

TXT_BOX_CAN_SWAP 

Can swap sizer label.

TXT_BOX_INPUT_VALUES 

Input values sizer label.

TXT_BOX_OUTPUT_VALUES 

Output values sizer label.

TXT_ERROR_NO_NAME 

Error when no name is given.

TXT_ERROR_CAN_NOT_MODIFY 

Error when can not modify.

TXT_ERROR_CAN_NOT_CREATE_MOD 

Error when can not create module.

TXT_ERROR_CAN_NOT_CREATE_OP 

Error when can not create operation.

TXT_ERROR_NO_EDITOR 

Error when no editor is given.

TXT_ERROR_OPEN 

Error when opening fails.

TXT_ERROR_CAN_NOT_SAVE 

Error when options can not be saved.

TXT_ERROR_NON_EXISTING_OPERATION 

Error when operation does not exist.

TXT_ERROR_TRIGGER_FAILED 

Error when trigger fails.

TXT_ERROR_CAN_NOT_REMOVE_OPERATION 

Error when operation can not be removed.

TXT_ERROR_MODULE_EXISTS 

Module exists error.

TXT_ERROR_OPERATION_EXISTS 

Operation exists error.

TXT_ERROR_NO_HANDLER 

Error when custom command handler is not found.

TXT_ERROR_MOD_NAME 

Module name is erronous.

TXT_MSG_BUILD_OK 

Build ok message.

TXT_ABOUT 

About text.

TXT_MENU_OPTIONS 

Option menu label.

TXT_MENU_QUIT 

Quit menu label.

TXT_MENU_FILE 

File menu label.

TXT_MENU_ADD_OPERATION 

Add operation menu label.

TXT_MENU_REMOVE_OPERATION 

Remove operation menu label.

TXT_MENU_ADD_MODULE 

Add module menu label.

TXT_MENU_MODIFY_PROPERTIES 

Modify properties menu label.

TXT_MENU_BUILD 

Build menu label.

TXT_MENU_BUILD_ALL 

Build all menu label.

TXT_MENU_SIMULATE 

Simulate menu label.

TXT_MENU_TOOLS 

Tools menu label.

TXT_MENU_ABOUT 

About menu label.

TXT_MENU_USER_MANUAL 

User manual menu label.

TXT_MENU_HELP 

Help menu label.

TXT_MENU_REMOVE_MODULE 

Remove module menu label.

TXT_MENU_MODIFY_BEHAVIOR 

Modify behavior menu label.

TXT_MENU_MEMORY 

Memory menu label.

TXT_ROW_NAME 

Name row label.

TXT_ROW_DESCRIPTION 

Description row label.

TXT_ROW_INPUTS 

Inputs row label.

TXT_ROW_OUTPUTS 

Outputs row label.

TXT_ROW_READS_MEMORY 

Reads memory row label.

TXT_ROW_TRUE 

True text.

TXT_ROW_FALSE 

False text.

TXT_ROW_WRITES_MEMORY 

Writes memory row label.

TXT_ROW_CAN_TRAP 

Can trap row label.

TXT_ROW_HAS_SIDE_EFFECTS 

Has side effects row label.

TXT_ROW_CLOCKED 

Clocked row label.

TXT_ROW_AFFECTED_BY 

Affected by row label.

TXT_ROW_AFFECTS 

Affects row label.

TXT_ROW_INPUT_OPERANDS 

Input operands row label.

TXT_ROW_OUTPUT_OPERANDS 

Output operands row label.

TXT_ROW_ID 

Id row label.

TXT_ROW_YES 

Yes text.

TXT_ROW_NO 

No text.

TXT_ROW_TYPE 

Type row label.

TXT_ROW_MEMORY_ADDRESS 

Memory address row label.

TXT_ROW_CAN_SWAP 

Can swap row label.

TXT_ROW_MEMORY_DATA 

Memory data row label.

TXT_ROW_HAS_BEHAVIOR 

Has behavior row label.

TXT_QUESTION_REMOVE_MODULE 

Remove module question.

TXT_QUESTION_REMOVE_BEHAVIOR_FILE 

Remove behavior question.

TXT_QUESTION_SAVE_PROPERTIES 

Save properties question.

TXT_QUESTION_REMOVE_OPERATION 

Remove operation question.

TXT_STATUS_PATH_SELECTED 

Status bar text when path is selected.

TXT_STATUS_MODULE_SELECTED 

Status bar text when module is selected.

TXT_STATUS_OPERATION_SELECTED 

Status bar text when operation is selected.

TXT_STATUS_COMPILING 

Status bar text when compiling.

TXT_STATUS_COMPILE_SUCCESS 

Status bar text when compiling was successful.

TXT_STATUS_COMPILE_FAILED 

Status bar text when compilation failed.

Definition at line 50 of file OSEdTextGenerator.hh.

50  {
51  // text labels
52  TXT_LABEL_OPERATION_NAME = Texts::LAST__, ///< Operation name label.
53  TXT_LABEL_MODULE_NAME, ///< Module name label.
54  TXT_LABEL_HAS_BEHAVIOR, ///< Has behavior label.
55  TXT_LABEL_NO_BEHAVIOR, ///< No behavior label.
56  TXT_LABEL_READY, ///< Ready label.
57  TXT_LABEL_UPDATE, ///< Update label.
58  TXT_LABEL_EDITOR, ///< Editor label.
59  TXT_LABEL_FORMAT, ///< Format label.
60  TXT_LABEL_CLOCK, ///< Clock label.
61  TXT_LABEL_PC, ///< Program counter label.
62  TXT_LABEL_RA, ///< Return address label.
63  TXT_LABEL_SYS_CALL_HANDLER, ///< Sys call handler label.
64  TXT_LABEL_SYS_CALL_NUMBER, ///< Sys call number label.
65  TXT_LABEL_MODE, ///< Mode label.
66  TXT_LABEL_END, ///< Memory end label.
67  TXT_LABEL_START, ///< Memory start label.
68 
69  // button labels
70  TXT_BUTTON_MODIFY, ///< Modify button label.
71  TXT_BUTTON_OPEN, ///< Open button label.
72  TXT_BUTTON_TRIGGER, ///< Trigger button label.
73  TXT_BUTTON_LATE_RESULT, ///< Late result button label.
74  TXT_BUTTON_ADVANCE_LOCK, ///< Advance Lock button label.
75  TXT_BUTTON_SAVE, ///< Save button label.
76  TXT_BUTTON_UNDO, ///< Undo button label.
77  TXT_BUTTON_DELETE, ///< Delete button label.
78  TXT_BUTTON_NEW, ///< New button label.
79  TXT_BUTTON_BROWSE, ///< Browse button label.
80  TXT_BUTTON_RESET, ///< Reset button label.
81  TXT_BUTTON_CLOSE, ///< Close button label.
82  TXT_BUTTON_SHOW_REGISTERS, ///< Show registers button label.
83  TXT_BUTTON_HIDE_REGISTERS, ///< Hide registers button label.
84  TXT_BUTTON_UPDATE, ///< Update button label.
85 
86  // checkbox texts
87  TXT_CHECKBOX_READS_MEMORY, ///< Reads memory label.
88  TXT_CHECKBOX_WRITES_MEMORY, ///< Writes memory label.
89  TXT_CHECKBOX_CAN_TRAP, ///< Can trap label.
90  TXT_CHECKBOX_HAS_SIDE_EFFECTS, ///< Has side effects label.
91  TXT_CHECKBOX_CLOCKED, ///< Clocked label.
92  TXT_CHECKBOX_MEM_DATA, ///< Memory data label.
93  TXT_CHECKBOX_MEM_ADDRESS, ///< Memory address label.
94 
95  // column headers
96  TXT_COLUMN_OPERATION, ///< Operation column header.
97  TXT_COLUMN_OPERAND, ///< Operand column header.
98  TXT_COLUMN_TYPE, ///< Type column header.
99  TXT_COLUMN_VALUE, ///< Value column header.
100  TXT_COLUMN_SEARCH_PATHS, ///< Search path column header.
101  TXT_COLUMN_MODULES, ///< Module column header.
102  TXT_COLUMN_OPERATIONS, ///< Operations column header.
103  TXT_COLUMN_PROPERTY, ///< Property column header.
104  TXT_COLUMN_OPERAND_VALUE, ///< Operand value column header.
105  TXT_COLUMN_ELEMENT_WIDTH, ///< Operand element width header.
106  TXT_COLUMN_ELEMENT_COUNT, ///< Operand element count header.
107 
108  // dialog titles
109  TXT_PROPERTY_DIALOG_TITLE, ///< Property dialog title.
110  TXT_INPUT_OPERAND_DIALOG_TITLE, ///< Input operand dialog title.
111  TXT_OUTPUT_OPERAND_DIALOG_TITLE, ///< Output operand dialog title.
112  TXT_ADD_MODULE_DIALOG_TITLE, ///< Add module dialog title.
113  TXT_SIMULATE_DIALOG_TITLE, ///< Simulate dialog title.
114  TXT_OPTIONS_DIALOG_TITLE, ///< Options dialog title.
115  TXT_BUILD_RESULT_DIALOG_TITLE, ///< Build result dialog title.
116  TXT_USER_MANUAL_TITLE, ///< User manual dialog title.
117  TXT_XML_RESULT_DIALOG_TITLE, ///< XML result dialog title.
118  TXT_ABOUT_DIALOG_TITLE, ///< About dialog title.
119  TXT_SIMULATION_INFO_DIALOG_TITLE, ///< Simulation info dialog title.
120  TXT_MEMORY_DIALOG_TITLE, ///< Memory dialog title.
121 
122  // box sizer labels
123  TXT_BOX_AFFECTS, ///< Affects sizer label.
124  TXT_BOX_AFFECTED_BY, ///< Affected by sizer label.
125  TXT_BOX_INPUT_OPERANDS, ///< Input operand sizer label.
126  TXT_BOX_OUTPUT_OPERANDS, ///< Output operand sizer label.
127  TXT_BOX_CAN_SWAP, ///< Can swap sizer label.
128  TXT_BOX_INPUT_VALUES, ///< Input values sizer label.
129  TXT_BOX_OUTPUT_VALUES, ///< Output values sizer label.
130 
131  // error texts
132  TXT_ERROR_NO_NAME, ///< Error when no name is given.
133  TXT_ERROR_CAN_NOT_MODIFY, ///< Error when can not modify.
134  TXT_ERROR_CAN_NOT_CREATE_MOD, ///< Error when can not create
135  ///< module.
136 
137  TXT_ERROR_CAN_NOT_CREATE_OP, ///< Error when can not create
138  ///< operation.
139 
140  TXT_ERROR_NO_EDITOR, ///< Error when no editor is given.
141  TXT_ERROR_OPEN, ///< Error when opening fails.
142  TXT_ERROR_CAN_NOT_SAVE, ///< Error when options can not be
143  ///< saved.
144 
145  TXT_ERROR_NON_EXISTING_OPERATION, ///< Error when operation does not
146  ///< exist.
147  TXT_ERROR_TRIGGER_FAILED, ///< Error when trigger fails.
148  TXT_ERROR_CAN_NOT_REMOVE_OPERATION, ///< Error when operation can not
149  ///< be removed.
150 
151  TXT_ERROR_MODULE_EXISTS, ///< Module exists error.
152  TXT_ERROR_OPERATION_EXISTS, ///< Operation exists error.
153  TXT_ERROR_NO_HANDLER, ///< Error when custom command handler
154  ///< is not found.
155  TXT_ERROR_MOD_NAME, ///< Module name is erronous.
156 
157  // message
158  TXT_MSG_BUILD_OK, ///< Build ok message.
159 
160  // about text
161  TXT_ABOUT, ///< About text.
162 
163  // menu item labels
164  TXT_MENU_OPTIONS, ///< Option menu label.
165  TXT_MENU_QUIT, ///< Quit menu label.
166  TXT_MENU_FILE, ///< File menu label.
167  TXT_MENU_ADD_OPERATION, ///< Add operation menu label.
168  TXT_MENU_REMOVE_OPERATION, ///< Remove operation menu label.
169  TXT_MENU_ADD_MODULE, ///< Add module menu label.
170  TXT_MENU_MODIFY_PROPERTIES, ///< Modify properties menu label.
171  TXT_MENU_BUILD, ///< Build menu label.
172  TXT_MENU_BUILD_ALL, ///< Build all menu label.
173  TXT_MENU_SIMULATE, ///< Simulate menu label.
174  TXT_MENU_TOOLS, ///< Tools menu label.
175  TXT_MENU_ABOUT, ///< About menu label.
176  TXT_MENU_USER_MANUAL, ///< User manual menu label.
177  TXT_MENU_HELP, ///< Help menu label.
178  TXT_MENU_REMOVE_MODULE, ///< Remove module menu label.
179  TXT_MENU_MODIFY_BEHAVIOR, ///< Modify behavior menu label.
180  TXT_MENU_MEMORY, ///< Memory menu label.
181 
182  // row texts
183  TXT_ROW_NAME, ///< Name row label.
184  TXT_ROW_DESCRIPTION, ///< Description row label.
185  TXT_ROW_INPUTS, ///< Inputs row label.
186  TXT_ROW_OUTPUTS, ///< Outputs row label.
187  TXT_ROW_READS_MEMORY, ///< Reads memory row label.
188  TXT_ROW_TRUE, ///< True text.
189  TXT_ROW_FALSE, ///< False text.
190  TXT_ROW_WRITES_MEMORY, ///< Writes memory row label.
191  TXT_ROW_CAN_TRAP, ///< Can trap row label.
192  TXT_ROW_HAS_SIDE_EFFECTS, ///< Has side effects row label.
193  TXT_ROW_CLOCKED, ///< Clocked row label.
194  TXT_ROW_AFFECTED_BY, ///< Affected by row label.
195  TXT_ROW_AFFECTS, ///< Affects row label.
196  TXT_ROW_INPUT_OPERANDS, ///< Input operands row label.
197  TXT_ROW_OUTPUT_OPERANDS, ///< Output operands row label.
198  TXT_ROW_ID, ///< Id row label.
199  TXT_ROW_YES, ///< Yes text.
200  TXT_ROW_NO, ///< No text.
201  TXT_ROW_TYPE, ///< Type row label.
202  TXT_ROW_MEMORY_ADDRESS, ///< Memory address row label.
203  TXT_ROW_CAN_SWAP, ///< Can swap row label.
204  TXT_ROW_MEMORY_DATA, ///< Memory data row label.
205  TXT_ROW_HAS_BEHAVIOR, ///< Has behavior row label.
206 
207  // questions
208  TXT_QUESTION_REMOVE_MODULE, ///< Remove module question.
209  TXT_QUESTION_REMOVE_BEHAVIOR_FILE,///< Remove behavior question.
210  TXT_QUESTION_SAVE_PROPERTIES, ///< Save properties question.
211  TXT_QUESTION_REMOVE_OPERATION, ///< Remove operation question.
212 
213  TXT_STATUS_PATH_SELECTED, ///< Status bar text when path
214  ///< is selected.
215  TXT_STATUS_MODULE_SELECTED, ///< Status bar text when module
216  ///< is selected.
217  TXT_STATUS_OPERATION_SELECTED, ///< Status bar text when operation
218  ///< is selected.
219  TXT_STATUS_COMPILING, ///< Status bar text when compiling.
220  TXT_STATUS_COMPILE_SUCCESS, ///< Status bar text when compiling
221  ///< was successful.
222  TXT_STATUS_COMPILE_FAILED ///< Status bar text when compilation
223  ///< failed.
224  };

Constructor & Destructor Documentation

◆ OSEdTextGenerator()

OSEdTextGenerator::OSEdTextGenerator ( )
private

Constructor.

Definition at line 40 of file OSEdTextGenerator.cc.

40  {
41 
43  addText(TXT_LABEL_MODULE_NAME, "Name of the module:");
44  addText(TXT_LABEL_HAS_BEHAVIOR, "Operation behavior module defined.");
45  addText(TXT_LABEL_NO_BEHAVIOR, "Operation behavior module not defined.");
46  addText(TXT_LABEL_READY, "Ready");
47  addText(TXT_LABEL_UPDATE, "Update");
48  addText(TXT_LABEL_EDITOR, "Source code editor:");
49  addText(TXT_LABEL_FORMAT, "Format:");
50  addText(TXT_LABEL_CLOCK, "Clock count:");
51  addText(TXT_LABEL_PC, "Program counter:");
52  addText(TXT_LABEL_RA, "Return address:");
53  addText(TXT_LABEL_SYS_CALL_HANDLER, "System call handler:");
54  addText(TXT_LABEL_SYS_CALL_NUMBER, "System call number:");
55  addText(TXT_LABEL_MODE, "Mode:");
56  addText(TXT_LABEL_END, "End point:");
57  addText(TXT_LABEL_START, "Start point:");
58 
59  addText(TXT_BUTTON_MODIFY, "Modify...");
60  addText(TXT_BUTTON_OPEN, "Open");
61  addText(TXT_BUTTON_TRIGGER, "Trigger");
62  addText(TXT_BUTTON_ADVANCE_LOCK, "Advance Clock");
63  addText(TXT_BUTTON_SAVE, "Save");
64  addText(TXT_BUTTON_UNDO, "Undo");
65  addText(TXT_BUTTON_DELETE, "Delete");
66  addText(TXT_BUTTON_NEW, "New");
67  addText(TXT_BUTTON_BROWSE, "Browse");
68  addText(TXT_BUTTON_RESET, "Reset");
69  addText(TXT_BUTTON_CLOSE, "Close");
70  addText(TXT_BUTTON_SHOW_REGISTERS, "Show registers");
71  addText(TXT_BUTTON_HIDE_REGISTERS, "Hide registers");
72  addText(TXT_BUTTON_UPDATE, "Update");
73 
74  addText(TXT_CHECKBOX_READS_MEMORY, "Reads memory");
75  addText(TXT_CHECKBOX_WRITES_MEMORY, "Writes memory");
76  addText(TXT_CHECKBOX_CAN_TRAP, "Can trap");
77  addText(TXT_CHECKBOX_HAS_SIDE_EFFECTS, "Has side effects");
78  addText(TXT_CHECKBOX_CLOCKED, "Clocked");
79  addText(TXT_CHECKBOX_MEM_DATA, "Memory data");
80  addText(TXT_CHECKBOX_MEM_ADDRESS, "Memory address");
81 
82  addText(TXT_COLUMN_OPERATION, "operation");
83  addText(TXT_COLUMN_OPERAND, "operand");
84  addText(TXT_COLUMN_TYPE, "type");
85  addText(TXT_COLUMN_VALUE, "value");
86  addText(TXT_COLUMN_SEARCH_PATHS, "search paths");
87  addText(TXT_COLUMN_MODULES, "modules");
88  addText(TXT_COLUMN_OPERATIONS, "operations");
89  addText(TXT_COLUMN_PROPERTY, "property");
90  addText(TXT_COLUMN_OPERAND_VALUE, "operand value");
91  addText(TXT_COLUMN_ELEMENT_WIDTH, "element width");
92  addText(TXT_COLUMN_ELEMENT_COUNT, "element count");
93 
94  addText(TXT_PROPERTY_DIALOG_TITLE, "Operation properties");
95  addText(TXT_INPUT_OPERAND_DIALOG_TITLE, "Input operand properties: id %i");
96  addText(TXT_OUTPUT_OPERAND_DIALOG_TITLE, "Output operand properties: id %i");
97  addText(TXT_ADD_MODULE_DIALOG_TITLE, "Add module");
98  addText(TXT_SIMULATE_DIALOG_TITLE, "Simulate Operation Behavior: %s");
100  addText(TXT_BUILD_RESULT_DIALOG_TITLE, "Build results");
101  addText(TXT_USER_MANUAL_TITLE, "User manual");
102  addText(TXT_XML_RESULT_DIALOG_TITLE, "Bad modules");
103  addText(TXT_ABOUT_DIALOG_TITLE, "About Operation Set Editor");
104  addText(TXT_SIMULATION_INFO_DIALOG_TITLE, "Simulation information");
105  addText(TXT_MEMORY_DIALOG_TITLE, "Memory");
106 
107  addText(TXT_BOX_AFFECTS, "Affects");
108  addText(TXT_BOX_AFFECTED_BY, "Affected by");
109  addText(TXT_BOX_INPUT_OPERANDS, "Operation inputs");
110  addText(TXT_BOX_OUTPUT_OPERANDS, "Operation outputs");
111  addText(TXT_BOX_CAN_SWAP, "Can swap");
112  addText(TXT_BOX_INPUT_VALUES, "Input values");
113  addText(TXT_BOX_OUTPUT_VALUES, "Output values");
114 
115  addText(TXT_ERROR_NO_NAME, "No name given to %s.");
116  addText(TXT_ERROR_CAN_NOT_MODIFY, "Operation cannot be modified.");
117  addText(TXT_ERROR_CAN_NOT_CREATE_MOD, "Module cannot be created.");
118  addText(TXT_ERROR_CAN_NOT_CREATE_OP, "Operation cannot be created.");
119  addText(TXT_ERROR_NO_EDITOR, "Editor not set");
120  addText(TXT_ERROR_OPEN, "Can not open editor %s");
121  addText(TXT_ERROR_CAN_NOT_SAVE, "Can not save options");
122  addText(TXT_ERROR_NON_EXISTING_OPERATION, "Operation %s does not exist");
123  addText(TXT_ERROR_TRIGGER_FAILED, "Result could not be compiled");
125  "Operation %s can not be removed");
126 
127  addText(TXT_ERROR_MODULE_EXISTS, "Module %s already exists.");
128  addText(TXT_ERROR_OPERATION_EXISTS, "Operation %s already exists.");
129  addText(TXT_ERROR_NO_HANDLER, "No handler found for the command event");
130  addText(TXT_ERROR_MOD_NAME, "Module name %s is erronous");
131 
132  addText(TXT_MSG_BUILD_OK, "Build successful");
133 
134  addText(TXT_ABOUT, "Operation Set Editor");
135 
136  addText(TXT_MENU_OPTIONS, "&Options");
137  addText(TXT_MENU_QUIT, "&Quit");
138  addText(TXT_MENU_FILE, "&File");
139  addText(TXT_MENU_ADD_OPERATION, "Add &operation");
140  addText(TXT_MENU_REMOVE_OPERATION, "R&emove operation");
141  addText(TXT_MENU_ADD_MODULE, "Add &module");
142  addText(TXT_MENU_MODIFY_PROPERTIES, "Modify &properties");
143  addText(TXT_MENU_BUILD, "&Build");
144  addText(TXT_MENU_BUILD_ALL, "Build &all");
145  addText(TXT_MENU_SIMULATE, "&Simulate");
146  addText(TXT_MENU_TOOLS, "&Tools");
147  addText(TXT_MENU_ABOUT, "&About...");
148  addText(TXT_MENU_USER_MANUAL, "&User manual...");
149  addText(TXT_MENU_HELP, "&Help");
150  addText(TXT_MENU_REMOVE_MODULE, "&Remove module");
151  addText(TXT_MENU_MODIFY_BEHAVIOR, "Modify &behavior");
152  addText(TXT_MENU_MEMORY, "Memo&ry");
153 
154  addText(TXT_ROW_NAME, "name");
155  addText(TXT_ROW_DESCRIPTION, "description");
156  addText(TXT_ROW_INPUTS, "inputs");
157  addText(TXT_ROW_OUTPUTS, "outputs");
158  addText(TXT_ROW_READS_MEMORY, "reads memory");
159  addText(TXT_ROW_WRITES_MEMORY, "writes memory");
160  addText(TXT_ROW_TRUE, "true");
161  addText(TXT_ROW_FALSE, "false");
162  addText(TXT_ROW_CAN_TRAP, "can trap");
163  addText(TXT_ROW_HAS_SIDE_EFFECTS, "has side effects");
164  addText(TXT_ROW_CLOCKED, "clocked");
165  addText(TXT_ROW_AFFECTED_BY, "affected by");
166  addText(TXT_ROW_AFFECTS, "affects");
167  addText(TXT_ROW_INPUT_OPERANDS, "input operands");
168  addText(TXT_ROW_OUTPUT_OPERANDS, "output operands");
169  addText(TXT_ROW_ID, "id: ");
170  addText(TXT_ROW_YES, "yes");
171  addText(TXT_ROW_NO, "no");
172  addText(TXT_ROW_TYPE, "type");
173  addText(TXT_ROW_MEMORY_ADDRESS, "memory address");
174  addText(TXT_ROW_CAN_SWAP, "can swap");
175  addText(TXT_ROW_MEMORY_DATA, "memory data");
176  addText(TXT_ROW_HAS_BEHAVIOR, "has behavior");
177 
178  addText(
180  "Are you sure you want to remove module %s?");
181 
182  addText(
184  "Are you sure you want to remove behavior file %s?");
185 
186  addText(
188  "Operation properties modified. Save properties?");
189 
190  addText(
192  "Are you sure you want to remove operation %s?");
193 
194  addText(TXT_STATUS_PATH_SELECTED, "Path selected");
195  addText(TXT_STATUS_MODULE_SELECTED, "Module selected");
196  addText(TXT_STATUS_OPERATION_SELECTED, "Operation selected");
197  addText(TXT_STATUS_COMPILING, "Compiling %s...");
198  addText(TXT_STATUS_COMPILE_SUCCESS, "Compilation successful. It took %i ms");
199  addText(TXT_STATUS_COMPILE_FAILED, "Compilation failed.");
200 }

References Texts::TextGenerator::addText(), TXT_ABOUT, TXT_ABOUT_DIALOG_TITLE, TXT_ADD_MODULE_DIALOG_TITLE, TXT_BOX_AFFECTED_BY, TXT_BOX_AFFECTS, TXT_BOX_CAN_SWAP, TXT_BOX_INPUT_OPERANDS, TXT_BOX_INPUT_VALUES, TXT_BOX_OUTPUT_OPERANDS, TXT_BOX_OUTPUT_VALUES, TXT_BUILD_RESULT_DIALOG_TITLE, TXT_BUTTON_ADVANCE_LOCK, TXT_BUTTON_BROWSE, TXT_BUTTON_CLOSE, TXT_BUTTON_DELETE, TXT_BUTTON_HIDE_REGISTERS, TXT_BUTTON_MODIFY, TXT_BUTTON_NEW, TXT_BUTTON_OPEN, TXT_BUTTON_RESET, TXT_BUTTON_SAVE, TXT_BUTTON_SHOW_REGISTERS, TXT_BUTTON_TRIGGER, TXT_BUTTON_UNDO, TXT_BUTTON_UPDATE, TXT_CHECKBOX_CAN_TRAP, TXT_CHECKBOX_CLOCKED, TXT_CHECKBOX_HAS_SIDE_EFFECTS, TXT_CHECKBOX_MEM_ADDRESS, TXT_CHECKBOX_MEM_DATA, TXT_CHECKBOX_READS_MEMORY, TXT_CHECKBOX_WRITES_MEMORY, TXT_COLUMN_ELEMENT_COUNT, TXT_COLUMN_ELEMENT_WIDTH, TXT_COLUMN_MODULES, TXT_COLUMN_OPERAND, TXT_COLUMN_OPERAND_VALUE, TXT_COLUMN_OPERATION, TXT_COLUMN_OPERATIONS, TXT_COLUMN_PROPERTY, TXT_COLUMN_SEARCH_PATHS, TXT_COLUMN_TYPE, TXT_COLUMN_VALUE, TXT_ERROR_CAN_NOT_CREATE_MOD, TXT_ERROR_CAN_NOT_CREATE_OP, TXT_ERROR_CAN_NOT_MODIFY, TXT_ERROR_CAN_NOT_REMOVE_OPERATION, TXT_ERROR_CAN_NOT_SAVE, TXT_ERROR_MOD_NAME, TXT_ERROR_MODULE_EXISTS, TXT_ERROR_NO_EDITOR, TXT_ERROR_NO_HANDLER, TXT_ERROR_NO_NAME, TXT_ERROR_NON_EXISTING_OPERATION, TXT_ERROR_OPEN, TXT_ERROR_OPERATION_EXISTS, TXT_ERROR_TRIGGER_FAILED, TXT_INPUT_OPERAND_DIALOG_TITLE, TXT_LABEL_CLOCK, TXT_LABEL_EDITOR, TXT_LABEL_END, TXT_LABEL_FORMAT, TXT_LABEL_HAS_BEHAVIOR, TXT_LABEL_MODE, TXT_LABEL_MODULE_NAME, TXT_LABEL_NO_BEHAVIOR, TXT_LABEL_OPERATION_NAME, TXT_LABEL_PC, TXT_LABEL_RA, TXT_LABEL_READY, TXT_LABEL_START, TXT_LABEL_SYS_CALL_HANDLER, TXT_LABEL_SYS_CALL_NUMBER, TXT_LABEL_UPDATE, TXT_MEMORY_DIALOG_TITLE, TXT_MENU_ABOUT, TXT_MENU_ADD_MODULE, TXT_MENU_ADD_OPERATION, TXT_MENU_BUILD, TXT_MENU_BUILD_ALL, TXT_MENU_FILE, TXT_MENU_HELP, TXT_MENU_MEMORY, TXT_MENU_MODIFY_BEHAVIOR, TXT_MENU_MODIFY_PROPERTIES, TXT_MENU_OPTIONS, TXT_MENU_QUIT, TXT_MENU_REMOVE_MODULE, TXT_MENU_REMOVE_OPERATION, TXT_MENU_SIMULATE, TXT_MENU_TOOLS, TXT_MENU_USER_MANUAL, TXT_MSG_BUILD_OK, TXT_OPTIONS_DIALOG_TITLE, TXT_OUTPUT_OPERAND_DIALOG_TITLE, TXT_PROPERTY_DIALOG_TITLE, TXT_QUESTION_REMOVE_BEHAVIOR_FILE, TXT_QUESTION_REMOVE_MODULE, TXT_QUESTION_REMOVE_OPERATION, TXT_QUESTION_SAVE_PROPERTIES, TXT_ROW_AFFECTED_BY, TXT_ROW_AFFECTS, TXT_ROW_CAN_SWAP, TXT_ROW_CAN_TRAP, TXT_ROW_CLOCKED, TXT_ROW_DESCRIPTION, TXT_ROW_FALSE, TXT_ROW_HAS_BEHAVIOR, TXT_ROW_HAS_SIDE_EFFECTS, TXT_ROW_ID, TXT_ROW_INPUT_OPERANDS, TXT_ROW_INPUTS, TXT_ROW_MEMORY_ADDRESS, TXT_ROW_MEMORY_DATA, TXT_ROW_NAME, TXT_ROW_NO, TXT_ROW_OUTPUT_OPERANDS, TXT_ROW_OUTPUTS, TXT_ROW_READS_MEMORY, TXT_ROW_TRUE, TXT_ROW_TYPE, TXT_ROW_WRITES_MEMORY, TXT_ROW_YES, TXT_SIMULATE_DIALOG_TITLE, TXT_SIMULATION_INFO_DIALOG_TITLE, TXT_STATUS_COMPILE_FAILED, TXT_STATUS_COMPILE_SUCCESS, TXT_STATUS_COMPILING, TXT_STATUS_MODULE_SELECTED, TXT_STATUS_OPERATION_SELECTED, TXT_STATUS_PATH_SELECTED, TXT_USER_MANUAL_TITLE, and TXT_XML_RESULT_DIALOG_TITLE.

Referenced by instance().

Here is the call graph for this function:

◆ ~OSEdTextGenerator()

OSEdTextGenerator::~OSEdTextGenerator ( )
privatevirtual

Destructor.

Definition at line 205 of file OSEdTextGenerator.cc.

205  {
206 }

Member Function Documentation

◆ destroy()

void OSEdTextGenerator::destroy ( )
static

Destroys the only instance of text generator.

Definition at line 225 of file OSEdTextGenerator.cc.

225  {
226  if (instance_ != NULL) {
227  delete instance_;
228  instance_ = NULL;
229  }
230 }

References instance_.

Referenced by OSEd::OnExit().

◆ instance()

OSEdTextGenerator & OSEdTextGenerator::instance ( )
static

Returns an instance of text generator.

Returns
Instance of text generator.

Definition at line 214 of file OSEdTextGenerator.cc.

214  {
215  if (instance_ == NULL) {
217  }
218  return *instance_;
219 }

References instance_, and OSEdTextGenerator().

Referenced by OSEdAddModuleCmd::Do(), OSEdBuildAllCmd::Do(), OSEdBuildCmd::Do(), OSEdRemoveModuleCmd::Do(), OSEdRemoveOperationCmd::Do(), OSEdUserManualCmd::Do(), OSEdModifyBehaviorCmd::Do(), OSEdPropertiesCmd::Do(), DropDownMenu::DropDownMenu(), OSEdInfoView::insertOperationPropertyColumns(), OSEdInfoView::moduleView(), OperationPropertyDialog::onAddAffectedBy(), OperationPropertyDialog::onAddAffects(), OSEdMainFrame::onCommandEvent(), OSEdInfoView::onDropDownMenu(), OSEdTreeView::onDropDownMenu(), OSEd::OnInit(), OSEdTreeView::onItemSelected(), AddModuleDialog::onOk(), ResultDialog::onOpen(), OperationPropertyDialog::onOpen(), OSEdOptionsDialog::onSave(), OSEdInfoView::onSelection(), OSEdInfoView::operationPropertyView(), OSEdInfoView::operationView(), OSEdMainFrame::OSEdMainFrame(), OSEdInfoView::pathView(), OperationPropertyDialog::setBehaviorLabel(), OSEdOptionsDialog::setTexts(), OSEdAboutDialog::setTexts(), AddModuleDialog::setTexts(), ResultDialog::setTexts(), SimulationInfoDialog::setTexts(), MemoryDialog::setTexts(), OutputOperandDialog::setTexts(), InputOperandDialog::setTexts(), SimulateDialog::setTexts(), OperationDAGDialog::setTexts(), OperationPropertyDialog::setTexts(), SimulateDialog::showOrHideRegisters(), SimulationInfoDialog::SimulationInfoDialog(), OperationPropertyDialog::updateOperation(), and OSEdInfoView::writeStaticPropertiesOfOperation().

Here is the call graph for this function:

Member Data Documentation

◆ instance_

OSEdTextGenerator * OSEdTextGenerator::instance_ = NULL
staticprivate

Static instance of text generator.

Definition at line 231 of file OSEdTextGenerator.hh.

Referenced by destroy(), and instance().


The documentation for this class was generated from the following files:
OSEdTextGenerator::TXT_ERROR_MODULE_EXISTS
@ TXT_ERROR_MODULE_EXISTS
Module exists error.
Definition: OSEdTextGenerator.hh:151
OSEdTextGenerator::TXT_ROW_CAN_TRAP
@ TXT_ROW_CAN_TRAP
Can trap row label.
Definition: OSEdTextGenerator.hh:191
OSEdTextGenerator::TXT_LABEL_RA
@ TXT_LABEL_RA
Return address label.
Definition: OSEdTextGenerator.hh:62
OSEdTextGenerator::TXT_ROW_CLOCKED
@ TXT_ROW_CLOCKED
Clocked row label.
Definition: OSEdTextGenerator.hh:193
OSEdTextGenerator::TXT_ROW_INPUT_OPERANDS
@ TXT_ROW_INPUT_OPERANDS
Input operands row label.
Definition: OSEdTextGenerator.hh:196
OSEdTextGenerator::TXT_BUTTON_SHOW_REGISTERS
@ TXT_BUTTON_SHOW_REGISTERS
Show registers button label.
Definition: OSEdTextGenerator.hh:82
OSEdTextGenerator::TXT_LABEL_START
@ TXT_LABEL_START
Memory start label.
Definition: OSEdTextGenerator.hh:67
OSEdTextGenerator::TXT_MENU_USER_MANUAL
@ TXT_MENU_USER_MANUAL
User manual menu label.
Definition: OSEdTextGenerator.hh:176
OSEdTextGenerator::TXT_BUILD_RESULT_DIALOG_TITLE
@ TXT_BUILD_RESULT_DIALOG_TITLE
Build result dialog title.
Definition: OSEdTextGenerator.hh:115
OSEdTextGenerator::TXT_QUESTION_REMOVE_OPERATION
@ TXT_QUESTION_REMOVE_OPERATION
Remove operation question.
Definition: OSEdTextGenerator.hh:211
OSEdTextGenerator::TXT_ERROR_CAN_NOT_SAVE
@ TXT_ERROR_CAN_NOT_SAVE
Error when options can not be saved.
Definition: OSEdTextGenerator.hh:142
OSEdTextGenerator::TXT_COLUMN_ELEMENT_WIDTH
@ TXT_COLUMN_ELEMENT_WIDTH
Operand element width header.
Definition: OSEdTextGenerator.hh:105
OSEdTextGenerator::TXT_LABEL_CLOCK
@ TXT_LABEL_CLOCK
Clock label.
Definition: OSEdTextGenerator.hh:60
OSEdTextGenerator::TXT_ROW_YES
@ TXT_ROW_YES
Yes text.
Definition: OSEdTextGenerator.hh:199
OSEdTextGenerator::TXT_ABOUT
@ TXT_ABOUT
About text.
Definition: OSEdTextGenerator.hh:161
OSEdTextGenerator::TXT_BUTTON_CLOSE
@ TXT_BUTTON_CLOSE
Close button label.
Definition: OSEdTextGenerator.hh:81
OSEdTextGenerator::TXT_LABEL_END
@ TXT_LABEL_END
Memory end label.
Definition: OSEdTextGenerator.hh:66
OSEdTextGenerator::TXT_ROW_WRITES_MEMORY
@ TXT_ROW_WRITES_MEMORY
Writes memory row label.
Definition: OSEdTextGenerator.hh:190
OSEdTextGenerator::TXT_SIMULATE_DIALOG_TITLE
@ TXT_SIMULATE_DIALOG_TITLE
Simulate dialog title.
Definition: OSEdTextGenerator.hh:113
OSEdTextGenerator::TXT_ERROR_CAN_NOT_CREATE_OP
@ TXT_ERROR_CAN_NOT_CREATE_OP
Error when can not create operation.
Definition: OSEdTextGenerator.hh:137
OSEdTextGenerator::TXT_LABEL_SYS_CALL_NUMBER
@ TXT_LABEL_SYS_CALL_NUMBER
Sys call number label.
Definition: OSEdTextGenerator.hh:64
OSEdTextGenerator::TXT_BUTTON_TRIGGER
@ TXT_BUTTON_TRIGGER
Trigger button label.
Definition: OSEdTextGenerator.hh:72
OSEdTextGenerator::TXT_BUTTON_NEW
@ TXT_BUTTON_NEW
New button label.
Definition: OSEdTextGenerator.hh:78
OSEdTextGenerator::TXT_ERROR_CAN_NOT_MODIFY
@ TXT_ERROR_CAN_NOT_MODIFY
Error when can not modify.
Definition: OSEdTextGenerator.hh:133
OSEdTextGenerator::TXT_CHECKBOX_HAS_SIDE_EFFECTS
@ TXT_CHECKBOX_HAS_SIDE_EFFECTS
Has side effects label.
Definition: OSEdTextGenerator.hh:90
OSEdTextGenerator::TXT_ROW_OUTPUTS
@ TXT_ROW_OUTPUTS
Outputs row label.
Definition: OSEdTextGenerator.hh:186
OSEdTextGenerator::TXT_ERROR_CAN_NOT_REMOVE_OPERATION
@ TXT_ERROR_CAN_NOT_REMOVE_OPERATION
Error when operation can not be removed.
Definition: OSEdTextGenerator.hh:148
OSEdTextGenerator::TXT_XML_RESULT_DIALOG_TITLE
@ TXT_XML_RESULT_DIALOG_TITLE
XML result dialog title.
Definition: OSEdTextGenerator.hh:117
OSEdTextGenerator::TXT_LABEL_FORMAT
@ TXT_LABEL_FORMAT
Format label.
Definition: OSEdTextGenerator.hh:59
OSEdTextGenerator::TXT_STATUS_COMPILING
@ TXT_STATUS_COMPILING
Status bar text when compiling.
Definition: OSEdTextGenerator.hh:219
OSEdTextGenerator::TXT_ROW_CAN_SWAP
@ TXT_ROW_CAN_SWAP
Can swap row label.
Definition: OSEdTextGenerator.hh:203
OSEdTextGenerator::TXT_ROW_HAS_SIDE_EFFECTS
@ TXT_ROW_HAS_SIDE_EFFECTS
Has side effects row label.
Definition: OSEdTextGenerator.hh:192
OSEdTextGenerator::TXT_STATUS_MODULE_SELECTED
@ TXT_STATUS_MODULE_SELECTED
Status bar text when module is selected.
Definition: OSEdTextGenerator.hh:215
OSEdTextGenerator::TXT_LABEL_NO_BEHAVIOR
@ TXT_LABEL_NO_BEHAVIOR
No behavior label.
Definition: OSEdTextGenerator.hh:55
OSEdTextGenerator::TXT_SIMULATION_INFO_DIALOG_TITLE
@ TXT_SIMULATION_INFO_DIALOG_TITLE
Simulation info dialog title.
Definition: OSEdTextGenerator.hh:119
OSEdTextGenerator::TXT_ERROR_OPERATION_EXISTS
@ TXT_ERROR_OPERATION_EXISTS
Operation exists error.
Definition: OSEdTextGenerator.hh:152
OSEdTextGenerator::TXT_LABEL_OPERATION_NAME
@ TXT_LABEL_OPERATION_NAME
Operation name label.
Definition: OSEdTextGenerator.hh:52
OSEdTextGenerator::TXT_MSG_BUILD_OK
@ TXT_MSG_BUILD_OK
Build ok message.
Definition: OSEdTextGenerator.hh:158
OSEdTextGenerator::TXT_ROW_FALSE
@ TXT_ROW_FALSE
False text.
Definition: OSEdTextGenerator.hh:189
OSEdTextGenerator::TXT_COLUMN_VALUE
@ TXT_COLUMN_VALUE
Value column header.
Definition: OSEdTextGenerator.hh:99
OSEdTextGenerator::TXT_BUTTON_DELETE
@ TXT_BUTTON_DELETE
Delete button label.
Definition: OSEdTextGenerator.hh:77
OSEdTextGenerator::TXT_CHECKBOX_CAN_TRAP
@ TXT_CHECKBOX_CAN_TRAP
Can trap label.
Definition: OSEdTextGenerator.hh:89
OSEdTextGenerator::TXT_ROW_MEMORY_ADDRESS
@ TXT_ROW_MEMORY_ADDRESS
Memory address row label.
Definition: OSEdTextGenerator.hh:202
OSEdTextGenerator::TXT_CHECKBOX_WRITES_MEMORY
@ TXT_CHECKBOX_WRITES_MEMORY
Writes memory label.
Definition: OSEdTextGenerator.hh:88
OSEdTextGenerator::TXT_CHECKBOX_READS_MEMORY
@ TXT_CHECKBOX_READS_MEMORY
Reads memory label.
Definition: OSEdTextGenerator.hh:87
OSEdTextGenerator::TXT_OPTIONS_DIALOG_TITLE
@ TXT_OPTIONS_DIALOG_TITLE
Options dialog title.
Definition: OSEdTextGenerator.hh:114
OSEdTextGenerator::TXT_BUTTON_MODIFY
@ TXT_BUTTON_MODIFY
Modify button label.
Definition: OSEdTextGenerator.hh:70
OSEdTextGenerator::TXT_BUTTON_BROWSE
@ TXT_BUTTON_BROWSE
Browse button label.
Definition: OSEdTextGenerator.hh:79
OSEdTextGenerator::TXT_COLUMN_ELEMENT_COUNT
@ TXT_COLUMN_ELEMENT_COUNT
Operand element count header.
Definition: OSEdTextGenerator.hh:106
OSEdTextGenerator::TXT_MENU_FILE
@ TXT_MENU_FILE
File menu label.
Definition: OSEdTextGenerator.hh:166
OSEdTextGenerator::TXT_LABEL_MODE
@ TXT_LABEL_MODE
Mode label.
Definition: OSEdTextGenerator.hh:65
OSEdTextGenerator::TXT_BOX_AFFECTED_BY
@ TXT_BOX_AFFECTED_BY
Affected by sizer label.
Definition: OSEdTextGenerator.hh:124
OSEdTextGenerator::TXT_BOX_CAN_SWAP
@ TXT_BOX_CAN_SWAP
Can swap sizer label.
Definition: OSEdTextGenerator.hh:127
OSEdTextGenerator::TXT_COLUMN_SEARCH_PATHS
@ TXT_COLUMN_SEARCH_PATHS
Search path column header.
Definition: OSEdTextGenerator.hh:100
OSEdTextGenerator::TXT_ROW_NO
@ TXT_ROW_NO
No text.
Definition: OSEdTextGenerator.hh:200
OSEdTextGenerator::TXT_ERROR_CAN_NOT_CREATE_MOD
@ TXT_ERROR_CAN_NOT_CREATE_MOD
Error when can not create module.
Definition: OSEdTextGenerator.hh:134
Texts::TextGenerator::addText
virtual void addText(int textId, const std::string &templateString)
Definition: TextGenerator.cc:118
OSEdTextGenerator::TXT_BUTTON_RESET
@ TXT_BUTTON_RESET
Reset button label.
Definition: OSEdTextGenerator.hh:80
OSEdTextGenerator::TXT_STATUS_COMPILE_FAILED
@ TXT_STATUS_COMPILE_FAILED
Status bar text when compilation failed.
Definition: OSEdTextGenerator.hh:222
OSEdTextGenerator::TXT_COLUMN_OPERATION
@ TXT_COLUMN_OPERATION
Operation column header.
Definition: OSEdTextGenerator.hh:96
OSEdTextGenerator::TXT_BUTTON_OPEN
@ TXT_BUTTON_OPEN
Open button label.
Definition: OSEdTextGenerator.hh:71
OSEdTextGenerator::OSEdTextGenerator
OSEdTextGenerator()
Definition: OSEdTextGenerator.cc:40
OSEdTextGenerator::TXT_QUESTION_SAVE_PROPERTIES
@ TXT_QUESTION_SAVE_PROPERTIES
Save properties question.
Definition: OSEdTextGenerator.hh:210
OSEdTextGenerator::TXT_LABEL_HAS_BEHAVIOR
@ TXT_LABEL_HAS_BEHAVIOR
Has behavior label.
Definition: OSEdTextGenerator.hh:54
OSEdTextGenerator::TXT_BUTTON_UNDO
@ TXT_BUTTON_UNDO
Undo button label.
Definition: OSEdTextGenerator.hh:76
OSEdTextGenerator::TXT_MENU_MODIFY_PROPERTIES
@ TXT_MENU_MODIFY_PROPERTIES
Modify properties menu label.
Definition: OSEdTextGenerator.hh:170
OSEdTextGenerator::TXT_ROW_HAS_BEHAVIOR
@ TXT_ROW_HAS_BEHAVIOR
Has behavior row label.
Definition: OSEdTextGenerator.hh:205
OSEdTextGenerator::TXT_ERROR_NO_EDITOR
@ TXT_ERROR_NO_EDITOR
Error when no editor is given.
Definition: OSEdTextGenerator.hh:140
OSEdTextGenerator::TXT_USER_MANUAL_TITLE
@ TXT_USER_MANUAL_TITLE
User manual dialog title.
Definition: OSEdTextGenerator.hh:116
OSEdTextGenerator::TXT_LABEL_READY
@ TXT_LABEL_READY
Ready label.
Definition: OSEdTextGenerator.hh:56
OSEdTextGenerator::TXT_ABOUT_DIALOG_TITLE
@ TXT_ABOUT_DIALOG_TITLE
About dialog title.
Definition: OSEdTextGenerator.hh:118
OSEdTextGenerator::TXT_BUTTON_UPDATE
@ TXT_BUTTON_UPDATE
Update button label.
Definition: OSEdTextGenerator.hh:84
OSEdTextGenerator::TXT_STATUS_COMPILE_SUCCESS
@ TXT_STATUS_COMPILE_SUCCESS
Status bar text when compiling was successful.
Definition: OSEdTextGenerator.hh:220
OSEdTextGenerator::TXT_MENU_ADD_OPERATION
@ TXT_MENU_ADD_OPERATION
Add operation menu label.
Definition: OSEdTextGenerator.hh:167
OSEdTextGenerator::TXT_ROW_OUTPUT_OPERANDS
@ TXT_ROW_OUTPUT_OPERANDS
Output operands row label.
Definition: OSEdTextGenerator.hh:197
OSEdTextGenerator::TXT_ROW_TYPE
@ TXT_ROW_TYPE
Type row label.
Definition: OSEdTextGenerator.hh:201
OSEdTextGenerator::TXT_ERROR_OPEN
@ TXT_ERROR_OPEN
Error when opening fails.
Definition: OSEdTextGenerator.hh:141
OSEdTextGenerator::TXT_LABEL_SYS_CALL_HANDLER
@ TXT_LABEL_SYS_CALL_HANDLER
Sys call handler label.
Definition: OSEdTextGenerator.hh:63
OSEdTextGenerator::TXT_MENU_ADD_MODULE
@ TXT_MENU_ADD_MODULE
Add module menu label.
Definition: OSEdTextGenerator.hh:169
OSEdTextGenerator::TXT_BUTTON_ADVANCE_LOCK
@ TXT_BUTTON_ADVANCE_LOCK
Advance Lock button label.
Definition: OSEdTextGenerator.hh:74
OSEdTextGenerator::TXT_COLUMN_TYPE
@ TXT_COLUMN_TYPE
Type column header.
Definition: OSEdTextGenerator.hh:98
OSEdTextGenerator::TXT_CHECKBOX_CLOCKED
@ TXT_CHECKBOX_CLOCKED
Clocked label.
Definition: OSEdTextGenerator.hh:91
OSEdTextGenerator::TXT_ERROR_TRIGGER_FAILED
@ TXT_ERROR_TRIGGER_FAILED
Error when trigger fails.
Definition: OSEdTextGenerator.hh:147
OSEdTextGenerator::TXT_MENU_OPTIONS
@ TXT_MENU_OPTIONS
Option menu label.
Definition: OSEdTextGenerator.hh:164
OSEdTextGenerator::instance_
static OSEdTextGenerator * instance_
Static instance of text generator.
Definition: OSEdTextGenerator.hh:231
OSEdTextGenerator::TXT_ROW_NAME
@ TXT_ROW_NAME
Name row label.
Definition: OSEdTextGenerator.hh:183
OSEdTextGenerator::TXT_ROW_READS_MEMORY
@ TXT_ROW_READS_MEMORY
Reads memory row label.
Definition: OSEdTextGenerator.hh:187
OSEdTextGenerator::TXT_INPUT_OPERAND_DIALOG_TITLE
@ TXT_INPUT_OPERAND_DIALOG_TITLE
Input operand dialog title.
Definition: OSEdTextGenerator.hh:110
OSEdTextGenerator::TXT_ERROR_NO_HANDLER
@ TXT_ERROR_NO_HANDLER
Error when custom command handler is not found.
Definition: OSEdTextGenerator.hh:153
OSEdTextGenerator::TXT_ROW_DESCRIPTION
@ TXT_ROW_DESCRIPTION
Description row label.
Definition: OSEdTextGenerator.hh:184
OSEdTextGenerator::TXT_BOX_INPUT_OPERANDS
@ TXT_BOX_INPUT_OPERANDS
Input operand sizer label.
Definition: OSEdTextGenerator.hh:125
OSEdTextGenerator::TXT_BOX_OUTPUT_VALUES
@ TXT_BOX_OUTPUT_VALUES
Output values sizer label.
Definition: OSEdTextGenerator.hh:129
OSEdTextGenerator::TXT_MENU_QUIT
@ TXT_MENU_QUIT
Quit menu label.
Definition: OSEdTextGenerator.hh:165
OSEdTextGenerator::TXT_MENU_TOOLS
@ TXT_MENU_TOOLS
Tools menu label.
Definition: OSEdTextGenerator.hh:174
OSEdTextGenerator::TXT_MENU_HELP
@ TXT_MENU_HELP
Help menu label.
Definition: OSEdTextGenerator.hh:177
OSEdTextGenerator::TXT_LABEL_MODULE_NAME
@ TXT_LABEL_MODULE_NAME
Module name label.
Definition: OSEdTextGenerator.hh:53
OSEdTextGenerator::TXT_ADD_MODULE_DIALOG_TITLE
@ TXT_ADD_MODULE_DIALOG_TITLE
Add module dialog title.
Definition: OSEdTextGenerator.hh:112
OSEdTextGenerator::TXT_MENU_BUILD_ALL
@ TXT_MENU_BUILD_ALL
Build all menu label.
Definition: OSEdTextGenerator.hh:172
OSEdTextGenerator::TXT_OUTPUT_OPERAND_DIALOG_TITLE
@ TXT_OUTPUT_OPERAND_DIALOG_TITLE
Output operand dialog title.
Definition: OSEdTextGenerator.hh:111
OSEdTextGenerator::TXT_ERROR_NON_EXISTING_OPERATION
@ TXT_ERROR_NON_EXISTING_OPERATION
Error when operation does not exist.
Definition: OSEdTextGenerator.hh:145
OSEdTextGenerator::TXT_ROW_TRUE
@ TXT_ROW_TRUE
True text.
Definition: OSEdTextGenerator.hh:188
OSEdTextGenerator::TXT_ROW_AFFECTED_BY
@ TXT_ROW_AFFECTED_BY
Affected by row label.
Definition: OSEdTextGenerator.hh:194
OSEdTextGenerator::TXT_ERROR_NO_NAME
@ TXT_ERROR_NO_NAME
Error when no name is given.
Definition: OSEdTextGenerator.hh:132
OSEdTextGenerator::TXT_COLUMN_PROPERTY
@ TXT_COLUMN_PROPERTY
Property column header.
Definition: OSEdTextGenerator.hh:103
OSEdTextGenerator::TXT_LABEL_PC
@ TXT_LABEL_PC
Program counter label.
Definition: OSEdTextGenerator.hh:61
OSEdTextGenerator::TXT_COLUMN_OPERAND_VALUE
@ TXT_COLUMN_OPERAND_VALUE
Operand value column header.
Definition: OSEdTextGenerator.hh:104
OSEdTextGenerator::TXT_MENU_REMOVE_MODULE
@ TXT_MENU_REMOVE_MODULE
Remove module menu label.
Definition: OSEdTextGenerator.hh:178
OSEdTextGenerator::TXT_LABEL_UPDATE
@ TXT_LABEL_UPDATE
Update label.
Definition: OSEdTextGenerator.hh:57
OSEdTextGenerator::TXT_BUTTON_LATE_RESULT
@ TXT_BUTTON_LATE_RESULT
Late result button label.
Definition: OSEdTextGenerator.hh:73
OSEdTextGenerator::TXT_BOX_INPUT_VALUES
@ TXT_BOX_INPUT_VALUES
Input values sizer label.
Definition: OSEdTextGenerator.hh:128
OSEdTextGenerator::TXT_COLUMN_OPERAND
@ TXT_COLUMN_OPERAND
Operand column header.
Definition: OSEdTextGenerator.hh:97
OSEdTextGenerator::TXT_MENU_MODIFY_BEHAVIOR
@ TXT_MENU_MODIFY_BEHAVIOR
Modify behavior menu label.
Definition: OSEdTextGenerator.hh:179
OSEdTextGenerator::TXT_LABEL_EDITOR
@ TXT_LABEL_EDITOR
Editor label.
Definition: OSEdTextGenerator.hh:58
OSEdTextGenerator::TXT_STATUS_PATH_SELECTED
@ TXT_STATUS_PATH_SELECTED
Status bar text when path is selected.
Definition: OSEdTextGenerator.hh:213
OSEdTextGenerator::TXT_ROW_INPUTS
@ TXT_ROW_INPUTS
Inputs row label.
Definition: OSEdTextGenerator.hh:185
OSEdTextGenerator::TXT_MENU_REMOVE_OPERATION
@ TXT_MENU_REMOVE_OPERATION
Remove operation menu label.
Definition: OSEdTextGenerator.hh:168
OSEdTextGenerator::TXT_BOX_OUTPUT_OPERANDS
@ TXT_BOX_OUTPUT_OPERANDS
Output operand sizer label.
Definition: OSEdTextGenerator.hh:126
OSEdTextGenerator::TXT_ROW_AFFECTS
@ TXT_ROW_AFFECTS
Affects row label.
Definition: OSEdTextGenerator.hh:195
OSEdTextGenerator::TXT_MENU_ABOUT
@ TXT_MENU_ABOUT
About menu label.
Definition: OSEdTextGenerator.hh:175
OSEdTextGenerator::TXT_ERROR_MOD_NAME
@ TXT_ERROR_MOD_NAME
Module name is erronous.
Definition: OSEdTextGenerator.hh:155
OSEdTextGenerator::TXT_COLUMN_MODULES
@ TXT_COLUMN_MODULES
Module column header.
Definition: OSEdTextGenerator.hh:101
OSEdTextGenerator::TXT_MEMORY_DIALOG_TITLE
@ TXT_MEMORY_DIALOG_TITLE
Memory dialog title.
Definition: OSEdTextGenerator.hh:120
OSEdTextGenerator::TXT_MENU_MEMORY
@ TXT_MENU_MEMORY
Memory menu label.
Definition: OSEdTextGenerator.hh:180
OSEdTextGenerator::TXT_BUTTON_SAVE
@ TXT_BUTTON_SAVE
Save button label.
Definition: OSEdTextGenerator.hh:75
OSEdTextGenerator::TXT_BOX_AFFECTS
@ TXT_BOX_AFFECTS
Affects sizer label.
Definition: OSEdTextGenerator.hh:123
OSEdTextGenerator::TXT_BUTTON_HIDE_REGISTERS
@ TXT_BUTTON_HIDE_REGISTERS
Hide registers button label.
Definition: OSEdTextGenerator.hh:83
OSEdTextGenerator::TXT_CHECKBOX_MEM_ADDRESS
@ TXT_CHECKBOX_MEM_ADDRESS
Memory address label.
Definition: OSEdTextGenerator.hh:93
OSEdTextGenerator::TXT_ROW_ID
@ TXT_ROW_ID
Id row label.
Definition: OSEdTextGenerator.hh:198
OSEdTextGenerator::TXT_ROW_MEMORY_DATA
@ TXT_ROW_MEMORY_DATA
Memory data row label.
Definition: OSEdTextGenerator.hh:204
OSEdTextGenerator::TXT_MENU_SIMULATE
@ TXT_MENU_SIMULATE
Simulate menu label.
Definition: OSEdTextGenerator.hh:173
OSEdTextGenerator::TXT_QUESTION_REMOVE_MODULE
@ TXT_QUESTION_REMOVE_MODULE
Remove module question.
Definition: OSEdTextGenerator.hh:208
OSEdTextGenerator::TXT_MENU_BUILD
@ TXT_MENU_BUILD
Build menu label.
Definition: OSEdTextGenerator.hh:171
Texts::LAST__
@ LAST__
Definition: TextGenerator.hh:68
OSEdTextGenerator::TXT_QUESTION_REMOVE_BEHAVIOR_FILE
@ TXT_QUESTION_REMOVE_BEHAVIOR_FILE
Remove behavior question.
Definition: OSEdTextGenerator.hh:209
OSEdTextGenerator::TXT_PROPERTY_DIALOG_TITLE
@ TXT_PROPERTY_DIALOG_TITLE
Property dialog title.
Definition: OSEdTextGenerator.hh:109
OSEdTextGenerator::TXT_COLUMN_OPERATIONS
@ TXT_COLUMN_OPERATIONS
Operations column header.
Definition: OSEdTextGenerator.hh:102
OSEdTextGenerator::TXT_STATUS_OPERATION_SELECTED
@ TXT_STATUS_OPERATION_SELECTED
Status bar text when operation is selected.
Definition: OSEdTextGenerator.hh:217
OSEdTextGenerator::TXT_CHECKBOX_MEM_DATA
@ TXT_CHECKBOX_MEM_DATA
Memory data label.
Definition: OSEdTextGenerator.hh:92