struct InferenceEngine::InferRequest::SetCallback¶
template <typename T>
struct SetCallback
{
// fields
InferRequest& _this;
// methods
void operator () (std::function<void()> f);
};
struct InferenceEngine::InferRequest::SetCallback<IInferRequest::CompletionCallback>¶
template <>
struct SetCallback<IInferRequest::CompletionCallback>
{
// fields
InferRequest& _this;
// methods
void operator () (IInferRequest::CompletionCallback f);
};
struct InferenceEngine::InferRequest::SetCallback<std::function<void(InferRequest, StatusCode)>>¶
template <>
struct SetCallback<std::function<void(InferRequest, StatusCode)>>
{
// fields
InferRequest& _this;
// methods
void operator () (std::function<void(InferRequest, StatusCode)> f);
};