#include <DlgAutoLayout.h>


Public Types | |
| enum | { IDD = IDD_DIALOG_AUTOLAYOUT } |
Public Member Functions | |
| CDlgAutoLayout (CWnd *pParent=NULL) | |
| virtual | ~CDlgAutoLayout () |
| void | initialize (IMgaProject *project, IMgaModel *model) |
| virtual LayoutOptimizerListener::ContinueAbortOrCurrent | update (int percentage, LayoutSolution *sol, double score) |
| void | OptimizeAllAspects () |
| void | Optimize (CComObjPtr< IMgaMetaAspect > &aspect) |
Public Attributes | |
| CListBox | m_listAspects |
| CProgressCtrl | m_progressOptimization |
| CProgressCtrl | m_progressAspect |
| CButton | m_graph |
| BOOL | m_startFromScratch |
| CButton | m_startButton |
| CButton | m_abortButton |
| CButton | m_currentResultsButton |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| void | drawSolution (CDC *dc, LayoutSolution *sol) |
| afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
| virtual BOOL | OnInitDialog () |
| afx_msg void | OnButtonStart () |
| afx_msg void | OnButtonAbort () |
| afx_msg void | OnButtonCurrentResults () |
Protected Attributes | |
| CRect | m_graphRect |
| CBrush | m_backBrush |
| CDC | m_graphDC |
| CBitmap | m_graphBmp |
| CBitmap * | m_graphOldBmp |
| LayoutSolution * | m_currentSolution |
| double | m_score |
| CComObjPtr< IMgaProject > | m_project |
| CComObjPtr< IMgaModel > | m_model |
| CComObjPtr< IMgaMetaModel > | m_metaModel |
| CComObjPtr< IMgaMetaAspects > | m_metaAspects |
| int | m_updateTime |
| bool | m_bAbortionRequested |
| bool | m_bCurrentResults |
Definition at line 20 of file DlgAutoLayout.h.
| anonymous enum |
Definition at line 34 of file DlgAutoLayout.h.
| CDlgAutoLayout::CDlgAutoLayout | ( | CWnd * | pParent = NULL |
) |
Definition at line 18 of file DlgAutoLayout.cpp.
| CDlgAutoLayout::~CDlgAutoLayout | ( | ) | [virtual] |
Definition at line 29 of file DlgAutoLayout.cpp.
| void CDlgAutoLayout::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 75 of file DlgAutoLayout.cpp.
| void CDlgAutoLayout::drawSolution | ( | CDC * | dc, | |
| LayoutSolution * | sol | |||
| ) | [protected] |
Definition at line 136 of file DlgAutoLayout.cpp.
| void CDlgAutoLayout::initialize | ( | IMgaProject * | project, | |
| IMgaModel * | model | |||
| ) |
Definition at line 33 of file DlgAutoLayout.cpp.
| void CDlgAutoLayout::OnButtonAbort | ( | ) | [protected] |
Definition at line 312 of file DlgAutoLayout.cpp.
| void CDlgAutoLayout::OnButtonCurrentResults | ( | ) | [protected] |
Definition at line 307 of file DlgAutoLayout.cpp.
| void CDlgAutoLayout::OnButtonStart | ( | ) | [protected] |
Definition at line 255 of file DlgAutoLayout.cpp.
| void CDlgAutoLayout::OnDrawItem | ( | int | nIDCtl, | |
| LPDRAWITEMSTRUCT | lpDrawItemStruct | |||
| ) | [protected] |
Definition at line 194 of file DlgAutoLayout.cpp.
| BOOL CDlgAutoLayout::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 102 of file DlgAutoLayout.cpp.
| void CDlgAutoLayout::Optimize | ( | CComObjPtr< IMgaMetaAspect > & | aspect | ) |
Definition at line 218 of file DlgAutoLayout.cpp.
| void CDlgAutoLayout::OptimizeAllAspects | ( | ) |
Definition at line 207 of file DlgAutoLayout.cpp.
| LayoutOptimizerListener::ContinueAbortOrCurrent CDlgAutoLayout::update | ( | int | percentage, | |
| LayoutSolution * | sol, | |||
| double | score | |||
| ) | [virtual] |
Implements LayoutOptimizerListener.
Definition at line 42 of file DlgAutoLayout.cpp.
| CButton CDlgAutoLayout::m_abortButton |
Definition at line 41 of file DlgAutoLayout.h.
bool CDlgAutoLayout::m_bAbortionRequested [protected] |
Definition at line 76 of file DlgAutoLayout.h.
CBrush CDlgAutoLayout::m_backBrush [protected] |
Definition at line 62 of file DlgAutoLayout.h.
bool CDlgAutoLayout::m_bCurrentResults [protected] |
Definition at line 77 of file DlgAutoLayout.h.
Definition at line 42 of file DlgAutoLayout.h.
LayoutSolution* CDlgAutoLayout::m_currentSolution [protected] |
Definition at line 67 of file DlgAutoLayout.h.
| CButton CDlgAutoLayout::m_graph |
Definition at line 38 of file DlgAutoLayout.h.
CBitmap CDlgAutoLayout::m_graphBmp [protected] |
Definition at line 64 of file DlgAutoLayout.h.
CDC CDlgAutoLayout::m_graphDC [protected] |
Definition at line 63 of file DlgAutoLayout.h.
CBitmap* CDlgAutoLayout::m_graphOldBmp [protected] |
Definition at line 65 of file DlgAutoLayout.h.
CRect CDlgAutoLayout::m_graphRect [protected] |
Definition at line 61 of file DlgAutoLayout.h.
| CListBox CDlgAutoLayout::m_listAspects |
Definition at line 35 of file DlgAutoLayout.h.
CComObjPtr<IMgaMetaAspects> CDlgAutoLayout::m_metaAspects [protected] |
Definition at line 73 of file DlgAutoLayout.h.
CComObjPtr<IMgaMetaModel> CDlgAutoLayout::m_metaModel [protected] |
Definition at line 72 of file DlgAutoLayout.h.
CComObjPtr<IMgaModel> CDlgAutoLayout::m_model [protected] |
Definition at line 71 of file DlgAutoLayout.h.
| CProgressCtrl CDlgAutoLayout::m_progressAspect |
Definition at line 37 of file DlgAutoLayout.h.
| CProgressCtrl CDlgAutoLayout::m_progressOptimization |
Definition at line 36 of file DlgAutoLayout.h.
CComObjPtr<IMgaProject> CDlgAutoLayout::m_project [protected] |
Definition at line 70 of file DlgAutoLayout.h.
double CDlgAutoLayout::m_score [protected] |
Definition at line 68 of file DlgAutoLayout.h.
| CButton CDlgAutoLayout::m_startButton |
Definition at line 40 of file DlgAutoLayout.h.
Definition at line 39 of file DlgAutoLayout.h.
int CDlgAutoLayout::m_updateTime [protected] |
Definition at line 75 of file DlgAutoLayout.h.
1.6.3