Definition at line 44 of file RgbDataDstFactory.h. References DST_AVI, DST_DX, DST_OGL, DST_WIN, and ILOG_ERROR. Referenced by Impala::Application::DataServer::AcceptRequest(), and Impala::Application::Video::mainVideo(). 00045 { 00046 #ifdef OGL_USED 00047 if (dst & DST_OGL) 00048 return new RgbDataDstOgl(dst, dstName, imageWidth, imageHeight); 00049 #endif 00050 #ifdef DX_USED 00051 if (dst & DST_WIN) 00052 return new RgbDataDstWin(dst, dstName, imageWidth, imageHeight); 00053 if (dst & DST_DX) 00054 return new RgbDataDstDX(dst, dstName, imageWidth, imageHeight); 00055 if (dst & DST_AVI) 00056 return new RgbDataDstAVI(dst, dstName, imageWidth, imageHeight); 00057 #endif 00058 ILOG_ERROR("RgbDataDstFactory : construct failed"); 00059 return 0; 00060 }
|