KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PNS_DEBUG_SHAPE Class Reference

#include <pns_test_debug_decorator.h>

Public Member Functions

 PNS_DEBUG_SHAPE (PNS_DEBUG_SHAPE *aParent=nullptr)
 
 ~PNS_DEBUG_SHAPE ()
 
PNS_DEBUG_SHAPENewChild ()
 
void AddChild (PNS_DEBUG_SHAPE *ent)
 
bool IsVisible () const
 
void IterateTree (std::function< bool(PNS_DEBUG_SHAPE *)> visitor, int depth=0)
 

Public Attributes

PNS_DEBUG_SHAPEm_parent
 
std::vector< SHAPE * > m_shapes
 
std::vector< PNS_DEBUG_SHAPE * > m_children
 
KIGFX::COLOR4D m_color
 
int m_width
 
bool m_hasLabels = true
 
int m_iter
 
wxString m_name
 
wxString m_msg
 
PNS::DEBUG_DECORATOR::SRC_LOCATION_INFO m_srcLoc
 
bool m_visible
 
bool m_selected
 
bool m_filterMatch
 
int m_level
 

Detailed Description

Definition at line 33 of file pns_test_debug_decorator.h.

Constructor & Destructor Documentation

◆ PNS_DEBUG_SHAPE()

PNS_DEBUG_SHAPE::PNS_DEBUG_SHAPE ( PNS_DEBUG_SHAPE aParent = nullptr)

◆ ~PNS_DEBUG_SHAPE()

PNS_DEBUG_SHAPE::~PNS_DEBUG_SHAPE ( )

Definition at line 46 of file pns_test_debug_decorator.cpp.

References m_children, and m_shapes.

Member Function Documentation

◆ AddChild()

void PNS_DEBUG_SHAPE::AddChild ( PNS_DEBUG_SHAPE ent)

◆ IsVisible()

bool PNS_DEBUG_SHAPE::IsVisible ( ) const

Definition at line 72 of file pns_test_debug_decorator.cpp.

References m_parent, and m_visible.

◆ IterateTree()

void PNS_DEBUG_SHAPE::IterateTree ( std::function< bool(PNS_DEBUG_SHAPE *)>  visitor,
int  depth = 0 
)

◆ NewChild()

PNS_DEBUG_SHAPE * PNS_DEBUG_SHAPE::NewChild ( )

Definition at line 56 of file pns_test_debug_decorator.cpp.

References m_children.

Member Data Documentation

◆ m_children

◆ m_color

◆ m_filterMatch

bool PNS_DEBUG_SHAPE::m_filterMatch

Definition at line 56 of file pns_test_debug_decorator.h.

Referenced by PNS_LOG_VIEWER_FRAME::buildListTree().

◆ m_hasLabels

bool PNS_DEBUG_SHAPE::m_hasLabels = true

Definition at line 49 of file pns_test_debug_decorator.h.

Referenced by PNS_TEST_DEBUG_DECORATOR::AddPoint().

◆ m_iter

◆ m_level

int PNS_DEBUG_SHAPE::m_level

◆ m_msg

wxString PNS_DEBUG_SHAPE::m_msg

◆ m_name

◆ m_parent

◆ m_selected

bool PNS_DEBUG_SHAPE::m_selected

Definition at line 55 of file pns_test_debug_decorator.h.

Referenced by PNS_DEBUG_SHAPE(), and PNS_LOG_VIEWER_FRAME::syncModel().

◆ m_shapes

◆ m_srcLoc

◆ m_visible

bool PNS_DEBUG_SHAPE::m_visible

◆ m_width


The documentation for this class was generated from the following files: