20#ifndef DESIGN_BLOCK_INFO_IMPL_H
21#define DESIGN_BLOCK_INFO_IMPL_H
39 const wxString& aDesignBlockName )
41 m_nickname = aNickname;
42 m_dbname = aDesignBlockName;
52 const wxString& aDescription,
const wxString& aKeywords,
int aOrderNum )
54 m_nickname = aNickname;
55 m_dbname = aDesignBlockName;
58 m_keywords = aKeywords;
68 m_nickname = aNickname;
69 m_dbname = aDesignBlockName;
76 virtual void load()
override;
90 void loadDesignBlocks();
98 bool CatchErrors(
const std::function<
void()>& aFunc );
DESIGN_BLOCK_INFO_IMPL(const wxString &aNickname, const wxString &aDesignBlockName, const wxString &aDescription, const wxString &aKeywords, int aOrderNum)
DESIGN_BLOCK_INFO_IMPL(DESIGN_BLOCK_LIST *aOwner, const wxString &aNickname, const wxString &aDesignBlockName)
DESIGN_BLOCK_INFO_IMPL(const wxString &aNickname, const wxString &aDesignBlockName)
Helper class to handle the list of design blocks available in libraries.
virtual void load()
lazily load stuff not filled in by constructor. This may throw IO_ERRORS.
std::atomic_bool m_cancelled
PROGRESS_REPORTER * m_progress_reporter
virtual ~DESIGN_BLOCK_LIST_IMPL()
long long m_list_timestamp
SYNC_QUEUE< wxString > m_queue
Holds a list of DESIGN_BLOCK_INFO objects, along with a list of IO_ERRORs or PARSE_ERRORs that were t...
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
A progress reporter interface for use in multi-threaded environments.
Synchronized, locking queue.