Public Member Functions | |
IgPluginManagerDestructor (void) | |
void | object (IgPluginManager *manager) |
void | policy (bool destroy) |
~IgPluginManagerDestructor (void) | |
Private Attributes | |
bool | m_destroy |
IgPluginManager * | m_manager |
Definition at line 31 of file IgPluginManager.cc.
IgPluginManagerDestructor::IgPluginManagerDestructor | ( | void | ) | [inline] |
Definition at line 36 of file IgPluginManager.cc.
00037 : m_manager (0), 00038 #if ! __GNUC__ || __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ > 2) 00039 m_destroy (true) 00040 #else 00041 m_destroy (false) 00042 #endif
IgPluginManagerDestructor::~IgPluginManagerDestructor | ( | void | ) | [inline] |
Definition at line 43 of file IgPluginManager.cc.
00043 {} 00044 ~IgPluginManagerDestructor (void) 00045 { 00046 if (m_destroy && m_manager) 00047 { 00048 LOG (0, trace, LFplugin_manager, "destroying plug-in manager\n" << lat::indent); 00049 delete m_manager; 00050 m_manager = 0; 00051 LOG (0, trace, LFplugin_manager, lat::undent); 00052 }
void IgPluginManagerDestructor::object | ( | IgPluginManager * | manager | ) | [inline] |
Definition at line 55 of file IgPluginManager.cc.
References m_destroy.
Referenced by IgPluginManager::get().
00055 { m_destroy = destroy; }
Definition at line 54 of file IgPluginManager.cc.
Referenced by IgPluginManager::destroyOnExit().
00055 { m_destroy = destroy; }
bool IgPluginManagerDestructor::m_destroy [private] |
Definition at line 32 of file IgPluginManager.cc.