GME  13
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends
CGMEDoc Class Reference

#include <GMEDoc.h>

Collaboration diagram for CGMEDoc:
Collaboration graph
[legend]

List of all members.

Classes

class  Historian

Public Member Functions

GMEModeCode GetEditMode () const
void SetEditMode (GMEModeCode mode, const CString &statusMsg)
int HowManyViewsAreOpen ()
void InvalidateAllViews (bool thorough=false, bool fullAutoRoute=false)
void ResetAllViews ()
void ViewModeChange ()
CGMEViewFindView (CComPtr< IMgaModel > model)
void DoOnViewRefresh (void)
void SetNextToView (CComPtr< IMgaModel > &model, CString aspName, CComPtr< IMgaFCO > &centerObj)
void ShowObject (CComPtr< IUnknown > alienObject, BOOL inParent=FALSE)
void ShowObject (LPCTSTR objectID)
void ResetNextToView ()
void ChangeAspects (int index, CString aspName)
void ConvertPathToCustom (CComPtr< IUnknown > &pMgaObject)
virtual BOOL OnNewDocument ()
virtual void OnCloseDocument (bool suppressErrors=false)
virtual BOOL OnOpenDocument (LPCTSTR lpszPathName)
virtual ~CGMEDoc ()
void SetMode (long mode)
void back ()
void forw ()
void home ()
void clearTotalHistory ()
void clearForwHistory ()
void tellHistorian (CComBSTR &modid, CString asp)
void tellHistorian (CComPtr< IMgaModel > &model, CString asp)
void presentModel (LPCTSTR objectID, LPCTSTR aspectNM)
void eraseFromHistory (LPCTSTR p_id)
void closeActiveWnd ()
void closeAllWnd ()
void closeAllButActiveWnd ()
void cycleAspect ()
void cycleAllAspects ()
void cycleViews ()

Static Public Member Functions

static bool CreateFcoList (CGuiObjectList *list, CComPtr< IMgaFCOs > &fcos, CGMEView *view)
static bool CreateFcoList2 (CGuiFcoList *list, CComPtr< IMgaFCOs > &fcos, CGMEView *view, long *howmany, bool *array[8])
static bool CreateAnnotationList (CGuiAnnotatorList *list, CComPtr< IMgaRegNodes > &anns, CGMEView *view)
static void CopyClosureToClipboard (CGuiObjectList *list, CGuiAnnotatorList *annList, CGMEDataDescriptor *desc, CGMEView *view)
static void CopySmartToClipboard (CGuiFcoList *list, CGuiAnnotatorList *annList, CGMEDataDescriptor *desc, CGMEView *view)
static void CopyToClipboard (CGuiObjectList *list, CGuiAnnotatorList *annList, CGMEDataDescriptor *desc, CGMEView *view)
static DROPEFFECT DoDragDrop (CGuiObjectList *list, CGuiAnnotatorList *annList, CGMEDataDescriptor *desc, DWORD dwEffects, LPCRECT lpRectStartDrag, CGMEView *view)
static DROPEFFECT DoDragDrop (CGuiObject *guiObj, CGMEDataDescriptor *desc, DWORD dwEffects, LPCRECT lpRectStartDrag)

Public Attributes

class CGMEDoc::Historian m_historian

Static Public Attributes

static CGMEDoctheInstance = 0

Protected Member Functions

 CGMEDoc ()
afx_msg void OnModeAutoconnect ()
afx_msg void OnUpdateModeAutoconnect (CCmdUI *pCmdUI)
afx_msg void OnModeDisconnect ()
afx_msg void OnUpdateModeDisconnect (CCmdUI *pCmdUI)
afx_msg void OnModeEdit ()
afx_msg void OnUpdateModeEdit (CCmdUI *pCmdUI)
afx_msg void OnModeSet ()
afx_msg void OnUpdateModeSet (CCmdUI *pCmdUI)
afx_msg void OnModeVisualize ()
afx_msg void OnUpdateModeVisualize (CCmdUI *pCmdUI)
afx_msg void OnModeZoom ()
afx_msg void OnUpdateModeZoom (CCmdUI *pCmdUI)
afx_msg void OnModeShortConnect ()
afx_msg void OnUpdateModeShortConnect (CCmdUI *pCmdUI)
afx_msg void OnModeShortDisconnect ()
afx_msg void OnUpdateModeShortDisconnect (CCmdUI *pCmdUI)
afx_msg void OnUpdateFileClose (CCmdUI *pCmdUI)
afx_msg void OnViewRefresh ()
afx_msg void OnBtnBack ()
afx_msg void OnBtnFrwd ()
afx_msg void OnBtnHome ()
afx_msg void OnUpdateBtnFrwd (CCmdUI *pCmdUI)
afx_msg void OnUpdateBtnBack (CCmdUI *pCmdUI)
afx_msg void OnUpdateBtnHome (CCmdUI *pCmdUI)
afx_msg void OnBtnCloseActive ()
afx_msg void OnBtnCloseAll ()
afx_msg void OnBtnCloseAllButOne ()
afx_msg void OnBtnCycleAspect ()
afx_msg void OnBtnCycleAllAspects ()
afx_msg void OnBtnCycleViews ()

Protected Attributes

bool m_isClosing
GMEModeCode editMode
CComPtr< IMgaModelnextToView
CComPtr< IMgaFCOinitialCenterObj
CString nextAspect
CComPtr< IMgaResolverresolver

Friends

class CGMEView

Detailed Description

Definition at line 21 of file GMEDoc.h.


Constructor & Destructor Documentation

CGMEDoc::CGMEDoc ( ) [protected]

Definition at line 71 of file GMEDoc.cpp.

CGMEDoc::~CGMEDoc ( ) [virtual]

Definition at line 90 of file GMEDoc.cpp.


Member Function Documentation

void CGMEDoc::back ( )

Definition at line 1012 of file GMEDoc.cpp.

void CGMEDoc::ChangeAspects ( int  index,
CString  aspName 
)

Definition at line 760 of file GMEDoc.cpp.

Definition at line 1066 of file GMEDoc.cpp.

Definition at line 1061 of file GMEDoc.cpp.

Definition at line 1071 of file GMEDoc.cpp.

Definition at line 1095 of file GMEDoc.cpp.

Definition at line 1082 of file GMEDoc.cpp.

void CGMEDoc::ConvertPathToCustom ( CComPtr< IUnknown > &  pMgaObject)

Definition at line 776 of file GMEDoc.cpp.

void CGMEDoc::CopyClosureToClipboard ( CGuiObjectList list,
CGuiAnnotatorList annList,
CGMEDataDescriptor desc,
CGMEView view 
) [static]

Definition at line 220 of file GMEDoc.cpp.

void CGMEDoc::CopySmartToClipboard ( CGuiFcoList list,
CGuiAnnotatorList annList,
CGMEDataDescriptor desc,
CGMEView view 
) [static]

Definition at line 358 of file GMEDoc.cpp.

void CGMEDoc::CopyToClipboard ( CGuiObjectList list,
CGuiAnnotatorList annList,
CGMEDataDescriptor desc,
CGMEView view 
) [static]

Definition at line 204 of file GMEDoc.cpp.

bool CGMEDoc::CreateAnnotationList ( CGuiAnnotatorList list,
CComPtr< IMgaRegNodes > &  anns,
CGMEView view 
) [static]

Definition at line 185 of file GMEDoc.cpp.

bool CGMEDoc::CreateFcoList ( CGuiObjectList list,
CComPtr< IMgaFCOs > &  fcos,
CGMEView view 
) [static]

Definition at line 95 of file GMEDoc.cpp.

bool CGMEDoc::CreateFcoList2 ( CGuiFcoList list,
CComPtr< IMgaFCOs > &  fcos,
CGMEView view,
long *  howmany,
bool *  array[8] 
) [static]

Definition at line 117 of file GMEDoc.cpp.

Definition at line 1122 of file GMEDoc.cpp.

Definition at line 1113 of file GMEDoc.cpp.

Definition at line 1131 of file GMEDoc.cpp.

DROPEFFECT CGMEDoc::DoDragDrop ( CGuiObjectList list,
CGuiAnnotatorList annList,
CGMEDataDescriptor desc,
DWORD  dwEffects,
LPCRECT  lpRectStartDrag,
CGMEView view 
) [static]

Definition at line 448 of file GMEDoc.cpp.

DROPEFFECT CGMEDoc::DoDragDrop ( CGuiObject guiObj,
CGMEDataDescriptor desc,
DWORD  dwEffects,
LPCRECT  lpRectStartDrag 
) [static]

Definition at line 465 of file GMEDoc.cpp.

void CGMEDoc::DoOnViewRefresh ( void  )

Definition at line 524 of file GMEDoc.cpp.

void CGMEDoc::eraseFromHistory ( LPCTSTR  p_id)

Definition at line 1215 of file GMEDoc.cpp.

CGMEView * CGMEDoc::FindView ( CComPtr< IMgaModel model)

Definition at line 480 of file GMEDoc.cpp.

void CGMEDoc::forw ( )

Definition at line 1028 of file GMEDoc.cpp.

Definition at line 721 of file GMEDoc.cpp.

void CGMEDoc::home ( )

Definition at line 1044 of file GMEDoc.cpp.

Definition at line 733 of file GMEDoc.cpp.

void CGMEDoc::InvalidateAllViews ( bool  thorough = false,
bool  fullAutoRoute = false 
)

Definition at line 529 of file GMEDoc.cpp.

void CGMEDoc::OnBtnBack ( ) [protected]

Definition at line 1411 of file GMEDoc.cpp.

void CGMEDoc::OnBtnCloseActive ( ) [protected]

Definition at line 1441 of file GMEDoc.cpp.

void CGMEDoc::OnBtnCloseAll ( ) [protected]

Definition at line 1446 of file GMEDoc.cpp.

void CGMEDoc::OnBtnCloseAllButOne ( ) [protected]

Definition at line 1451 of file GMEDoc.cpp.

void CGMEDoc::OnBtnCycleAllAspects ( ) [protected]

Definition at line 1461 of file GMEDoc.cpp.

void CGMEDoc::OnBtnCycleAspect ( ) [protected]

Definition at line 1456 of file GMEDoc.cpp.

void CGMEDoc::OnBtnCycleViews ( ) [protected]

Definition at line 1466 of file GMEDoc.cpp.

void CGMEDoc::OnBtnFrwd ( ) [protected]

Definition at line 1416 of file GMEDoc.cpp.

void CGMEDoc::OnBtnHome ( ) [protected]

Definition at line 1421 of file GMEDoc.cpp.

void CGMEDoc::OnCloseDocument ( bool  suppressErrors = false) [virtual]

Definition at line 954 of file GMEDoc.cpp.

void CGMEDoc::OnModeAutoconnect ( ) [protected]

Definition at line 860 of file GMEDoc.cpp.

void CGMEDoc::OnModeDisconnect ( ) [protected]

Definition at line 871 of file GMEDoc.cpp.

void CGMEDoc::OnModeEdit ( ) [protected]

Definition at line 882 of file GMEDoc.cpp.

void CGMEDoc::OnModeSet ( ) [protected]

Definition at line 893 of file GMEDoc.cpp.

void CGMEDoc::OnModeShortConnect ( ) [protected]

Definition at line 926 of file GMEDoc.cpp.

void CGMEDoc::OnModeShortDisconnect ( ) [protected]

Definition at line 937 of file GMEDoc.cpp.

void CGMEDoc::OnModeVisualize ( ) [protected]

Definition at line 915 of file GMEDoc.cpp.

void CGMEDoc::OnModeZoom ( ) [protected]

Definition at line 904 of file GMEDoc.cpp.

Definition at line 978 of file GMEDoc.cpp.

BOOL CGMEDoc::OnOpenDocument ( LPCTSTR  lpszPathName) [virtual]

Definition at line 990 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateBtnBack ( CCmdUI *  pCmdUI) [protected]

Definition at line 1426 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateBtnFrwd ( CCmdUI *  pCmdUI) [protected]

Definition at line 1431 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateBtnHome ( CCmdUI *  pCmdUI) [protected]

Definition at line 1436 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateFileClose ( CCmdUI *  pCmdUI) [protected]

Definition at line 948 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateModeAutoconnect ( CCmdUI *  pCmdUI) [protected]

Definition at line 866 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateModeDisconnect ( CCmdUI *  pCmdUI) [protected]

Definition at line 877 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateModeEdit ( CCmdUI *  pCmdUI) [protected]

Definition at line 888 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateModeSet ( CCmdUI *  pCmdUI) [protected]

Definition at line 899 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateModeShortConnect ( CCmdUI *  pCmdUI) [protected]

Definition at line 932 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateModeShortDisconnect ( CCmdUI *  pCmdUI) [protected]

Definition at line 943 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateModeVisualize ( CCmdUI *  pCmdUI) [protected]

Definition at line 921 of file GMEDoc.cpp.

void CGMEDoc::OnUpdateModeZoom ( CCmdUI *  pCmdUI) [protected]

Definition at line 910 of file GMEDoc.cpp.

void CGMEDoc::OnViewRefresh ( ) [protected]

Definition at line 1002 of file GMEDoc.cpp.

void CGMEDoc::presentModel ( LPCTSTR  objectID,
LPCTSTR  aspectNM 
)

Definition at line 1222 of file GMEDoc.cpp.

Definition at line 746 of file GMEDoc.cpp.

void CGMEDoc::ResetNextToView ( ) [inline]

Definition at line 138 of file GMEDoc.h.

void CGMEDoc::SetEditMode ( GMEModeCode  mode,
const CString &  statusMsg 
)

Definition at line 726 of file GMEDoc.cpp.

void CGMEDoc::SetMode ( long  mode)

Definition at line 827 of file GMEDoc.cpp.

void CGMEDoc::SetNextToView ( CComPtr< IMgaModel > &  model,
CString  aspName,
CComPtr< IMgaFCO > &  centerObj 
) [inline]

Definition at line 135 of file GMEDoc.h.

void CGMEDoc::ShowObject ( CComPtr< IUnknown >  alienObject,
BOOL  inParent = FALSE 
)

Definition at line 549 of file GMEDoc.cpp.

void CGMEDoc::ShowObject ( LPCTSTR  objectID)

Definition at line 680 of file GMEDoc.cpp.

void CGMEDoc::tellHistorian ( CComBSTR &  modid,
CString  asp 
)

Definition at line 1157 of file GMEDoc.cpp.

void CGMEDoc::tellHistorian ( CComPtr< IMgaModel > &  model,
CString  asp 
)

Definition at line 1170 of file GMEDoc.cpp.

Definition at line 795 of file GMEDoc.cpp.


Friends And Related Function Documentation

friend class CGMEView [friend]

Definition at line 23 of file GMEDoc.h.


Member Data Documentation

Definition at line 34 of file GMEDoc.h.

CComPtr<IMgaFCO> CGMEDoc::initialCenterObj [protected]

Definition at line 37 of file GMEDoc.h.

bool CGMEDoc::m_isClosing [protected]

Definition at line 33 of file GMEDoc.h.

CString CGMEDoc::nextAspect [protected]

Definition at line 38 of file GMEDoc.h.

CComPtr<IMgaModel> CGMEDoc::nextToView [protected]

Definition at line 36 of file GMEDoc.h.

CComPtr<IMgaResolver> CGMEDoc::resolver [protected]

Definition at line 39 of file GMEDoc.h.

CGMEDoc * CGMEDoc::theInstance = 0 [static]

Definition at line 31 of file GMEDoc.h.


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