CFx SDK Documentation  2020SP3
FxTracker.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "DDKERNEL.h"
20 #include "FxString.h"
21 
22 #include "FxPragmaPush.h"
23 
24 class CFxTrackerContext;
25 class CFxHitTestInfo;
27 class OdGiDrawable;
28 class CFxView;
29 
36 {
37 public:
38  /* {secret} */
40  virtual ~CFxTracker();
41 
47  virtual void Update( CFxTrackerContext* pContext, CFxHitTestInfo* pHitTestInfo ) = 0;
48 
54  virtual void DrawTracker( CFxTrackerContext* pContext, const CFxHitTestInfo* pHitTestInfo ) const = 0;
55 
61  virtual void DrawDDTracker( CFxTrackerContext* pContext, const CFxHitTestInfo* pHitTestInfo ) const{};
62 
68  virtual bool CheckRegenAbort( const CFxInputPointManager* pInputManager ) const;
69 
73  virtual const CFxString& GetName() const;
74 
78  virtual bool IsEager( const CFxHitTestInfo* pHitTestInfo ) const;
79 
83  virtual bool DoAction( const CFxHitTestInfo* pHitTestInfo );
84 
88  virtual void OnMainSelectionSetChanged( const CFxHitTestInfo* pHitTestInfo );
89 
90 protected:
91  /* {secret} */
93 
94 public:
95  /* {secret} */
96  bool m_bAdded;
97 };
98 
99 #include "FxPragmaPop.h"
CFxTracker::m_strName
CFxString m_strName
Definition: FxTracker.h:92
FxPragmaPop.h
CFxTracker::CheckRegenAbort
virtual bool CheckRegenAbort(const CFxInputPointManager *pInputManager) const
CFxTracker::DoAction
virtual bool DoAction(const CFxHitTestInfo *pHitTestInfo)
CFxHitTestInfo
Definition: FxHitTestInfo.h:37
CFxTracker::GetName
virtual const CFxString & GetName() const
CFxTracker::~CFxTracker
virtual ~CFxTracker()
CFxTracker::CFxTracker
CFxTracker()
DDKERNEL.h
FxString.h
CFxTracker::IsEager
virtual bool IsEager(const CFxHitTestInfo *pHitTestInfo) const
CFxInputPointManager
Definition: FxInputPointManager.h:47
CFxString
Definition: FxString.h:48
CFxTracker::OnMainSelectionSetChanged
virtual void OnMainSelectionSetChanged(const CFxHitTestInfo *pHitTestInfo)
OdGiDrawable
Definition: GiDrawable.h:49
CFxTracker
Definition: FxTracker.h:36
DDKERNEL_API
#define DDKERNEL_API
Definition: DDKERNEL.h:32
CFxTracker::Update
virtual void Update(CFxTrackerContext *pContext, CFxHitTestInfo *pHitTestInfo)=0
CFxView
Definition: FxView.h:265
CFxTracker::DrawDDTracker
virtual void DrawDDTracker(CFxTrackerContext *pContext, const CFxHitTestInfo *pHitTestInfo) const
Definition: FxTracker.h:61
CFxTrackerContext
Definition: FxTrackerDrawContext.h:40
CFxTracker::m_bAdded
bool m_bAdded
Definition: FxTracker.h:96
CFxTracker::DrawTracker
virtual void DrawTracker(CFxTrackerContext *pContext, const CFxHitTestInfo *pHitTestInfo) const =0
FxPragmaPush.h