24#ifndef __OD_GS_VIEW_LOCAL_ID__
25#define __OD_GS_VIEW_LOCAL_ID__
89 : m_pLocalIdModel(NULL)
108 if (m_pLocalIdModel == pModel)
110 m_pLocalIdModel = pModel;
111 return m_localId = getLocalViewportId(pModel);
119 m_pLocalIdModel = NULL;
125 return m_localIdRefs;
#define GS_TOOLKIT_EXPORT
OdSmartPtr< OdGsBaseModelLocalIds > OdGsBaseModelLocalIdsPtr
virtual void resetViewId(OdGsViewImpl *pView, OdUInt32 nId)=0
virtual void onViewDelete(OdGsViewImpl *pView)=0
virtual OdUInt32 registerView(OdGsViewImpl *pView)=0
static OdSmartPtr< OdGsBaseModelLocalIds > createObject()
virtual OdUInt32 getMaxId() const =0
virtual OdUInt32 getViewId(OdGsViewImpl *pView)=0
void setView(OdGsViewImpl *pView)
OdUInt32 getLocalViewportId(const OdGsBaseModel *pModel) const
const OdGsBaseModel * m_pLocalIdModel
OdArray< OdGsBaseModelLocalIdsPtr > & refs()
OdGsViewImpl * view() const
OdArray< OdGsBaseModelLocalIdsPtr > m_localIdRefs
OdUInt32 localViewportId(const OdGsBaseModel *pModel) const
OdGsViewLocalId(OdGsViewImpl *pView=NULL)