template struct CCL::ITypedAsyncOperation

Asynchronous operation interface with result type.

#include <iasyncoperation.h>

template <typename ResultType>
struct ITypedAsyncOperation: public CCL::IAsyncOperation
{
    // methods

    static ITypedAsyncOperation* cast (IAsyncOperation* op);
};

Inherited Members

public:
    // enums

    enum State;

    // 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;
    virtual State CCL_API getState () const = 0;
    virtual Variant CCL_API getResult () const = 0;
    virtual void CCL_API setResult (VariantRef value) = 0;
    virtual void CCL_API cancel () = 0;
    virtual void CCL_API close () = 0;
    virtual void CCL_API setCompletionHandler (IAsyncCompletionHandler* handler) = 0;
    virtual void CCL_API setProgressHandler (IProgressNotify* handler) = 0;
    virtual IProgressNotify*CCL_API getProgressHandler () const = 0;