Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

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

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

Parameters:
driverNameName of driver
pluginMgrPlug in manager, use default if NULL

Definition at line 1233 of file videoio.cxx.

Referenced by VidTest::Main().

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

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

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index