|
PiImageStreamer
|
#include "debug_cfg.h"#include "NetworkDebugLibrary.h"#include "CommandQueue.h"#include <iostream>
Functions | |
| void | printNetworkMessageToConsole (struct networkMessageStruct *messageToPrint) |
| void | printQueueEntry (struct SWE4211RPi::CommandQueueEntry *entryToPrint) |
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.
This file defines a debug library for network config. It will allow you to print to the console network messages and the like. It can easily be conditionally compiled out.
| void printNetworkMessageToConsole | ( | struct networkMessageStruct * | messageToPrint | ) |
This method will print a network message out to the console. Nothing is printed unless NETWORK_DEBUG_LIBRARY_ENABLED in debug_cfg.h is non-zero.
| messageToPrint | This is the message to print out. |

| void printQueueEntry | ( | struct SWE4211RPi::CommandQueueEntry * | entryToPrint | ) |
This method will print a queue entry out to the console. Nothing is printed unless NETWORK_DEBUG_LIBRARY_ENABLED in debug_cfg.h is non-zero.
| entryToPrint | This is the queued event to print out. |