LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
The job pull dow menu. More...
#include "JobMenu.h"
Public Member Functions | |
JobMenu (TGMenuBar *menubar, TGMainFrame *mf) | |
virtual | ~JobMenu () |
void | SetWorkers (const std::vector< std::string > &w) |
void | SetServices (const std::vector< std::string > &w) |
void | HandleMenu (int menu) |
void | EditConfig (int cfg) |
void | EditService (int cfg) |
Private Member Functions | |
int | OpenJob () |
void | ResetJob () |
Private Attributes | |
TGPopupMenu * | fJobMenu |
The file menu. More... | |
TGPopupMenu * | fConfigMenu |
The module configuration menu. More... | |
TGPopupMenu * | fServiceMenu |
The user service configuration menu. More... | |
TGLayoutHints * | fLayout |
How to layout the menu. More... | |
evdb::JobMenu::JobMenu | ( | TGMenuBar * | menubar, |
TGMainFrame * | mf | ||
) |
Definition at line 35 of file JobMenu.cxx.
References fConfigMenu, fJobMenu, fLayout, fServiceMenu, evdb::kM_JOB_OPENXML, and evdb::kM_JOB_RESETJOB.
|
virtual |
void evdb::JobMenu::EditConfig | ( | int | cfg | ) |
Definition at line 136 of file JobMenu.cxx.
Referenced by HandleMenu().
void evdb::JobMenu::EditService | ( | int | cfg | ) |
Definition at line 146 of file JobMenu.cxx.
Referenced by HandleMenu().
void evdb::JobMenu::HandleMenu | ( | int | menu | ) |
Definition at line 114 of file JobMenu.cxx.
References EditConfig(), EditService(), evdb::kM_JOB_EDITCONFIG, evdb::kM_JOB_EDITSERVICE, evdb::kM_JOB_OPENXML, evdb::kM_JOB_RESETJOB, OpenJob(), and ResetJob().
|
private |
|
private |
Definition at line 183 of file JobMenu.cxx.
Referenced by HandleMenu().
void evdb::JobMenu::SetServices | ( | const std::vector< std::string > & | w | ) |
Definition at line 97 of file JobMenu.cxx.
References fConfigMenu, fServiceMenu, and evdb::kM_JOB_EDITSERVICE.
void evdb::JobMenu::SetWorkers | ( | const std::vector< std::string > & | w | ) |
Definition at line 80 of file JobMenu.cxx.
References fConfigMenu, and evdb::kM_JOB_EDITCONFIG.
|
private |
The module configuration menu.
Definition at line 44 of file JobMenu.h.
Referenced by JobMenu(), SetServices(), and SetWorkers().
|
private |
|
private |
How to layout the menu.
Definition at line 46 of file JobMenu.h.
Referenced by JobMenu(), and ~JobMenu().
|
private |
The user service configuration menu.
Definition at line 45 of file JobMenu.h.
Referenced by JobMenu(), and SetServices().