GME  13
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
CGuiFco Class Reference

#include <GUIObject.h>

Inheritance diagram for CGuiFco:
Inheritance graph
[legend]
Collaboration diagram for CGuiFco:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CGuiFco (CComPtr< IMgaFCO > &pt, CComPtr< IMgaMetaRole > &role, CGMEView *vw, int numAsp)
virtual ~CGuiFco ()
virtual CGuiObjectdynamic_cast_CGuiObject (void)
virtual CGuiCompounddynamic_cast_CGuiCompound (void)
virtual CGuiModeldynamic_cast_CGuiModel (void)
virtual CGuiReferencedynamic_cast_CGuiReference (void)
virtual CGuiCompoundReferencedynamic_cast_CGuiCompoundReference (void)
virtual CGuiSetdynamic_cast_CGuiSet (void)
virtual CGuiConnectiondynamic_cast_CGuiConnection (void)
bool IsReal ()
bool IsType ()
void ToggleGrayOut ()
void SetAspect (int a)
metaref_type GetRoleMetaRef ()
bool IsPrimary (CGuiMetaModel *guiMetaModel, int aspectInd)
bool IsPrimary (CGuiMetaModel *guiMetaModel, CGuiMetaAspect *guiAspect)
bool GetPreference (CString &val, CString path)
bool GetPreference (int &val, CString path, bool hex)
bool GetColorPreference (unsigned long &color, CString path)
int GetParentAspect ()
CGuiMetaModelGetGuiMetaParent ()
CGMEViewGetView ()
virtual CString GetInfoText ()
virtual CGuiMetaAttributeListGetMetaAttributes ()
virtual void RemoveFromRouter (CAutoRouter &router)=0
virtual bool IsVisible (int aspect=-1)=0
virtual void Draw (HDC pDC, Gdiplus::Graphics *gdip)=0
virtual void GrayOut (bool set=true)

Static Public Member Functions

static bool IsPrimary (CGuiMetaModel *guiMetaModel, CGuiMetaAspect *guiAspect, CComPtr< IMgaMetaRole > &metaRole)
static void SetAspect (CGuiFcoList &list, int asp)
static CGuiObjectFindObject (CComPtr< IMgaFCO > &fco, CGuiFcoList &fcoList)
static CGuiConnectionFindConnection (CComPtr< IMgaFCO > &fco, CGuiConnectionList &conns)
static void GrayOutFcos (CGuiFcoList &list, bool set=true)
static void GrayOutFcos (CGuiConnectionList &list, bool set=true)
static void GrayOutNonInternalConnections (CGuiConnectionList &list)
static void ResetFlags (CGuiFcoList &list)

Public Attributes

CComPtr< IMgaFCOmgaFco
CComPtr< IMgaMetaRolemetaRole
CGuiMetaFcoguiMeta
CString kindName
CString roleName
CString kindDisplayedName
CString roleDisplayedName
CComPtr< IMgaMetaFCOmetaFco

Protected Attributes

int numParentAspects
int parentAspect
bool grayedOut
bool isType
CGMEViewview

Detailed Description

Definition at line 169 of file GUIObject.h.


Constructor & Destructor Documentation

CGuiFco::CGuiFco ( CComPtr< IMgaFCO > &  pt,
CComPtr< IMgaMetaRole > &  role,
CGMEView vw,
int  numAsp 
)

Definition at line 847 of file GUIObject.cpp.

virtual CGuiFco::~CGuiFco ( ) [inline, virtual]

Definition at line 173 of file GUIObject.h.


Member Function Documentation

virtual void CGuiFco::Draw ( HDC  pDC,
Gdiplus::Graphics *  gdip 
) [pure virtual]

Implemented in CGuiConnection, and CGuiObject.

virtual CGuiCompound* CGuiFco::dynamic_cast_CGuiCompound ( void  ) [inline, virtual]

Reimplemented in CGuiCompound.

Definition at line 177 of file GUIObject.h.

Reimplemented in CGuiCompoundReference.

Definition at line 180 of file GUIObject.h.

virtual CGuiConnection* CGuiFco::dynamic_cast_CGuiConnection ( void  ) [inline, virtual]

Reimplemented in CGuiConnection.

Definition at line 182 of file GUIObject.h.

virtual CGuiModel* CGuiFco::dynamic_cast_CGuiModel ( void  ) [inline, virtual]

Reimplemented in CGuiModel.

Definition at line 178 of file GUIObject.h.

virtual CGuiObject* CGuiFco::dynamic_cast_CGuiObject ( void  ) [inline, virtual]

Reimplemented in CGuiObject.

Definition at line 176 of file GUIObject.h.

virtual CGuiReference* CGuiFco::dynamic_cast_CGuiReference ( void  ) [inline, virtual]

Reimplemented in CGuiReference.

Definition at line 179 of file GUIObject.h.

virtual CGuiSet* CGuiFco::dynamic_cast_CGuiSet ( void  ) [inline, virtual]

Reimplemented in CGuiSet.

Definition at line 181 of file GUIObject.h.

CGuiConnection * CGuiFco::FindConnection ( CComPtr< IMgaFCO > &  fco,
CGuiConnectionList conns 
) [static]

Definition at line 1013 of file GUIObject.cpp.

CGuiObject * CGuiFco::FindObject ( CComPtr< IMgaFCO > &  fco,
CGuiFcoList fcoList 
) [static]

Definition at line 996 of file GUIObject.cpp.

bool CGuiFco::GetColorPreference ( unsigned long &  color,
CString  path 
)

Definition at line 950 of file GUIObject.cpp.

Definition at line 963 of file GUIObject.cpp.

virtual CString CGuiFco::GetInfoText ( ) [inline, virtual]

Reimplemented in CGuiCompoundReference, and CGuiReference.

Definition at line 208 of file GUIObject.h.

Reimplemented in CGuiCompoundReference, and CGuiModel.

Definition at line 1063 of file GUIObject.cpp.

Definition at line 195 of file GUIObject.h.

bool CGuiFco::GetPreference ( CString &  val,
CString  path 
)

Definition at line 918 of file GUIObject.cpp.

bool CGuiFco::GetPreference ( int val,
CString  path,
bool  hex 
)

Definition at line 934 of file GUIObject.cpp.

Definition at line 896 of file GUIObject.cpp.

CGMEView* CGuiFco::GetView ( ) [inline]

Definition at line 197 of file GUIObject.h.

virtual void CGuiFco::GrayOut ( bool  set = true) [inline, virtual]

Reimplemented in CGuiObject.

Definition at line 213 of file GUIObject.h.

void CGuiFco::GrayOutFcos ( CGuiFcoList list,
bool  set = true 
) [static]

Definition at line 1027 of file GUIObject.cpp.

void CGuiFco::GrayOutFcos ( CGuiConnectionList list,
bool  set = true 
) [static]

Definition at line 1034 of file GUIObject.cpp.

Definition at line 1041 of file GUIObject.cpp.

bool CGuiFco::IsPrimary ( CGuiMetaModel guiMetaModel,
int  aspectInd 
)

Definition at line 904 of file GUIObject.cpp.

bool CGuiFco::IsPrimary ( CGuiMetaModel guiMetaModel,
CGuiMetaAspect guiAspect 
)

Definition at line 913 of file GUIObject.cpp.

bool CGuiFco::IsPrimary ( CGuiMetaModel guiMetaModel,
CGuiMetaAspect guiAspect,
CComPtr< IMgaMetaRole > &  metaRole 
) [static]

Definition at line 977 of file GUIObject.cpp.

bool CGuiFco::IsReal ( ) [inline]

Definition at line 185 of file GUIObject.h.

bool CGuiFco::IsType ( ) [inline]

Definition at line 186 of file GUIObject.h.

virtual bool CGuiFco::IsVisible ( int  aspect = -1) [pure virtual]

Implemented in CGuiConnection, and CGuiObject.

virtual void CGuiFco::RemoveFromRouter ( CAutoRouter router) [pure virtual]

Implemented in CGuiConnection, and CGuiObject.

void CGuiFco::ResetFlags ( CGuiFcoList list) [static]

Definition at line 1051 of file GUIObject.cpp.

void CGuiFco::SetAspect ( int  a) [inline]

Definition at line 188 of file GUIObject.h.

void CGuiFco::SetAspect ( CGuiFcoList list,
int  asp 
) [static]

Definition at line 989 of file GUIObject.cpp.

void CGuiFco::ToggleGrayOut ( ) [inline]

Definition at line 187 of file GUIObject.h.


Member Data Documentation

bool CGuiFco::grayedOut [protected]

Definition at line 228 of file GUIObject.h.

Definition at line 218 of file GUIObject.h.

bool CGuiFco::isType [protected]

Definition at line 229 of file GUIObject.h.

Definition at line 221 of file GUIObject.h.

Definition at line 219 of file GUIObject.h.

Definition at line 223 of file GUIObject.h.

Definition at line 217 of file GUIObject.h.

Definition at line 216 of file GUIObject.h.

Definition at line 226 of file GUIObject.h.

Definition at line 227 of file GUIObject.h.

Definition at line 222 of file GUIObject.h.

Definition at line 220 of file GUIObject.h.

CGMEView* CGuiFco::view [protected]

Definition at line 230 of file GUIObject.h.


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