reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
pqueue.h
Go to the documentation of this file.
1
11#ifndef PQUEUE_H
12#define PQUEUE_H
13
14#include "pqueue_base.h"
15
22
29
35int event_matches(void* event1, void* event2);
36
42int reaction_matches(void* a, void* b);
43
49pqueue_pri_t get_event_time(void *event);
50
58
63size_t get_event_position(void *event);
64
70
76void set_event_position(void *event, size_t pos);
77
83void set_reaction_position(void *reaction, size_t pos);
84
90void print_reaction(void *reaction);
91
97void print_event(void *event);
98
99#endif /* PQUEUE_H */
return address
Definition hashmap.h:74
size_t get_reaction_position(void *reaction)
Definition pqueue.c:45
int in_reverse_order(pqueue_pri_t thiz, pqueue_pri_t that)
Definition pqueue.c:17
void print_reaction(void *reaction)
Definition pqueue.c:57
pqueue_pri_t get_reaction_index(void *reaction_t)
Definition pqueue.c:37
void set_reaction_position(void *reaction, size_t pos)
Definition pqueue.c:53
int reaction_matches(void *a, void *b)
Definition pqueue.c:29
size_t get_event_position(void *event)
Definition pqueue.c:41
void set_event_position(void *event, size_t pos)
Definition pqueue.c:49
int in_no_particular_order(pqueue_pri_t thiz, pqueue_pri_t that)
Definition pqueue.c:21
int event_matches(void *event1, void *event2)
Definition pqueue.c:25
void print_event(void *event)
Definition pqueue.c:63
pqueue_pri_t get_event_time(void *event)
Definition pqueue.c:33
unsigned long long pqueue_pri_t
Definition pqueue_base.h:45
Definition lf_types.h:154