IceCube display
LED display to show IceCube event data
frame_queue.h
Go to the documentation of this file.
1 #ifndef FRAME_QUEUE_H
2 #define FRAME_QUEUE_H
3 
9 #include <stdbool.h>
10 #include "frame_buffer.h"
11 
27 bool frame_queue_full();
30 bool frame_queue_empty();
31 
34 bool push_frame(struct frame_buffer_t* frame);
35 
38 struct frame_buffer_t* pop_frame();
39 
42 
43 #endif // FRAME_QUEUE_H
Frame buffer manipulation.
struct frame_buffer_t * pop_frame()
Pop a frame from the frame FIFO.
bool push_frame(struct frame_buffer_t *frame)
Push new frame into the frame FIFO.
bool frame_queue_empty()
Check if the frame queue is empty.
bool frame_queue_full()
Check if the frame queue is full.
Object constisting of a frame buffer and a number of associated (bit)flags.
Definition: frame_buffer.h:75