|
PiImageStreamer
|
#include <stdint.h>#include <queue>#include <mutex>#include <semaphore.h>

Go to the source code of this file.
Classes | |
| struct | SWE4211RPi::CommandQueueEntry |
| class | SWE4211RPi::CommandQueue |
| A thread-safe, unbounded FIFO queue of CommandQueueEntry items with a blocking dequeue. More... | |
This code is developed as part of the MSOE SWE4211 Real Time Systems course, but can be freely used by others.
SWE4211 Real Time Systems is a required course for students studying the discipline of software engineering.
This Software is provided under the License on an "AS IS" basis and without warranties of any kind concerning the Software, including without limitation merchantability, fitness for a particular purpose, absence of defects or errors, accuracy, and non-infringement of intellectual property rights other than copyright. This disclaimer of warranty is an essential part of the License and a condition for the grant of any rights to this Software.
Function prototypes and class definitions for the command queue class. This class, the CommandQueue, allows a user to enqueue a set of commands for a device. Each command is a CommandQueueEntry made up of simple integers, which can have bitmapped representations. The queue is unbounded and can hold as many items as is necessary. It is safe to use from multiple threads.