Babeltrace 2 C API 2.1.0
Open-source trace manipulation framework
Loading...
Searching...
No Matches
Private query executor

Detailed Description

Private view of a query executor for a component class query method.

A private query executor is a private view, from within a component class query method, of a query executor.

A query method receives a private query executor as its query_executor parameter.

As of Babeltrace 2.0, this API only offers the bt_private_query_executor_as_query_executor_const() function to upcast a private query executor to a const query executor. You need this to get the logging level of the query executor.

Upcast

static const bt_query_executorbt_private_query_executor_as_query_executor_const (bt_private_query_executor *query_executor)
 Upcasts the private query executor query_executor to the public bt_query_executor type.
 

Type

typedef struct bt_private_query_executor bt_private_query_executor
 Private query executor.
 

Function Documentation

◆ bt_private_query_executor_as_query_executor_const()

static const bt_query_executor * bt_private_query_executor_as_query_executor_const ( bt_private_query_executor * query_executor)
inlinestatic

Upcasts the private query executor query_executor to the public bt_query_executor type.

Parameters
[in]query_executor

Private query executor to upcast.

Can be NULL.

Returns
query_executor as a public query executor.