NVIDIA Holoscan SDK v2.4.0
Holoscan v2.4.0

Class ExecutionContext

Derived Type

class ExecutionContext

Class to hold the execution context.

This class provides the execution context for the operator.

Subclassed by holoscan::gxf::GXFExecutionContext

Public Functions

ExecutionContext() = default

Construct a new Execution Context object.

virtual ~ExecutionContext() = default
inline InputContext *input() const

Get the input context.

Returns

The pointer to the input context.

inline OutputContext *output() const

Get the output context.

Returns

The pointer to the output context.

inline void *context() const

Get the context.

Returns

The pointer to the context.

Protected Attributes

InputContext *input_context_ = nullptr

The input context.

OutputContext *output_context_ = nullptr

The output context.

void *context_ = nullptr

The context.

Previous Class EventBasedScheduler
Next Class Executor
© Copyright 2022-2024, NVIDIA. Last updated on Oct 1, 2024.