KiCad PCB EDA Suite
|
Helper object to release a SCH_PLUGIN in the context of a potential thrown exception through its destructor. More...
#include <sch_io_mgr.h>
Public Member Functions | |
SCH_PLUGIN_RELEASER (SCH_PLUGIN *aPlugin=nullptr) | |
~SCH_PLUGIN_RELEASER () | |
void | release () |
void | set (SCH_PLUGIN *aPlugin) |
operator SCH_PLUGIN * () const | |
SCH_PLUGIN * | operator-> () const |
Private Member Functions | |
SCH_PLUGIN_RELEASER & | operator= (SCH_PLUGIN_RELEASER &aOther) |
SCH_PLUGIN_RELEASER (const SCH_PLUGIN_RELEASER &aOther) | |
Private Attributes | |
SCH_PLUGIN * | plugin |
Helper object to release a SCH_PLUGIN in the context of a potential thrown exception through its destructor.
Definition at line 529 of file sch_io_mgr.h.
|
inlineprivate |
Definition at line 537 of file sch_io_mgr.h.
|
inline |
Definition at line 540 of file sch_io_mgr.h.
|
inline |
Definition at line 545 of file sch_io_mgr.h.
|
inline |
Definition at line 564 of file sch_io_mgr.h.
References plugin.
|
inline |
Definition at line 569 of file sch_io_mgr.h.
References plugin.
|
inlineprivate |
Definition at line 534 of file sch_io_mgr.h.
|
inline |
Definition at line 551 of file sch_io_mgr.h.
References plugin, and SCH_IO_MGR::ReleasePlugin().
Referenced by set(), SYMBOL_LIB_TABLE_ROW::SetType(), and ~SCH_PLUGIN_RELEASER().
|
inline |
Definition at line 557 of file sch_io_mgr.h.
References plugin, and release().
Referenced by SCH_ALTIUM_PLUGIN::LoadSchematicFile(), CADSTAR_SCH_ARCHIVE_PLUGIN::LoadSchematicFile(), SCH_EAGLE_PLUGIN::LoadSchematicFile(), SCH_EASYEDAPRO_PLUGIN::LoadSchematicFile(), SYMBOL_LIB_TABLE_ROW::Refresh(), and SYMBOL_LIB_TABLE_ROW::setPlugin().
|
private |
Definition at line 531 of file sch_io_mgr.h.
Referenced by operator SCH_PLUGIN *(), operator->(), release(), set(), and ~SCH_PLUGIN_RELEASER().