CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
FWPathsPopup Class Reference

#include <FWPathsPopup.h>

Inheritance diagram for FWPathsPopup:

Public Member Functions

void applyEditor ()
 
void cellClicked (Int_t iRow, Int_t iColumn, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY)
 
 FWPathsPopup (FWFFLooper *, FWGUIManager *)
 
virtual Bool_t HandleKey (Event_t *event)
 
bool & hasChanges ()
 
void postEvent (edm::Event const &event)
 
void postModuleEvent (edm::StreamContext const &, edm::ModuleCallingContext const &)
 
void preModuleEvent (edm::StreamContext const &, edm::ModuleCallingContext const &)
 
void scheduleReloadEvent ()
 
void setup (const edm::ScheduleInfo *info)
 
void updateFilterString (const char *str)
 
void windowIsClosing ()
 

Private Member Functions

 ClassDef (FWPathsPopup, 0)
 

Private Attributes

TGTextButton * m_apply
 
FWGUIManagerm_guiManager
 
bool m_hasChanges
 
const edm::ScheduleInfom_info
 
FWFFLooperm_looper
 
TGLabel * m_moduleLabel
 
TGLabel * m_moduleName
 
FWPSetTableManagerm_psTable
 
TGTextEntry * m_search
 
FWTableWidgetm_tableWidget
 

Detailed Description

Definition at line 28 of file FWPathsPopup.h.

Constructor & Destructor Documentation

FWPathsPopup::FWPathsPopup ( FWFFLooper looper,
FWGUIManager guiManager 
)

Definition at line 39 of file FWPathsPopup.cc.

Member Function Documentation

void FWPathsPopup::applyEditor ( )

Proxies the applyEditor() method in the model so that it can be connected to GUI, signals.

Definition at line 110 of file FWPathsPopup.cc.

void FWPathsPopup::cellClicked ( Int_t  iRow,
Int_t  iColumn,
Int_t  iButton,
Int_t  iKeyMod,
Int_t  iGlobalX,
Int_t  iGlobalY 
)

Handles clicking on the table cells.

Clicking on a cell in the first column opens / closes a given node. Clicking on a cell in the second column moves the editor to that cell.

Definition at line 124 of file FWPathsPopup.cc.

FWPathsPopup::ClassDef ( FWPathsPopup  ,
 
)
private
Bool_t FWPathsPopup::HandleKey ( Event_t *  event)
virtual

Handle pressing of esc.

Definition at line 94 of file FWPathsPopup.cc.

bool& FWPathsPopup::hasChanges ( )
inline

Definition at line 37 of file FWPathsPopup.h.

References m_hasChanges.

37 { return m_hasChanges; }
bool m_hasChanges
Definition: FWPathsPopup.h:52
void FWPathsPopup::postEvent ( edm::Event const &  event)

Definition at line 184 of file FWPathsPopup.cc.

void FWPathsPopup::postModuleEvent ( edm::StreamContext const &  s,
edm::ModuleCallingContext const &  mcc 
)

Gets called by CMSSW as modules are about to be processed.

Definition at line 168 of file FWPathsPopup.cc.

void FWPathsPopup::preModuleEvent ( edm::StreamContext const &  s,
edm::ModuleCallingContext const &  mcc 
)

Gets called by CMSSW as we process modules.

Definition at line 176 of file FWPathsPopup.cc.

void FWPathsPopup::scheduleReloadEvent ( )

Modifies the module and asks the looper to reload the event.

  1. Read the configuration snippet from the GUI,
  2. Use the python interpreter to parse it and get the new parameter set.
  3. Notify the looper about the changes.

FIXME: implement 2 and 3.

Definition at line 237 of file FWPathsPopup.cc.

void FWPathsPopup::setup ( const edm::ScheduleInfo info)

Finish the setup of the GUI

Definition at line 160 of file FWPathsPopup.cc.

void FWPathsPopup::updateFilterString ( const char *  str)

Definition at line 151 of file FWPathsPopup.cc.

void FWPathsPopup::windowIsClosing ( )

Definition at line 33 of file FWPathsPopup.cc.

Member Data Documentation

TGTextButton* FWPathsPopup::m_apply
private

Definition at line 57 of file FWPathsPopup.h.

FWGUIManager* FWPathsPopup::m_guiManager
private

Definition at line 61 of file FWPathsPopup.h.

bool FWPathsPopup::m_hasChanges
private

Definition at line 52 of file FWPathsPopup.h.

Referenced by hasChanges().

const edm::ScheduleInfo* FWPathsPopup::m_info
private

Definition at line 47 of file FWPathsPopup.h.

FWFFLooper* FWPathsPopup::m_looper
private

Definition at line 50 of file FWPathsPopup.h.

TGLabel* FWPathsPopup::m_moduleLabel
private

Definition at line 54 of file FWPathsPopup.h.

TGLabel* FWPathsPopup::m_moduleName
private

Definition at line 55 of file FWPathsPopup.h.

FWPSetTableManager* FWPathsPopup::m_psTable
private

Definition at line 58 of file FWPathsPopup.h.

TGTextEntry* FWPathsPopup::m_search
private

Definition at line 60 of file FWPathsPopup.h.

FWTableWidget* FWPathsPopup::m_tableWidget
private

Definition at line 59 of file FWPathsPopup.h.