Logo Search packages:      
Sourcecode: pwlib version File versions

PVideoInputDevice * PVideoInputDevice::CreateDevice ( const PString driverName,
PPluginManager *  pluginMgr = NULL 
) [static, inherited]

Create the video input device that corresponds to the specified driver name.

driverName  Name of driver
pluginMgr  Plug in manager, use default if NULL

Definition at line 1233 of file videoio.cxx.

Referenced by PVideoInputDevice::CreateOpenedDevice().

  if (pluginMgr == NULL)
    pluginMgr = &PPluginManager::GetPluginManager();

  return (PVideoInputDevice *)pluginMgr->CreatePluginsDevice(driverName, videoInputPluginBaseClass);

Generated by  Doxygen 1.6.0   Back to index