| 
    KiCad PCB EDA Suite
    
   | 
 
#include <pns_test_debug_decorator.h>
Public Member Functions | |
| PNS_DEBUG_SHAPE (PNS_DEBUG_SHAPE *aParent=nullptr) | |
| ~PNS_DEBUG_SHAPE () | |
| PNS_DEBUG_SHAPE * | NewChild () | 
| 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_SHAPE * | m_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 | 
Definition at line 33 of file pns_test_debug_decorator.h.
| PNS_DEBUG_SHAPE::PNS_DEBUG_SHAPE | ( | PNS_DEBUG_SHAPE * | aParent = nullptr | ) | 
Definition at line 34 of file pns_test_debug_decorator.cpp.
References m_color, m_iter, m_level, m_name, m_parent, m_selected, m_visible, m_width, PNS_DEBUG_SHAPE(), and KIGFX::COLOR4D::WHITE.
Referenced by AddChild(), IsVisible(), IterateTree(), NewChild(), PNS_DEBUG_SHAPE(), and ~PNS_DEBUG_SHAPE().
| PNS_DEBUG_SHAPE::~PNS_DEBUG_SHAPE | ( | ) | 
Definition at line 46 of file pns_test_debug_decorator.cpp.
References m_children, m_shapes, and PNS_DEBUG_SHAPE().
| void PNS_DEBUG_SHAPE::AddChild | ( | PNS_DEBUG_SHAPE * | ent | ) | 
Definition at line 65 of file pns_test_debug_decorator.cpp.
References m_children, m_parent, and PNS_DEBUG_SHAPE().
| bool PNS_DEBUG_SHAPE::IsVisible | ( | ) | const | 
Definition at line 72 of file pns_test_debug_decorator.cpp.
References m_parent, m_visible, and PNS_DEBUG_SHAPE().
| void PNS_DEBUG_SHAPE::IterateTree | ( | std::function< bool(PNS_DEBUG_SHAPE *)> | visitor, | 
| int | depth = 0 ) | 
Definition at line 90 of file pns_test_debug_decorator.cpp.
References m_children, and PNS_DEBUG_SHAPE().
Referenced by PNS_LOG_VIEWER_FRAME::drawLoggedItems(), and PNS_LOG_VIEWER_FRAME::onListRightClick().
| PNS_DEBUG_SHAPE * PNS_DEBUG_SHAPE::NewChild | ( | ) | 
Definition at line 56 of file pns_test_debug_decorator.cpp.
References m_children, and PNS_DEBUG_SHAPE().
| std::vector<PNS_DEBUG_SHAPE*> PNS_DEBUG_SHAPE::m_children | 
Definition at line 46 of file pns_test_debug_decorator.h.
Referenced by AddChild(), PNS_LOG_VIEWER_FRAME::buildListTree(), PNS_LOG_VIEWER_FRAME::filterStringMatches(), IterateTree(), NewChild(), and ~PNS_DEBUG_SHAPE().
| KIGFX::COLOR4D PNS_DEBUG_SHAPE::m_color | 
Definition at line 47 of file pns_test_debug_decorator.h.
Referenced by PNS_TEST_DEBUG_DECORATOR::AddItem(), PNS_TEST_DEBUG_DECORATOR::AddPoint(), PNS_TEST_DEBUG_DECORATOR::AddShape(), and PNS_DEBUG_SHAPE().
| bool PNS_DEBUG_SHAPE::m_filterMatch | 
Definition at line 56 of file pns_test_debug_decorator.h.
Referenced by PNS_LOG_VIEWER_FRAME::buildListTree().
| 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().
| int PNS_DEBUG_SHAPE::m_iter | 
Definition at line 50 of file pns_test_debug_decorator.h.
Referenced by PNS_TEST_DEBUG_DECORATOR::AddItem(), PNS_TEST_DEBUG_DECORATOR::AddPoint(), PNS_TEST_DEBUG_DECORATOR::AddShape(), PNS_TEST_DEBUG_DECORATOR::BeginGroup(), and PNS_DEBUG_SHAPE().
| int PNS_DEBUG_SHAPE::m_level | 
Definition at line 57 of file pns_test_debug_decorator.h.
Referenced by PNS_TEST_DEBUG_DECORATOR::BeginGroup(), and PNS_DEBUG_SHAPE().
| wxString PNS_DEBUG_SHAPE::m_msg | 
Definition at line 52 of file pns_test_debug_decorator.h.
Referenced by PNS_LOG_VIEWER_FRAME::buildListTree(), and PNS_TEST_DEBUG_DECORATOR::Message().
| wxString PNS_DEBUG_SHAPE::m_name | 
Definition at line 51 of file pns_test_debug_decorator.h.
Referenced by PNS_TEST_DEBUG_DECORATOR::AddItem(), PNS_TEST_DEBUG_DECORATOR::AddPoint(), PNS_TEST_DEBUG_DECORATOR::AddShape(), PNS_TEST_DEBUG_DECORATOR::BeginGroup(), PNS_LOG_VIEWER_FRAME::buildListTree(), and PNS_DEBUG_SHAPE().
| PNS_DEBUG_SHAPE* PNS_DEBUG_SHAPE::m_parent | 
Definition at line 44 of file pns_test_debug_decorator.h.
Referenced by AddChild(), PNS_LOG_VIEWER_FRAME::filterStringMatches(), IsVisible(), and PNS_DEBUG_SHAPE().
| 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().
| std::vector<SHAPE*> PNS_DEBUG_SHAPE::m_shapes | 
Definition at line 45 of file pns_test_debug_decorator.h.
Referenced by PNS_TEST_DEBUG_DECORATOR::AddItem(), PNS_TEST_DEBUG_DECORATOR::AddPoint(), PNS_TEST_DEBUG_DECORATOR::AddShape(), PNS_LOG_VIEWER_FRAME::buildListTree(), and ~PNS_DEBUG_SHAPE().
| PNS::DEBUG_DECORATOR::SRC_LOCATION_INFO PNS_DEBUG_SHAPE::m_srcLoc | 
Definition at line 53 of file pns_test_debug_decorator.h.
Referenced by PNS_TEST_DEBUG_DECORATOR::AddItem(), PNS_TEST_DEBUG_DECORATOR::AddPoint(), PNS_TEST_DEBUG_DECORATOR::AddShape(), PNS_LOG_VIEWER_FRAME::buildListTree(), and PNS_TEST_DEBUG_DECORATOR::Message().
| bool PNS_DEBUG_SHAPE::m_visible | 
Definition at line 54 of file pns_test_debug_decorator.h.
Referenced by IsVisible(), PNS_DEBUG_SHAPE(), and PNS_LOG_VIEWER_FRAME::syncModel().
| int PNS_DEBUG_SHAPE::m_width | 
Definition at line 48 of file pns_test_debug_decorator.h.
Referenced by PNS_TEST_DEBUG_DECORATOR::AddItem(), PNS_TEST_DEBUG_DECORATOR::AddPoint(), PNS_TEST_DEBUG_DECORATOR::AddShape(), and PNS_DEBUG_SHAPE().