57 const std::vector<SCH_FIELD>& aFields,
REPORTER& aReporter );
64 const std::vector<SCH_PIN*>& aPins,
bool aResolved,
68 const std::string& aBaseModelName,
69 const std::vector<SCH_FIELD>& aFields,
70 const std::vector<SCH_PIN*>& aPins,
REPORTER& aReporter );
72 void SetModel(
int aIndex, std::unique_ptr<SIM_MODEL> aModel );
74 std::map<wxString, std::reference_wrapper<const SIM_LIBRARY>>
GetLibraries()
const;
75 std::vector<std::reference_wrapper<SIM_MODEL>>
GetModels()
const;
86 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)
const PROJECT * m_project
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
static wxString ResolveLibraryPath(const wxString &aLibraryPath, const PROJECT *aProject, REPORTER &aReporter)
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