KiCad PCB EDA Suite
|
Implements a class for object statistics using Singleton pattern. More...
#include <object_3d.h>
Public Member Functions | |
void | ResetStats () |
unsigned int | GetCountOf (OBJECT_3D_TYPE aObjType) const |
void | AddOne (OBJECT_3D_TYPE aObjType) |
Static Public Member Functions | |
static OBJECT_3D_STATS & | Instance () |
Private Member Functions | |
OBJECT_3D_STATS () | |
OBJECT_3D_STATS (const OBJECT_3D_STATS &old) | |
const OBJECT_3D_STATS & | operator= (const OBJECT_3D_STATS &old) |
~OBJECT_3D_STATS () | |
Private Attributes | |
unsigned int | m_counter [static_cast< int >(OBJECT_3D_TYPE::MAX)] |
Static Private Attributes | |
static OBJECT_3D_STATS * | s_instance = 0 |
Implements a class for object statistics using Singleton pattern.
Definition at line 112 of file object_3d.h.
|
inlineprivate |
|
private |
|
inlineprivate |
Definition at line 144 of file object_3d.h.
|
inline |
Definition at line 125 of file object_3d.h.
References m_counter.
Referenced by OBJECT_3D::OBJECT_3D().
|
inline |
Definition at line 120 of file object_3d.h.
References m_counter.
|
inlinestatic |
Definition at line 132 of file object_3d.h.
References OBJECT_3D_STATS(), and s_instance.
Referenced by OBJECT_3D::OBJECT_3D(), and RENDER_3D_RAYTRACE_BASE::Reload().
|
private |
|
inline |
Definition at line 115 of file object_3d.h.
References m_counter.
Referenced by OBJECT_3D_STATS(), and RENDER_3D_RAYTRACE_BASE::Reload().
|
private |
Definition at line 146 of file object_3d.h.
Referenced by AddOne(), GetCountOf(), and ResetStats().
|
staticprivate |
Definition at line 148 of file object_3d.h.
Referenced by Instance().