Returns whether or not a component is a \bt_sink_comp.
*/
extern bt_component_class_type bt_component_get_class_type(
- const bt_component *component);
+ const bt_component *component) __BT_NOEXCEPT;
/*!
@brief
Returns the type enumerator of a component's class.
*/
static inline
-bt_bool bt_component_is_source(const bt_component *component)
+bt_bool bt_component_is_source(const bt_component *component) __BT_NOEXCEPT
{
return bt_component_get_class_type(component) ==
BT_COMPONENT_CLASS_TYPE_SOURCE;
Returns the type enumerator of a component's class.
*/
static inline
-bt_bool bt_component_is_filter(const bt_component *component)
+bt_bool bt_component_is_filter(const bt_component *component) __BT_NOEXCEPT
{
return bt_component_get_class_type(component) ==
BT_COMPONENT_CLASS_TYPE_FILTER;
Returns the type enumerator of a component's class.
*/
static inline
-bt_bool bt_component_is_sink(const bt_component *component)
+bt_bool bt_component_is_sink(const bt_component *component) __BT_NOEXCEPT
{
return bt_component_get_class_type(component) ==
BT_COMPONENT_CLASS_TYPE_SINK;
@bt_pre_not_null{component}
*/
extern const bt_component_class *bt_component_borrow_class_const(
- const bt_component *component);
+ const bt_component *component) __BT_NOEXCEPT;
/*! @} */
@bt_pre_not_null{component}
*/
-extern const char *bt_component_get_name(const bt_component *component);
+extern const char *bt_component_get_name(const bt_component *component)
+ __BT_NOEXCEPT;
/*!
@brief
@bt_pre_not_null{component}
*/
extern bt_logging_level bt_component_get_logging_level(
- const bt_component *component);
+ const bt_component *component) __BT_NOEXCEPT;
/*! @} */
@sa bt_component_put_ref() —
Decrements the reference count of a component.
*/
-extern void bt_component_get_ref(const bt_component *component);
+extern void bt_component_get_ref(const bt_component *component) __BT_NOEXCEPT;
/*!
@brief
@sa bt_component_get_ref() —
Increments the reference count of a component.
*/
-extern void bt_component_put_ref(const bt_component *component);
+extern void bt_component_put_ref(const bt_component *component) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_component_class_source *
bt_component_source_borrow_class_const(
- const bt_component_source *component);
+ const bt_component_source *component) __BT_NOEXCEPT;
/*! @} */
*/
static inline
const bt_component *bt_component_source_as_component_const(
- const bt_component_source *component)
+ const bt_component_source *component) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component, component);
}
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_source_get_output_port_count(
- const bt_component_source *component);
+ const bt_component_source *component) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_port_output *
bt_component_source_borrow_output_port_by_index_const(
- const bt_component_source *component, uint64_t index);
+ const bt_component_source *component,
+ uint64_t index) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_port_output *
bt_component_source_borrow_output_port_by_name_const(
- const bt_component_source *component, const char *name);
+ const bt_component_source *component,
+ const char *name) __BT_NOEXCEPT;
/*! @} */
Decrements the reference count of a source component.
*/
extern void bt_component_source_get_ref(
- const bt_component_source *component);
+ const bt_component_source *component) __BT_NOEXCEPT;
/*!
@brief
Increments the reference count of a source component.
*/
extern void bt_component_source_put_ref(
- const bt_component_source *component);
+ const bt_component_source *component) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_component_class_filter *
bt_component_filter_borrow_class_const(
- const bt_component_filter *component);
+ const bt_component_filter *component) __BT_NOEXCEPT;
/*! @} */
*/
static inline
const bt_component *bt_component_filter_as_component_const(
- const bt_component_filter *component)
+ const bt_component_filter *component) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component, component);
}
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_filter_get_input_port_count(
- const bt_component_filter *component);
+ const bt_component_filter *component) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_port_input *
bt_component_filter_borrow_input_port_by_index_const(
- const bt_component_filter *component, uint64_t index);
+ const bt_component_filter *component, uint64_t index)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_port_input *
bt_component_filter_borrow_input_port_by_name_const(
- const bt_component_filter *component, const char *name);
+ const bt_component_filter *component, const char *name)
+ __BT_NOEXCEPT;
/*!
@brief
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_filter_get_output_port_count(
- const bt_component_filter *component);
+ const bt_component_filter *component) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_port_output *
bt_component_filter_borrow_output_port_by_index_const(
- const bt_component_filter *component, uint64_t index);
+ const bt_component_filter *component, uint64_t index)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_port_output *
bt_component_filter_borrow_output_port_by_name_const(
- const bt_component_filter *component, const char *name);
+ const bt_component_filter *component, const char *name)
+ __BT_NOEXCEPT;
/*! @} */
Decrements the reference count of a filter component.
*/
extern void bt_component_filter_get_ref(
- const bt_component_filter *component);
+ const bt_component_filter *component) __BT_NOEXCEPT;
/*!
@brief
Increments the reference count of a filter component.
*/
extern void bt_component_filter_put_ref(
- const bt_component_filter *component);
+ const bt_component_filter *component) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_component_class_sink *
bt_component_sink_borrow_class_const(
- const bt_component_sink *component);
+ const bt_component_sink *component) __BT_NOEXCEPT;
/*! @} */
*/
static inline
const bt_component *bt_component_sink_as_component_const(
- const bt_component_sink *component)
+ const bt_component_sink *component) __BT_NOEXCEPT
{
return __BT_UPCAST_CONST(bt_component, component);
}
@bt_pre_not_null{component}
*/
extern uint64_t bt_component_sink_get_input_port_count(
- const bt_component_sink *component);
+ const bt_component_sink *component) __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_port_input *
bt_component_sink_borrow_input_port_by_index_const(
- const bt_component_sink *component, uint64_t index);
+ const bt_component_sink *component, uint64_t index)
+ __BT_NOEXCEPT;
/*!
@brief
*/
extern const bt_port_input *
bt_component_sink_borrow_input_port_by_name_const(
- const bt_component_sink *component, const char *name);
+ const bt_component_sink *component, const char *name)
+ __BT_NOEXCEPT;
/*! @} */
Decrements the reference count of a sink component.
*/
extern void bt_component_sink_get_ref(
- const bt_component_sink *component);
+ const bt_component_sink *component) __BT_NOEXCEPT;
/*!
@brief
Increments the reference count of a sink component.
*/
extern void bt_component_sink_put_ref(
- const bt_component_sink *component);
+ const bt_component_sink *component) __BT_NOEXCEPT;
/*!
@brief