Lines Matching refs:pPlugInContainer
138 PlugInContainer* pPlugInContainer = new PlugInContainer(); in loadPlugIn() local
140 pPlugInContainer->hHandle = dlopen(rsPlugInPath.string(), RTLD_LAZY); in loadPlugIn()
142 if (NULL == pPlugInContainer->hHandle) { in loadPlugIn()
143 delete pPlugInContainer; in loadPlugIn() local
144 pPlugInContainer = NULL; in loadPlugIn()
148 pPlugInContainer->sPath = rsPlugInPath; in loadPlugIn()
149 pPlugInContainer->fpCreate in loadPlugIn()
150 = (FPCREATE)dlsym(pPlugInContainer->hHandle, PLUGIN_MANAGER_CREATE); in loadPlugIn()
151 pPlugInContainer->fpDestory in loadPlugIn()
152 = (FPDESTORY)dlsym(pPlugInContainer->hHandle, PLUGIN_MANAGER_DESTROY); in loadPlugIn()
154 if (NULL != pPlugInContainer->fpCreate && NULL != pPlugInContainer->fpDestory) { in loadPlugIn()
155 pPlugInContainer->pInstance = (Type*)pPlugInContainer->fpCreate(); in loadPlugIn()
157 m_plugInMap.add(rsPlugInPath, pPlugInContainer); in loadPlugIn()
159 dlclose(pPlugInContainer->hHandle); in loadPlugIn()
160 delete pPlugInContainer; in loadPlugIn() local
161 pPlugInContainer = NULL; in loadPlugIn()
177 PlugInContainer* pPlugInContainer = m_plugInMap.valueFor(rsPlugInPath); in unloadPlugIn() local
178 pPlugInContainer->fpDestory(pPlugInContainer->pInstance); in unloadPlugIn()
179 dlclose(pPlugInContainer->hHandle); in unloadPlugIn()
182 delete pPlugInContainer; in unloadPlugIn() local
183 pPlugInContainer = NULL; in unloadPlugIn()