Doxygen Book
nnstreamer_watchdog.h File Reference

NNStreamer watchdog header to manage the schedule in the element. More...

#include <glib.h>
Include dependency graph for nnstreamer_watchdog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void * nns_watchdog_h
 

Functions

gboolean nnstreamer_watchdog_create (nns_watchdog_h *watchdog_h)
 Create nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More...
 
void nnstreamer_watchdog_destroy (nns_watchdog_h watchdog_h)
 Destroy nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More...
 
void nnstreamer_watchdog_release (nns_watchdog_h watchdog_h)
 Release watchdog source. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More...
 
gboolean nnstreamer_watchdog_feed (nns_watchdog_h watchdog_h, GSourceFunc func, guint interval, void *user_data)
 Set watchdog timeout. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More...
 

Detailed Description

NNStreamer watchdog header to manage the schedule in the element.

NNStreamer watchdog header Copyright (C) 2024 Gichan Jang gicha.nosp@m.n2.j.nosp@m.ang@s.nosp@m.amsu.nosp@m.ng.co.nosp@m.m

Date
30 Oct 2024
See also
https://github.com/nnstreamer/nnstreamer
Author
Gichan Jang gicha.nosp@m.n2.j.nosp@m.ang@s.nosp@m.amsu.nosp@m.ng.co.nosp@m.m
Bug:
No known bugs except for NYI items

Definition in file nnstreamer_watchdog.h.

Typedef Documentation

◆ nns_watchdog_h

typedef void* nns_watchdog_h

Definition at line 25 of file nnstreamer_watchdog.h.

Function Documentation

◆ nnstreamer_watchdog_create()

gboolean nnstreamer_watchdog_create ( nns_watchdog_h watchdog_h)

Create nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())

Definition at line 72 of file nnstreamer_watchdog.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nnstreamer_watchdog_destroy()

void nnstreamer_watchdog_destroy ( nns_watchdog_h  watchdog_h)

Destroy nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())

Destroy nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())

Definition at line 133 of file nnstreamer_watchdog.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nnstreamer_watchdog_feed()

gboolean nnstreamer_watchdog_feed ( nns_watchdog_h  watchdog_h,
GSourceFunc  func,
guint  interval,
void *  user_data 
)

Set watchdog timeout. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())

Definition at line 171 of file nnstreamer_watchdog.c.

Here is the caller graph for this function:

◆ nnstreamer_watchdog_release()

void nnstreamer_watchdog_release ( nns_watchdog_h  watchdog_h)

Release watchdog source. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())

Definition at line 157 of file nnstreamer_watchdog.c.

Here is the caller graph for this function: