struct CCL::ITouchCollection

Overview

#include <imultitouch.h>

struct ITouchCollection: public CCL::IUnknown
{
    // methods

    virtual int CCL_API getTouchCount () const = 0;
    virtual const TouchInfo&CCL_API getTouchInfo (int index) const = 0;
    virtual const TouchInfo*CCL_API getTouchInfoByID (TouchID id) const = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Methods

virtual int CCL_API getTouchCount () const = 0

Get number of touches.

virtual const TouchInfo&CCL_API getTouchInfo (int index) const = 0

Get touch information at given index.

virtual const TouchInfo*CCL_API getTouchInfoByID (TouchID id) const = 0

Get touch information by ID.