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

Holds instance of PrintExecutor. More...

#include <PrintExecutor.h>

Collaboration diagram for GlobalPrintExecutor:

Static Public Member Functions

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

Detailed Description

Holds instance of PrintExecutor.

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

Member Function Documentation

◆ Get()

std::shared_ptr< PrintExecutor > Get ( )
inlinestatic

Provides current executor.

Returns
current executor

Referenced by Print::Create(), PrintCapture::Create(), SlapCapture::Create(), and ThumbsCapture::Create().

Here is the caller graph for this function:

◆ Set()

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

Sets new global executor.

Parameters
executornew executor to store
Exceptions
NullArgumentExceptionwhen given executor is null

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