28#ifndef __PNS_LOG_FILE_H
29#define __PNS_LOG_FILE_H
35#include <wx/filename.h>
76 bool Load(
const wxFileName& logFileName,
REPORTER* aRpt );
90 std::vector<std::unique_ptr<PNS::ITEM>> aParsedItems )
A base class derived from BOARD_ITEM for items that can be connected and have a net,...
Base class for PNS router board items.
Contain all persistent settings of the router, such as the mode, optimization effort,...
BOARD_CONNECTED_ITEM * ItemById(const PNS::LOGGER::EVENT_ENTRY &evt)
void SetExpectedResult(const COMMIT_STATE &aCommitState, std::vector< std::unique_ptr< PNS::ITEM > > aParsedItems)
void SetBoard(std::shared_ptr< BOARD > brd)
bool Load(const wxFileName &logFileName, REPORTER *aRpt)
const COMMIT_STATE & GetExpectedResult() const
bool SaveLog(const wxFileName &logFileName, REPORTER *aRpt)
std::unique_ptr< PNS::SEGMENT > parsePnsSegmentFromString(wxStringTokenizer &aTokens)
std::shared_ptr< BOARD > m_board
std::shared_ptr< SETTINGS_MANAGER > m_settingsMgr
std::shared_ptr< SHAPE > parseShape(SHAPE_TYPE expectedType, wxStringTokenizer &aTokens)
std::vector< std::unique_ptr< PNS::ITEM > > m_parsed_items
std::unique_ptr< PNS::ITEM > parseItemFromString(wxStringTokenizer &aTokens)
PNS::ROUTING_SETTINGS * GetRoutingSettings() const
void SetMode(PNS::ROUTER_MODE aMode)
std::unique_ptr< PNS::VIA > parsePnsViaFromString(wxStringTokenizer &aTokens)
bool parseCommonPnsProps(PNS::ITEM *aItem, const wxString &cmd, wxStringTokenizer &aTokens)
COMMIT_STATE m_commitState
PNS::ROUTER_MODE GetMode() const
std::vector< PNS::LOGGER::EVENT_ENTRY > & Events()
std::shared_ptr< BOARD > GetBoard() const
std::vector< PNS::LOGGER::EVENT_ENTRY > m_events
std::unique_ptr< PNS::ROUTING_SETTINGS > m_routerSettings
A pure virtual class used to derive REPORTER objects from.
SHAPE_TYPE
Lists all supported shapes.
std::set< KIID > m_removedIds
COMMIT_STATE(const COMMIT_STATE &aOther)
bool Compare(const COMMIT_STATE &aOther)
std::vector< PNS::ITEM * > m_addedItems
std::vector< PNS::ITEM * > m_heads