GME  13
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
CGMEViewCtrl Class Reference

#include <GMEViewCtrl.h>

Collaboration diagram for CGMEViewCtrl:
Collaboration graph
[legend]

List of all members.

Public Types

enum  {
  dispidCycleAspect = 5L, dispidChangeAspect = 4L, dispidInvalidate = 6L, dispidSetCurrentProject = 1L,
  dispidSetMetaModel = 2L, dispidSetModel = 3L, eventidAspectChanged = 1L, eventidWriteStatusZoom = 3L,
  eventidZoomChanged = 2L
}

Public Member Functions

 CGMEViewCtrl ()
virtual void OnDraw (CDC *pdc, const CRect &rcBounds, const CRect &rcInvalid)
virtual void DoPropExchange (CPropExchange *pPX)
virtual void OnResetState ()
void SendAspectChanged (LONG index)
void SendZoomChanged (LONG index)
void SendWriteStatusZoom (LONG zoomVal)

Protected Member Functions

virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
 ~CGMEViewCtrl ()
 DECLARE_OLECREATE_EX (CGMEViewCtrl) DECLARE_OLETYPELIB(CGMEViewCtrl) DECLARE_PROPPAGEIDS(CGMEViewCtrl) DECLARE_OLECTLTYPE(CGMEViewCtrl) CGMEViewFrame *m_gmeViewFrame
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void SetCurrentProject (LPUNKNOWN project)
afx_msg void SetMetaModel (LPUNKNOWN meta)
afx_msg void SetModel (LPUNKNOWN model)
afx_msg void ChangeAspect (LONG index)
afx_msg void CycleAspect (void)
afx_msg void Invalidate (void)
afx_msg void AboutBox ()
void OnMgaObjectEvent (IMgaObject *obj, unsigned long eventmask)
void OnMgaGlobalEvent (globalevent_enum event)
void FireAspectChanged (LONG index)
void FireZoomChanged (LONG index)
void FireWriteStatusZoom (LONG zoomVal)
 STDMETHOD (GlobalEvent(globalevent_enum event))
 STDMETHOD (ObjectEvent(IMgaObject *obj, unsigned long eventmask, VARIANT v))
void PropagateMgaMessages ()

Protected Attributes

CComPtr< IMgaProjectmgaProject
CComPtr< IMgaMetaModelmgaMetaModel
CComPtr< IMgaModelmgaModel
int aspect
CMgaObjectEventList m_MgaObjectEventList

Detailed Description

Definition at line 18 of file GMEViewCtrl.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
dispidCycleAspect 
dispidChangeAspect 
dispidInvalidate 
dispidSetCurrentProject 
dispidSetMetaModel 
dispidSetModel 
eventidAspectChanged 
eventidWriteStatusZoom 
eventidZoomChanged 

Definition at line 97 of file GMEViewCtrl.h.


Constructor & Destructor Documentation

Definition at line 182 of file GMEViewCtrl.cpp.

CGMEViewCtrl::~CGMEViewCtrl ( ) [protected]

Definition at line 194 of file GMEViewCtrl.cpp.


Member Function Documentation

void CGMEViewCtrl::AboutBox ( ) [protected]

Definition at line 271 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::ChangeAspect ( LONG  index) [protected]

Definition at line 383 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::CycleAspect ( void  ) [protected]

Definition at line 393 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::DoPropExchange ( CPropExchange *  pPX) [virtual]

Definition at line 248 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::FireAspectChanged ( LONG  index) [inline, protected]

Definition at line 78 of file GMEViewCtrl.h.

void CGMEViewCtrl::FireWriteStatusZoom ( LONG  zoomVal) [inline, protected]

Definition at line 82 of file GMEViewCtrl.h.

void CGMEViewCtrl::FireZoomChanged ( LONG  index) [inline, protected]

Definition at line 80 of file GMEViewCtrl.h.

void CGMEViewCtrl::Invalidate ( void  ) [protected]

Definition at line 404 of file GMEViewCtrl.cpp.

int CGMEViewCtrl::OnCreate ( LPCREATESTRUCT  lpCreateStruct) [protected]

Definition at line 281 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::OnDraw ( CDC *  pdc,
const CRect &  rcBounds,
const CRect &  rcInvalid 
) [virtual]

Definition at line 205 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::OnMgaGlobalEvent ( globalevent_enum  event) [protected]

Definition at line 478 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::OnMgaObjectEvent ( IMgaObject obj,
unsigned long  eventmask 
) [protected]

Definition at line 412 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::OnResetState ( ) [virtual]

Definition at line 260 of file GMEViewCtrl.cpp.

BOOL CGMEViewCtrl::PreCreateWindow ( CREATESTRUCT &  cs) [protected, virtual]

Definition at line 317 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::PropagateMgaMessages ( ) [protected]

Definition at line 543 of file GMEViewCtrl.cpp.

Definition at line 528 of file GMEViewCtrl.cpp.

Definition at line 538 of file GMEViewCtrl.cpp.

Definition at line 533 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::SetCurrentProject ( LPUNKNOWN  project) [protected]

Definition at line 323 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::SetMetaModel ( LPUNKNOWN  meta) [protected]

Definition at line 343 of file GMEViewCtrl.cpp.

void CGMEViewCtrl::SetModel ( LPUNKNOWN  model) [protected]

Definition at line 363 of file GMEViewCtrl.cpp.

CGMEViewCtrl::STDMETHOD ( GlobalEvent(globalevent_enum event)  ) [protected]
CGMEViewCtrl::STDMETHOD ( ObjectEvent(IMgaObject *obj, unsigned long eventmask, VARIANT v)  ) [protected]

Member Data Documentation

Definition at line 52 of file GMEViewCtrl.h.

Definition at line 116 of file GMEViewCtrl.h.

Definition at line 50 of file GMEViewCtrl.h.

CComPtr<IMgaModel> CGMEViewCtrl::mgaModel [protected]

Definition at line 51 of file GMEViewCtrl.h.

CComPtr<IMgaProject> CGMEViewCtrl::mgaProject [protected]

Definition at line 49 of file GMEViewCtrl.h.


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