Babeltrace 2 C API  2.1.0
Open-source trace manipulation framework
self-message-iterator.h
1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright (C) 2010-2019 EfficiOS Inc. and Linux Foundation
5  */
6 
7 #ifndef BABELTRACE2_GRAPH_SELF_MESSAGE_ITERATOR_H
8 #define BABELTRACE2_GRAPH_SELF_MESSAGE_ITERATOR_H
9 
10 /* IWYU pragma: private, include <babeltrace2/babeltrace.h> */
11 
12 #ifndef __BT_IN_BABELTRACE_H
13 # error "Please include <babeltrace2/babeltrace.h> instead."
14 #endif
15 
16 #include <babeltrace2/types.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
86 extern bt_self_component *
88  bt_self_message_iterator *self_message_iterator) __BT_NOEXCEPT;
89 
112  bt_self_message_iterator *self_message_iterator)
113  __BT_NOEXCEPT;
114 
138  bt_self_message_iterator *self_message_iterator,
139  void *user_data) __BT_NOEXCEPT;
140 
157 extern
159  const bt_self_message_iterator *self_message_iterator)
160  __BT_NOEXCEPT;
161 
190  const bt_self_message_iterator *self_message_iterator)
191  __BT_NOEXCEPT;
192 
227  bt_bool can_seek_forward) __BT_NOEXCEPT;
228 
254  const bt_self_message_iterator *self_message_iterator)
255  __BT_NOEXCEPT;
256 
261 #ifdef __cplusplus
262 }
263 #endif
264 
265 #endif /* BABELTRACE2_GRAPH_SELF_MESSAGE_ITERATOR_H */
struct bt_self_message_iterator bt_self_message_iterator
Self message iterator.
Definition: types.h:86
struct bt_self_component bt_self_component
Self component.
Definition: types.h:71
bt_bool bt_self_message_iterator_is_interrupted(const bt_self_message_iterator *self_message_iterator)
Returns whether or not the message iterator self_message_iterator is interrupted, that is...
int bt_bool
Babeltrace 2 boolean type.
Definition: types.h:126
void * bt_self_message_iterator_get_data(const bt_self_message_iterator *self_message_iterator)
Returns the user data of the message iterator self_message_iterator.
bt_self_component_port_output * bt_self_message_iterator_borrow_port(bt_self_message_iterator *self_message_iterator)
Borrows the output port on which the message iterator self_message_iterator operates.
void bt_self_message_iterator_configuration_set_can_seek_forward(bt_self_message_iterator_configuration *configuration, bt_bool can_seek_forward)
Sets whether or not the message iterator of which the configuration is configuration can seek forward...
void bt_self_message_iterator_set_data(bt_self_message_iterator *self_message_iterator, void *user_data)
Sets the user data of the message iterator self_message_iterator to data.
uint64_t bt_self_message_iterator_get_graph_mip_version(const bt_self_message_iterator *self_message_iterator)
Returns the effective Message Interchange Protocol (MIP) version of the trace processing graph which ...
bt_self_component * bt_self_message_iterator_borrow_component(bt_self_message_iterator *self_message_iterator)
Borrows the component which provides the message iterator self_message_iterator.
struct bt_self_message_iterator_configuration bt_self_message_iterator_configuration
Self message iterator configuration.
Definition: types.h:87
struct bt_self_component_port_output bt_self_component_port_output
Self component output port.
Definition: types.h:81