24#ifndef __PNS_TEST_DEBUG_DECORATOR_H
25#define __PNS_TEST_DEBUG_DECORATOR_H
80 virtual void Message(
const wxString& msg,
81 const SRC_LOCATION_INFO& aSrcLoc = SRC_LOCATION_INFO() )
override;
83 const SRC_LOCATION_INFO& aSrcLoc = SRC_LOCATION_INFO() )
override;
85 const SRC_LOCATION_INFO& aSrcLoc = SRC_LOCATION_INFO() )
override;
86 virtual void EndGroup(
const SRC_LOCATION_INFO& aSrcLoc = SRC_LOCATION_INFO() )
override;
89 const wxString& aName = wxT(
"" ),
90 const SRC_LOCATION_INFO& aSrcLoc = SRC_LOCATION_INFO() )
override;
93 int aOverrideWidth = 0,
const wxString& aName = wxT(
"" ),
94 const SRC_LOCATION_INFO& aSrcLoc = SRC_LOCATION_INFO() )
override;
97 int aOverrideWidth = 0,
const wxString& aName = wxT(
"" ),
98 const SRC_LOCATION_INFO& aSrcLoc = SRC_LOCATION_INFO() )
override;
A color representation with 4 components: red, green, blue, alpha.
Base class for PNS router board items.
std::vector< SHAPE * > m_shapes
PNS_DEBUG_SHAPE * NewChild()
void IterateTree(std::function< bool(PNS_DEBUG_SHAPE *)> visitor, int depth=0)
void AddChild(PNS_DEBUG_SHAPE *ent)
PNS_DEBUG_SHAPE * m_parent
PNS::DEBUG_DECORATOR::SRC_LOCATION_INFO m_srcLoc
std::vector< PNS_DEBUG_SHAPE * > m_children
int GetStageCount() const
virtual void AddPoint(const VECTOR2I &aP, const KIGFX::COLOR4D &aColor, int aSize, const wxString &aName=wxT(""), const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override
void addEntry(PNS_DEBUG_SHAPE *ent)
PNS_DEBUG_SHAPE * m_activeEntry
virtual void AddItem(const PNS::ITEM *aItem, const KIGFX::COLOR4D &aColor, int aOverrideWidth=0, const wxString &aName=wxT(""), const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override
std::vector< PNS_DEBUG_STAGE * > m_stages
BOX2I GetStageExtents(int stage) const
virtual void Message(const wxString &msg, const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override
PNS_DEBUG_STAGE * GetStage(int index)
PNS_DEBUG_STAGE * currentStage()
virtual ~PNS_TEST_DEBUG_DECORATOR()
virtual void BeginGroup(const wxString &name, int aLevel=0, const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override
virtual void EndGroup(const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override
virtual void SetIteration(int iter) override
virtual void AddShape(const SHAPE *aShape, const KIGFX::COLOR4D &aColor, int aOverrideWidth=0, const wxString &aName=wxT(""), const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override
virtual void NewStage(const wxString &name, int iter, const SRC_LOCATION_INFO &aSrcLoc=SRC_LOCATION_INFO()) override
virtual void Clear() override
void SetCurrentStageStatus(bool stat)
A pure virtual class used to derive REPORTER objects from.
An abstract shape on 2D plane.
PNS_DEBUG_SHAPE * m_entries