
#ifndef XNIRSTREAM_H
#define XNIRSTREAM_H

//---------------------------------------------------------------------------
// Includes
//---------------------------------------------------------------------------
#include <DDK/XnPixelStream.h>

//---------------------------------------------------------------------------
// Types
//---------------------------------------------------------------------------

/** Represents a base class for an image stream. */
class XnIRStream : public XnPixelStream
{
public:
	XnIRStream(const XnChar* csName, XnBool bAllowCustomResolutions, OniIRPixel nDeviceMaxIR);

    XnStatus Init();

    //---------------------------------------------------------------------------
    // Getters
    //---------------------------------------------------------------------------
    inline OniIRPixel GetDeviceMaxIR() const { return (OniIRPixel)m_DeviceMaxIR.GetValue(); }

protected:
    //---------------------------------------------------------------------------
    // Properties Getters
    //---------------------------------------------------------------------------
    inline XnActualIntProperty& DeviceMaxIRProperty() { return m_DeviceMaxIR; }

private:
    //---------------------------------------------------------------------------
    // Members
    //---------------------------------------------------------------------------
    XnActualIntProperty m_DeviceMaxIR;
};

#endif // XNIRSTREAM_H
