Enrollment 28.2.0
Loading...
Searching...
No Matches
GlobalMultiModalityExecutor Class Reference

Holds instance of MultiModalityExecutor. More...

#include <MultiModalityExecutor.h>

Collaboration diagram for GlobalMultiModalityExecutor:

Static Public Member Functions

static std::shared_ptr< MultiModalityExecutor > Get ()
 Provides current executor.
static void Set (std::shared_ptr< MultiModalityExecutor > executor)
 Sets new global executor.

Detailed Description

Holds instance of MultiModalityExecutor.

When executor is not set then default one is LocalMultiModalityExecutor. The class is singleton.

Member Function Documentation

◆ Get()

std::shared_ptr< MultiModalityExecutor > Get ( )
inlinestatic

Provides current executor.

Returns
current executor

Referenced by ModalitiesGallery::Consolidate().

Here is the caller graph for this function:

◆ Set()

void Set ( std::shared_ptr< MultiModalityExecutor > executor)
inlinestatic

Sets new global executor.

Parameters
executornew executor to store
Exceptions
EnrollmentInvalidArgumentExceptionwhen given executor is null

The documentation for this class was generated from the following file: