![]() |
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 479 of file sch_io_mgr.h.
|
inlineprivate |
Definition at line 487 of file sch_io_mgr.h.
|
inline |
Definition at line 490 of file sch_io_mgr.h.
|
inline |
Definition at line 495 of file sch_io_mgr.h.
|
inline |
|
inline |
|
inlineprivate |
Definition at line 484 of file sch_io_mgr.h.
|
inline |
Definition at line 501 of file sch_io_mgr.h.
References plugin, and SCH_IO_MGR::ReleasePlugin().
Referenced by set(), and ~SCH_PLUGIN_RELEASER().
|
inline |
Definition at line 507 of file sch_io_mgr.h.
References plugin, and release().
Referenced by CADSTAR_SCH_ARCHIVE_PLUGIN::Load(), SCH_ALTIUM_PLUGIN::Load(), SCH_EAGLE_PLUGIN::Load(), SYMBOL_LIB_TABLE_RESCUER::OpenRescueLibrary(), and SYMBOL_LIB_TABLE_ROW::setPlugin().
|
private |
Definition at line 481 of file sch_io_mgr.h.
Referenced by operator ->(), operator SCH_PLUGIN *(), release(), set(), and ~SCH_PLUGIN_RELEASER().