class InferenceEngine::ImmediateExecutor

Overview

Task executor implementation that just run tasks in current thread during calling of run() method. More…

#include <ie_immediate_executor.hpp>

class ImmediateExecutor: public InferenceEngine::ITaskExecutor
{
public:
    // typedefs

    typedef std::shared_ptr<ImmediateExecutor> Ptr;

    // methods

    virtual void run(Task task);
};

Inherited Members

public:
    // typedefs

    typedef std::shared_ptr<ITaskExecutor> Ptr;

    // methods

    virtual void run(Task task) = 0;
    virtual void runAndWait(const std::vector<Task>& tasks);

Detailed Documentation

Task executor implementation that just run tasks in current thread during calling of run() method.

Typedefs

typedef std::shared_ptr<ImmediateExecutor> Ptr

A shared pointer to a ImmediateExecutor object.

Methods

virtual void run(Task task)

Execute InferenceEngine::Task inside task executor context.

Parameters:

task

A task to start