FOX/ObjCryst++  1.10.X (development)
ObjCryst::WXMonteCarloObj Class Reference

Class for Graphical interface to Monte-Carlo objects (Simulated Annealing, Parallel Tempering) More...

+ Inheritance diagram for ObjCryst::WXMonteCarloObj:
+ Collaboration diagram for ObjCryst::WXMonteCarloObj:

Public Member Functions

 WXMonteCarloObj (wxWindow *parent, MonteCarloObj *)
virtual void OnRunOptimization (wxCommandEvent &event)
void UpdateDisplayNbTrial ()
 Called during optimization, to show the user something's still going on...
virtual OptimizationObjGetOptimizationObj ()
virtual const OptimizationObjGetOptimizationObj () const
void OnLSQRefine (wxCommandEvent &event)
- Public Member Functions inherited from ObjCryst::WXOptimizationObj
 WXOptimizationObj (wxWindow *parent, OptimizationObj *)
virtual void CrystUpdate (const bool updateUI=false, const bool mutexlock=false)
 Get new values to be displayed from the underlying object, and raise flag if an UI update is necessary. More...
virtual bool OnChangeName (const int id)
 When a WXFieldName has been changed by the user, it is handled here. More...
virtual void OnSave ()
virtual void OnLoad ()
virtual void OnAddRefinedObject (wxCommandEvent &WXUNUSED(event))
 From the menu.
virtual void AddRefinedObject (RefinableObj &obj)
 Added by the library.
virtual void OnRemoveRefinedObject (wxCommandEvent &WXUNUSED(event))
 From the menu.
virtual void OnRunOptimization (wxCommandEvent &WXUNUSED(event))=0
 Launches the optimization run.
virtual void OnStopOptimization (wxCommandEvent &WXUNUSED(event))
virtual void OnUpdateUI (wxUpdateUIEvent &event)
virtual void UpdateUI (const bool mutexlock=false)
 Update the User Interface, if necessary. More...
virtual void OnBrowseParamSet (wxCommandEvent &WXUNUSED(event))
 Opens a window where the stored parameter set can be selected.
virtual void OnSelectParamSet (wxCommandEvent &WXUNUSED(event))
 Restore one parameter set.
- Public Member Functions inherited from ObjCryst::WXCrystObj
 WXCrystObj (wxWindow *parent, int orient=wxHORIZONTAL, bool showName=true)
 Constructor, with a.
void OnToggleCollapse (wxCommandEvent &WXUNUSED(event))
 Only display the title, and collapse everything else. More...
virtual void OnEnable (wxUpdateUIEvent &event)
virtual bool Enable (bool enable)
virtual void AddChild (WXCrystObjBasic *pChild, bool doBottomLayout=true)
 Notify that a new children has been added, also adding it to the correct sizer (which can be the top sizer or not). More...
- Public Member Functions inherited from ObjCryst::WXCrystObjBasic
 WXCrystObjBasic (wxWindow *parent)
virtual ~WXCrystObjBasic ()
 wxDEPRECATED (virtual void BottomLayout(WXCrystObjBasic *pChild))
 Redo the Layout for the object and ask parent to take it into account. More...
void AddedToList (WXCrystObjBasicList *list)
void RemovedFromList (WXCrystObjBasicList *list)
virtual bool Layout ()
virtual void SetToolTip (const wxString &tip)
 Set tooltip for this window. More...

Protected Attributes

 The algorithm object.
long mNbRun
 The number of cycles.
WXFieldPar< long > * mpWXFieldNbTrial
- Protected Attributes inherited from ObjCryst::WXOptimizationObj
WXFieldPar< long > * mpWXFieldNbTrial
RefinableObjClock mClockParamSetWindow
 Record when the window giving the list of recorded parameter set was created.
wxListBox * mpwxParamSetList
 Window giving the list of recorded parameter sets.
- Protected Attributes inherited from ObjCryst::WXCrystObj
wxBoxSizer * mpTopSizer
 Top sizer including the title and WXCrystObj::mpSizer.
wxBoxSizer * mpSizer
 Sizer including all sub-objects.
 The title.
bool mIsExpanded
 To be used for collapsing the sub-objects.
WXCrystObjBasicList mList
 All windows but the title and collapse button are in this list.
wxButton * mpCollapseButton
 The collapse button.
- Protected Attributes inherited from ObjCryst::WXCrystObjBasic
 Parent, if a WXCrystObjBasic itself.
bool mIsShown
 Is the the window currently shown ?
bool mNeedUpdateUI
 Do we need to update the display ?
CrystMutex mMutex
 Mutex used to lock data when preparing to update the UI in non-main thread.
std::set< WXCrystObjBasicList * > mvpList
 WXCrystObjBasicList which are aware of this object, and which should be told on destruction. More...

Detailed Description

Class for Graphical interface to Monte-Carlo objects (Simulated Annealing, Parallel Tempering)

Definition at line 96 of file wxGlobalOptimObj.h.

The documentation for this class was generated from the following files: