motrackinglayer.h
上传用户:qinfarui
上传日期:2022-08-10
资源大小:362k
文件大小:2k
源码类别:

GIS编程

开发平台:

Visual C++

  1. #if !defined(AFX_MOTRACKINGLAYER_H__BCD9067D_74F3_48BC_B4CE_9DA312DB0A65__INCLUDED_)
  2. #define AFX_MOTRACKINGLAYER_H__BCD9067D_74F3_48BC_B4CE_9DA312DB0A65__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  7. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  8. //  Microsoft Visual C++, your modifications will be overwritten.
  9. // Dispatch interfaces referenced by this interface
  10. class CMoSymbol;
  11. class CMoGeoEvent;
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CMoTrackingLayer wrapper class
  14. class CMoTrackingLayer : public COleDispatchDriver
  15. {
  16. public:
  17. CMoTrackingLayer() {} // Calls COleDispatchDriver default constructor
  18. CMoTrackingLayer(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  19. CMoTrackingLayer(const CMoTrackingLayer& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  20. // Attributes
  21. public:
  22. long GetEventCount();
  23. void SetEventCount(long);
  24. long GetSymbolCount();
  25. void SetSymbolCount(long);
  26. BOOL GetVisible();
  27. void SetVisible(BOOL);
  28. // Operations
  29. public:
  30. CMoSymbol GetSymbol(long index);
  31. CMoGeoEvent GetEvent(long index);
  32. void RemoveEvent(long index);
  33. CMoGeoEvent AddEvent(LPDISPATCH shape, long SymbolIndex);
  34. void ClearEvents();
  35. void Refresh(BOOL erase, const VARIANT& rect);
  36. CMoGeoEvent FindEvent(LPCTSTR Tag);
  37. };
  38. //{{AFX_INSERT_LOCATION}}
  39. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  40. #endif // !defined(AFX_MOTRACKINGLAYER_H__BCD9067D_74F3_48BC_B4CE_9DA312DB0A65__INCLUDED_)