Skip to main content

GstBusWatch.h File

Bus logging and message helpers. More...

Included Headers

#include <string>

Namespaces Index

namespacesimaai
namespaceneat

Typedefs Index

typedefstruct _GstElement GstElement
typedefstruct _GstMessage GstMessage

Description

Bus logging and message helpers.

Typedefs

GstElement

typedef struct _GstElement GstElement

Definition at line 1 of file GstBusWatch.h.

12typedef struct _GstElement GstElement;

GstMessage

typedef struct _GstMessage GstMessage

Definition at line 1 of file GstBusWatch.h.

13typedef struct _GstMessage GstMessage;

File Listing

The file content with the documentation metadata removed is:

6#pragma once
7
8#include <string>
9
10struct _GstElement;
11struct _GstMessage;
12typedef struct _GstElement GstElement;
13typedef struct _GstMessage GstMessage;
14
15namespace simaai::neat {
16
17using BusMessageFn = void (*)(const char* type, const char* src, const std::string& line,
18 void* user_data);
19using BusErrorFn = void (*)(const std::string& line, void* user_data);
20
22
23void drain_bus(GstElement* pipeline, BusMessageFn on_message, void* user_data);
24
25void throw_if_bus_error(GstElement* pipeline, BusMessageFn on_message, void* user_data,
26 BusErrorFn on_error, void* error_user_data);
27
28} // namespace simaai::neat

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.