mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-06 00:03:22 +00:00
12 lines
353 B
C++
12 lines
353 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#pragma once
|
|
#include <functional>
|
|
#include "sync_api.h"
|
|
|
|
class RunnableTask : public std::unary_function<void, void> {
|
|
public:
|
|
virtual void operator()(_Inout_opt_ ONNXRUNTIME_CALLBACK_INSTANCE pci) noexcept = 0;
|
|
virtual ~RunnableTask() = default;
|
|
};
|