reactor-c 1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
pqueue_t Struct Reference

The priority queue struct. More...

#include <pqueue_base.h>

Data Fields

size_t avail
 Slots available in this queue.
pqueue_cmp_pri_f cmppri
 Callback to compare priorities.
void ** d
 The actual queue in binary heap form.
pqueue_eq_elem_f eqelem
 Callback to compare elements.
pqueue_get_pos_f getpos
 Callback to get position of a node.
pqueue_get_pri_f getpri
 Callback to get priority of a node.
pqueue_print_entry_f prt
 Callback to print elements.
pqueue_set_pos_f setpos
 Callback to set position of a node.
size_t size
 Number of elements in this queue plus 1.
size_t step
 Growth stepping setting.

Detailed Description

The priority queue struct.

Field Documentation

◆ avail

size_t pqueue_t::avail

Slots available in this queue.

◆ cmppri

pqueue_cmp_pri_f pqueue_t::cmppri

Callback to compare priorities.

◆ d

void** pqueue_t::d

The actual queue in binary heap form.

◆ eqelem

pqueue_eq_elem_f pqueue_t::eqelem

Callback to compare elements.

◆ getpos

pqueue_get_pos_f pqueue_t::getpos

Callback to get position of a node.

◆ getpri

pqueue_get_pri_f pqueue_t::getpri

Callback to get priority of a node.

◆ prt

pqueue_print_entry_f pqueue_t::prt

Callback to print elements.

◆ setpos

pqueue_set_pos_f pqueue_t::setpos

Callback to set position of a node.

◆ size

size_t pqueue_t::size

Number of elements in this queue plus 1.

◆ step

size_t pqueue_t::step

Growth stepping setting.


The documentation for this struct was generated from the following file:
  • /Users/runner/work/reactor-c/reactor-c/include/core/utils/pqueue_base.h