--------------------------------------------------------------------------- Code ---------------------------------------------------------------------------
| 32 | // Code |
| 33 | //--------------------------------------------------------------------------- |
| 34 | XnStatus xnXmlReadMapOutputMode(const TiXmlElement* pOpcode, XnMapOutputMode* pMapOutputMode) |
| 35 | { |
| 36 | XnStatus nRetVal = XN_STATUS_OK; |
| 37 | |
| 38 | nRetVal = xnXmlReadUInt32Attribute(pOpcode, "xRes", &pMapOutputMode->nXRes); |
| 39 | XN_IS_STATUS_OK(nRetVal); |
| 40 | |
| 41 | nRetVal = xnXmlReadUInt32Attribute(pOpcode, "yRes", &pMapOutputMode->nYRes); |
| 42 | XN_IS_STATUS_OK(nRetVal); |
| 43 | |
| 44 | nRetVal = xnXmlReadUInt32Attribute(pOpcode, "FPS", &pMapOutputMode->nFPS); |
| 45 | XN_IS_STATUS_OK(nRetVal); |
| 46 | |
| 47 | return (XN_STATUS_OK); |
| 48 | } |
| 49 | |
| 50 | XnStatus xnXmlReadWaveOutputMode(const TiXmlElement* pOpcode, XnWaveOutputMode* pWaveOutputMode) |
| 51 | { |
no test coverage detected