63 const std::vector<SCH_FIELD>& aFields,
bool aResolve,
int aDepth,
68 bool aResolve,
int aDepth,
REPORTER& aReporter );
71 const std::vector<SCH_PIN*>& aPins,
REPORTER& aReporter );
74 const std::vector<SCH_FIELD>& aFields,
bool aResolve,
int aDepth,
75 const std::vector<SCH_PIN*>& aPins,
REPORTER& aReporter );
77 void SetModel(
int aIndex, std::unique_ptr<SIM_MODEL> aModel );
79 std::map<wxString, std::reference_wrapper<const SIM_LIBRARY>>
GetLibraries()
const;
80 std::vector<std::reference_wrapper<SIM_MODEL>>
GetModels()
const;
91 std::vector<std::unique_ptr<SIM_MODEL>>
m_models;
Container for project specific data.
A pure virtual class used to derive REPORTER objects from.
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
void SetModel(int aIndex, std::unique_ptr< SIM_MODEL > aModel)
wxString ResolveLibraryPath(const wxString &aLibraryPath, REPORTER &aReporter)
const PROJECT * m_project
std::vector< EMBEDDED_FILES * > m_embeddedFilesStack
SIM_MODEL & CreateModel(SIM_MODEL::TYPE aType, const std::vector< SCH_PIN * > &aPins, REPORTER &aReporter)
std::vector< std::unique_ptr< SIM_MODEL > > m_models
virtual ~SIM_LIB_MGR()=default
std::map< wxString, std::reference_wrapper< const SIM_LIBRARY > > GetLibraries() const
wxString ResolveEmbeddedLibraryPath(const wxString &aLibPath, const wxString &aRelativeLib, REPORTER &aReporter)
std::vector< std::reference_wrapper< SIM_MODEL > > GetModels() const
void SetLibrary(const wxString &aLibraryPath, REPORTER &aReporter)
std::map< wxString, std::unique_ptr< SIM_LIBRARY > > m_libraries
void SetFilesStack(std::vector< EMBEDDED_FILES * > aFilesStack)