Free Electron
CatalogDebug.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __dataui_CatalogDebug_h__
8 #define __dataui_CatalogDebug_h__
9 
10 #include <dataui/dataui.pmh>
11 
12 #include "viewer/DrawView.h"
13 #include "RegionalDebug.h"
14 namespace fe
15 {
16 namespace ext
17 {
18 
19 class FE_DL_EXPORT CatalogDebug :
20  public Initialize<CatalogDebug>,
21  virtual public RegionalDebug
22 {
23  public:
24  CatalogDebug(void);
25 virtual ~CatalogDebug(void);
26 
27  void initialize(void);
28 
29  protected:
30  class CountedRegion : public Region
31  {
32  public:
33  CountedRegion(void) { setName("CountedRegion"); }
34 virtual ~CountedRegion(void) {}
35  Instance m_instance;
36  String m_name;
37  };
38 
39 virtual void handleRegion(sp<Region> a_region);
40 virtual void handleDraw(Record &r_sig);
41 virtual void handleHome(void);
42 
43  private:
44  Instance m_instance;
45  String m_name;
46 };
47 
48 } /* namespace ext */
49 } /* namespace fe */
50 
51 #endif
52 
kernel
Definition: namespace.dox:3