| 2514 | |
| 2515 | template<int nth> |
| 2516 | static OfxStatus |
| 2517 | getViewCountNth(OfxImageEffectHandle effect, |
| 2518 | int *nViews) |
| 2519 | { |
| 2520 | OfxStatus st; |
| 2521 | |
| 2522 | assert( nth < gHost.size() && nth < gPluginsSetHost.size() ); |
| 2523 | try { |
| 2524 | st = (gImageEffectPlaneV2Host[nth]->getViewCount ? |
| 2525 | gImageEffectPlaneV2Host[nth]->getViewCount(effect, nViews) : |
| 2526 | kOfxStatErrMissingHostFeature); |
| 2527 | } catch (...) { |
| 2528 | std::cout << "OFX DebugProxy: " << gPlugins[nth].pluginIdentifier << "..getViewCount(" << effect << ", " << *nViews << "): host exception!" << std::endl; |
| 2529 | throw; |
| 2530 | } |
| 2531 | |
| 2532 | std::cout << "OFX DebugProxy: " << gPlugins[nth].pluginIdentifier << "..getViewCount(" << effect << ", " << *nViews << ")->" << StatStr(st); |
| 2533 | std::cout << std::endl; |
| 2534 | |
| 2535 | return st; |
| 2536 | } |
| 2537 | |
| 2538 | #define NTHFUNC(nth) \ |
| 2539 | case nth: \ |
nothing calls this directly
no outgoing calls
no test coverage detected