| 
    KiCad PCB EDA Suite
    
   | 
 
#include <object_2d.h>
Public Member Functions | |
| void | ResetStats () | 
| unsigned int | GetCountOf (OBJECT_2D_TYPE aObjType) const | 
| void | AddOne (OBJECT_2D_TYPE aObjType) | 
Static Public Member Functions | |
| static OBJECT_2D_STATS & | Instance () | 
Private Member Functions | |
| OBJECT_2D_STATS () | |
| OBJECT_2D_STATS (const OBJECT_2D_STATS &old) | |
| const OBJECT_2D_STATS & | operator= (const OBJECT_2D_STATS &old) | 
| ~OBJECT_2D_STATS () | |
Private Attributes | |
| unsigned int | m_counter [static_cast< int >(OBJECT_2D_TYPE::MAX)] | 
Static Private Attributes | |
| static OBJECT_2D_STATS * | s_instance = nullptr | 
Definition at line 119 of file object_2d.h.
      
  | 
  inlineprivate | 
Definition at line 146 of file object_2d.h.
References ResetStats().
Referenced by Instance(), OBJECT_2D_STATS(), and operator=().
      
  | 
  private | 
References OBJECT_2D_STATS().
      
  | 
  inlineprivate | 
Definition at line 149 of file object_2d.h.
      
  | 
  inline | 
Definition at line 132 of file object_2d.h.
References m_counter.
Referenced by OBJECT_2D::OBJECT_2D().
      
  | 
  inline | 
Definition at line 127 of file object_2d.h.
References m_counter.
      
  | 
  inlinestatic | 
Definition at line 137 of file object_2d.h.
References OBJECT_2D_STATS(), and s_instance.
Referenced by OBJECT_2D::OBJECT_2D(), RENDER_3D_RAYTRACE_BASE::Reload(), and RENDER_3D_OPENGL::reload().
      
  | 
  private | 
References OBJECT_2D_STATS().
      
  | 
  inline | 
Definition at line 122 of file object_2d.h.
References m_counter, and MAX.
Referenced by OBJECT_2D_STATS(), RENDER_3D_RAYTRACE_BASE::Reload(), and RENDER_3D_OPENGL::reload().
      
  | 
  private | 
Definition at line 151 of file object_2d.h.
Referenced by AddOne(), GetCountOf(), and ResetStats().
      
  | 
  staticprivate | 
Definition at line 153 of file object_2d.h.
Referenced by Instance().