OpenASIP  2.0
Public Types | Static Public Attributes | List of all members
OSEdConstants Class Reference

#include <OSEdConstants.hh>

Collaboration diagram for OSEdConstants:
Collaboration graph

Public Types

enum  CommandID {
  CMD_QUIT = 1, CMD_ADD_MODULE, CMD_ADD_OPERATION, CMD_PROPERTIES,
  CMD_REMOVE_MODULE, CMD_REMOVE_OPERATION, CMD_MODIFY_BEHAVIOR, CMD_BUILD,
  CMD_BUILD_ALL, CMD_SIMULATE, CMD_ABOUT, CMD_OPTIONS,
  CMD_USER_MANUAL, CMD_MEMORY, CMD_TREE_ITEM, CMD_INFO_VIEW
}
 

Static Public Attributes

static const std::string CMD_NAME_QUIT = "Quit"
 Quit command name. More...
 
static const std::string CMD_NAME_ABOUT = "About"
 About command name. More...
 
static const std::string CMD_NAME_PROPERTIES = "Operation properties"
 Operation properties command name. More...
 
static const std::string CMD_NAME_ADD_MODULE = "Add module"
 Add module command name. More...
 
static const std::string CMD_NAME_ADD_OPERATION = "Add operation"
 Add operation command name. More...
 
static const std::string CMD_NAME_SIMULATE = "Simulate"
 Simulate command name. More...
 
static const std::string CMD_NAME_OPTIONS = "Options"
 Option command name. More...
 
static const std::string CMD_NAME_BUILD = "Build"
 Build command name. More...
 
static const std::string CMD_NAME_BUILD_ALL = "Build all"
 Build all command name. More...
 
static const std::string CMD_NAME_USER_MANUAL = "User manual"
 User manual command name. More...
 
static const std::string CMD_NAME_REMOVE_MODULE = "Remove module"
 Remove module command name. More...
 
static const std::string CMD_NAME_MODIFY_BEHAVIOR = "Modify behavior"
 Modify behavior command name. More...
 
static const std::string CMD_NAME_REMOVE_OPERATION = "Remove operation"
 Remove operation command name. More...
 
static const std::string CMD_NAME_MEMORY = "Memory"
 Investigate memory command name. More...
 
static const std::string CONF_FILE_NAME = "OSEd.conf"
 Configuration file name. More...
 
static const std::string USER_MANUAL_NAME = "index.html"
 Name of the user manual. More...
 
static const std::string BEHAVIOR_TEMPLATE_FILE_NAME
 Name of the behavior template file name. More...
 
static const std::string DEFAULT_EDITOR = Environment::defaultTextEditorPath()
 Default editor name. More...
 
static const wxString APPLICATION_NAME = _T("OSEd")
 The name of the application. More...
 
static const int DEFAULT_COLUMN_WIDTH = 200
 Default column width. More...
 
static const std::string LOGO_NAME = "logo.png"
 Name of the logo. More...
 
static const wxString OSED_COPYRIGHT
 Copyright string. More...
 

Detailed Description

Holds all the constants for OSEd.

Definition at line 45 of file OSEdConstants.hh.

Member Enumeration Documentation

◆ CommandID

All the command ids.

Enumerator
CMD_QUIT 

Quit command id.

CMD_ADD_MODULE 

Add module command id.

CMD_ADD_OPERATION 

Add operation command id.

CMD_PROPERTIES 

Operation properties command id.

CMD_REMOVE_MODULE 

Remove module command id.

CMD_REMOVE_OPERATION 

Remove operation command id.

CMD_MODIFY_BEHAVIOR 

Modify operation behavior command id.

CMD_BUILD 

Build command id.

CMD_BUILD_ALL 

Build all command id.

CMD_SIMULATE 

Simulate command id.

CMD_ABOUT 

About command id.

CMD_OPTIONS 

Option command id.

CMD_USER_MANUAL 

User manual command id.

CMD_MEMORY 

Memory command id.

CMD_TREE_ITEM 

Id for tree events.

CMD_INFO_VIEW 

Id for list events.

Definition at line 90 of file OSEdConstants.hh.

90  {
91  CMD_QUIT = 1, ///< Quit command id.
92  CMD_ADD_MODULE, ///< Add module command id.
93  CMD_ADD_OPERATION, ///< Add operation command id.
94  CMD_PROPERTIES, ///< Operation properties command id.
95  CMD_REMOVE_MODULE, ///< Remove module command id.
96  CMD_REMOVE_OPERATION, ///< Remove operation command id.
97  CMD_MODIFY_BEHAVIOR, ///< Modify operation behavior command id.
98  CMD_BUILD, ///< Build command id.
99  CMD_BUILD_ALL, ///< Build all command id.
100  CMD_SIMULATE, ///< Simulate command id.
101  CMD_ABOUT, ///< About command id.
102  CMD_OPTIONS, ///< Option command id.
103  CMD_USER_MANUAL, ///< User manual command id.
104  CMD_MEMORY, ///< Memory command id.
105  CMD_TREE_ITEM, ///< Id for tree events.
106  CMD_INFO_VIEW ///< Id for list events.
107  };

Member Data Documentation

◆ APPLICATION_NAME

const wxString OSEdConstants::APPLICATION_NAME = _T("OSEd")
static

◆ BEHAVIOR_TEMPLATE_FILE_NAME

const string OSEdConstants::BEHAVIOR_TEMPLATE_FILE_NAME
static
Initial value:
=
"behavior_definition_template.cc"

Name of the behavior template file name.

Definition at line 82 of file OSEdConstants.hh.

Referenced by OSEdModifyBehaviorCmd::Do(), and OperationPropertyDialog::onOpen().

◆ CMD_NAME_ABOUT

const string OSEdConstants::CMD_NAME_ABOUT = "About"
static

About command name.

Definition at line 51 of file OSEdConstants.hh.

◆ CMD_NAME_ADD_MODULE

const string OSEdConstants::CMD_NAME_ADD_MODULE = "Add module"
static

Add module command name.

Definition at line 55 of file OSEdConstants.hh.

◆ CMD_NAME_ADD_OPERATION

const string OSEdConstants::CMD_NAME_ADD_OPERATION = "Add operation"
static

Add operation command name.

Definition at line 57 of file OSEdConstants.hh.

◆ CMD_NAME_BUILD

const string OSEdConstants::CMD_NAME_BUILD = "Build"
static

Build command name.

Definition at line 63 of file OSEdConstants.hh.

◆ CMD_NAME_BUILD_ALL

const string OSEdConstants::CMD_NAME_BUILD_ALL = "Build all"
static

Build all command name.

Definition at line 65 of file OSEdConstants.hh.

◆ CMD_NAME_MEMORY

const string OSEdConstants::CMD_NAME_MEMORY = "Memory"
static

Investigate memory command name.

Definition at line 75 of file OSEdConstants.hh.

◆ CMD_NAME_MODIFY_BEHAVIOR

const string OSEdConstants::CMD_NAME_MODIFY_BEHAVIOR = "Modify behavior"
static

Modify behavior command name.

Definition at line 71 of file OSEdConstants.hh.

◆ CMD_NAME_OPTIONS

const string OSEdConstants::CMD_NAME_OPTIONS = "Options"
static

Option command name.

Definition at line 61 of file OSEdConstants.hh.

◆ CMD_NAME_PROPERTIES

const string OSEdConstants::CMD_NAME_PROPERTIES = "Operation properties"
static

Operation properties command name.

Definition at line 53 of file OSEdConstants.hh.

◆ CMD_NAME_QUIT

const string OSEdConstants::CMD_NAME_QUIT = "Quit"
static

Quit command name.

Definition at line 49 of file OSEdConstants.hh.

◆ CMD_NAME_REMOVE_MODULE

const string OSEdConstants::CMD_NAME_REMOVE_MODULE = "Remove module"
static

Remove module command name.

Definition at line 69 of file OSEdConstants.hh.

◆ CMD_NAME_REMOVE_OPERATION

const string OSEdConstants::CMD_NAME_REMOVE_OPERATION = "Remove operation"
static

Remove operation command name.

Definition at line 73 of file OSEdConstants.hh.

◆ CMD_NAME_SIMULATE

const string OSEdConstants::CMD_NAME_SIMULATE = "Simulate"
static

Simulate command name.

Definition at line 59 of file OSEdConstants.hh.

◆ CMD_NAME_USER_MANUAL

const string OSEdConstants::CMD_NAME_USER_MANUAL = "User manual"
static

User manual command name.

Definition at line 67 of file OSEdConstants.hh.

◆ CONF_FILE_NAME

const string OSEdConstants::CONF_FILE_NAME = "OSEd.conf"
static

Configuration file name.

Definition at line 78 of file OSEdConstants.hh.

Referenced by OSEd::createDefaultOptions(), OSEd::OnInit(), and OSEdOptionsDialog::onSave().

◆ DEFAULT_COLUMN_WIDTH

const int OSEdConstants::DEFAULT_COLUMN_WIDTH = 200
static

◆ DEFAULT_EDITOR

const string OSEdConstants::DEFAULT_EDITOR = Environment::defaultTextEditorPath()
static

Default editor name.

Definition at line 85 of file OSEdConstants.hh.

Referenced by OSEd::createDefaultOptions().

◆ LOGO_NAME

const string OSEdConstants::LOGO_NAME = "logo.png"
static

Name of the logo.

Definition at line 116 of file OSEdConstants.hh.

Referenced by OSEdAboutDialog::createContents(), and OSEdMainFrame::OSEdMainFrame().

◆ OSED_COPYRIGHT

const wxString OSEdConstants::OSED_COPYRIGHT
static
Initial value:
=
_T("Portions of this program are copyright\n"
"\n"
"Xerces (c) 1999-2005 The Apache Software\n"
"wxWidgets (c) 1998 Julian Smart, Robert Roebling \n"
"Tcl (c) 1998-1999 by Scriptics Corporation\n"
"Editline (c) 1997 The NetBSD Foundation, Inc.\n"
"Boost C++ Libraries (c) 2003 Beman Dawes, David Abrahams\n"
"\n"
"For more information see User manual chapter \"Copyright notices\""
)

Copyright string.

Definition at line 119 of file OSEdConstants.hh.

Referenced by OSEdAboutDialog::createContents().

◆ USER_MANUAL_NAME

const string OSEdConstants::USER_MANUAL_NAME = "index.html"
static

Name of the user manual.

Definition at line 80 of file OSEdConstants.hh.

Referenced by OSEdUserManualCmd::userManual().


The documentation for this class was generated from the following files:
OSEdConstants::CMD_QUIT
@ CMD_QUIT
Quit command id.
Definition: OSEdConstants.hh:91
OSEdConstants::CMD_ADD_OPERATION
@ CMD_ADD_OPERATION
Add operation command id.
Definition: OSEdConstants.hh:93
OSEdConstants::CMD_MEMORY
@ CMD_MEMORY
Memory command id.
Definition: OSEdConstants.hh:104
OSEdConstants::CMD_BUILD
@ CMD_BUILD
Build command id.
Definition: OSEdConstants.hh:98
OSEdConstants::CMD_REMOVE_OPERATION
@ CMD_REMOVE_OPERATION
Remove operation command id.
Definition: OSEdConstants.hh:96
OSEdConstants::CMD_PROPERTIES
@ CMD_PROPERTIES
Operation properties command id.
Definition: OSEdConstants.hh:94
OSEdConstants::CMD_SIMULATE
@ CMD_SIMULATE
Simulate command id.
Definition: OSEdConstants.hh:100
OSEdConstants::CMD_INFO_VIEW
@ CMD_INFO_VIEW
Id for list events.
Definition: OSEdConstants.hh:106
OSEdConstants::CMD_REMOVE_MODULE
@ CMD_REMOVE_MODULE
Remove module command id.
Definition: OSEdConstants.hh:95
OSEdConstants::CMD_OPTIONS
@ CMD_OPTIONS
Option command id.
Definition: OSEdConstants.hh:102
OSEdConstants::CMD_USER_MANUAL
@ CMD_USER_MANUAL
User manual command id.
Definition: OSEdConstants.hh:103
OSEdConstants::CMD_ADD_MODULE
@ CMD_ADD_MODULE
Add module command id.
Definition: OSEdConstants.hh:92
OSEdConstants::CMD_TREE_ITEM
@ CMD_TREE_ITEM
Id for tree events.
Definition: OSEdConstants.hh:105
OSEdConstants::CMD_ABOUT
@ CMD_ABOUT
About command id.
Definition: OSEdConstants.hh:101
OSEdConstants::CMD_BUILD_ALL
@ CMD_BUILD_ALL
Build all command id.
Definition: OSEdConstants.hh:99
OSEdConstants::CMD_MODIFY_BEHAVIOR
@ CMD_MODIFY_BEHAVIOR
Modify operation behavior command id.
Definition: OSEdConstants.hh:97