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

#include <pns_log_player.h>

Public Member Functions

 PNS_LOG_PLAYER ()
 
 ~PNS_LOG_PLAYER ()
 
void ReplayLog (PNS_LOG_FILE *aLog, int aStartEventIndex=0, int aFrom=0, int aTo=-1, bool aUpdateExpectedResult=false)
 
void SetReporter (REPORTER *aReporter)
 
PNS_TEST_DEBUG_DECORATORGetDebugDecorator ()
 
std::shared_ptr< PNS_LOG_VIEW_TRACKERGetViewTracker ()
 
void SetTimeLimit (uint64_t microseconds)
 
bool CompareResults (PNS_LOG_FILE *aLog)
 
const PNS_LOG_FILE::COMMIT_STATE GetRouterUpdatedItems ()
 

Private Member Functions

void createRouter ()
 

Private Attributes

std::shared_ptr< PNS_LOG_VIEW_TRACKERm_viewTracker
 
std::unique_ptr< PNS_LOG_PLAYER_KICAD_IFACEm_iface
 
PNS_TEST_DEBUG_DECORATORm_debugDecorator
 
std::shared_ptr< BOARDm_board
 
std::unique_ptr< PNS::ROUTERm_router
 
std::unique_ptr< PNS::ROUTING_SETTINGSm_routingSettings
 
uint64_t m_timeLimitUs
 
REPORTERm_reporter
 

Detailed Description

Definition at line 93 of file pns_log_player.h.

Constructor & Destructor Documentation

◆ PNS_LOG_PLAYER()

PNS_LOG_PLAYER::PNS_LOG_PLAYER ( )

Definition at line 34 of file pns_log_player.cpp.

References NULL_REPORTER::GetInstance(), and SetReporter().

◆ ~PNS_LOG_PLAYER()

PNS_LOG_PLAYER::~PNS_LOG_PLAYER ( )

Definition at line 40 of file pns_log_player.cpp.

Member Function Documentation

◆ CompareResults()

bool PNS_LOG_PLAYER::CompareResults ( PNS_LOG_FILE aLog)

◆ createRouter()

void PNS_LOG_PLAYER::createRouter ( )
private

◆ GetDebugDecorator()

PNS_TEST_DEBUG_DECORATOR * PNS_LOG_PLAYER::GetDebugDecorator ( )
inline

Definition at line 104 of file pns_log_player.h.

References m_debugDecorator.

◆ GetRouterUpdatedItems()

const PNS_LOG_FILE::COMMIT_STATE PNS_LOG_PLAYER::GetRouterUpdatedItems ( )

◆ GetViewTracker()

std::shared_ptr< PNS_LOG_VIEW_TRACKER > PNS_LOG_PLAYER::GetViewTracker ( )
inline

Definition at line 105 of file pns_log_player.h.

References m_viewTracker.

◆ ReplayLog()

◆ SetReporter()

void PNS_LOG_PLAYER::SetReporter ( REPORTER aReporter)
inline

Definition at line 102 of file pns_log_player.h.

References m_reporter.

Referenced by PNS_LOG_PLAYER(), and PNS_TEST_FIXTURE::RunTest().

◆ SetTimeLimit()

void PNS_LOG_PLAYER::SetTimeLimit ( uint64_t  microseconds)
inline

Definition at line 107 of file pns_log_player.h.

References m_timeLimitUs.

Member Data Documentation

◆ m_board

std::shared_ptr<BOARD> PNS_LOG_PLAYER::m_board
private

Definition at line 118 of file pns_log_player.h.

Referenced by createRouter(), and ReplayLog().

◆ m_debugDecorator

PNS_TEST_DEBUG_DECORATOR* PNS_LOG_PLAYER::m_debugDecorator
private

Definition at line 117 of file pns_log_player.h.

Referenced by createRouter(), GetDebugDecorator(), and ReplayLog().

◆ m_iface

std::unique_ptr<PNS_LOG_PLAYER_KICAD_IFACE> PNS_LOG_PLAYER::m_iface
private

Definition at line 116 of file pns_log_player.h.

Referenced by createRouter(), and ReplayLog().

◆ m_reporter

REPORTER* PNS_LOG_PLAYER::m_reporter
private

Definition at line 122 of file pns_log_player.h.

Referenced by createRouter(), ReplayLog(), and SetReporter().

◆ m_router

std::unique_ptr<PNS::ROUTER> PNS_LOG_PLAYER::m_router
private

Definition at line 119 of file pns_log_player.h.

Referenced by createRouter(), GetRouterUpdatedItems(), and ReplayLog().

◆ m_routingSettings

std::unique_ptr<PNS::ROUTING_SETTINGS> PNS_LOG_PLAYER::m_routingSettings
private

Definition at line 120 of file pns_log_player.h.

Referenced by createRouter().

◆ m_timeLimitUs

uint64_t PNS_LOG_PLAYER::m_timeLimitUs
private

Definition at line 121 of file pns_log_player.h.

Referenced by SetTimeLimit().

◆ m_viewTracker

std::shared_ptr<PNS_LOG_VIEW_TRACKER> PNS_LOG_PLAYER::m_viewTracker
private

Definition at line 115 of file pns_log_player.h.

Referenced by createRouter(), GetViewTracker(), and ReplayLog().


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