PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/firmware/src/Extruder/DebugPacketProcessor.hh

http://github.com/makerbot/G3Firmware
C++ Header | 20 lines | 5 code | 5 blank | 10 comment | 0 complexity | b2ca1f186bccd72d3b477fb1a74b0857 MD5 | raw file
 1/*
 2 * DebugPacketProcessor.hh
 3 *
 4 *  Created on: Dec 9, 2009
 5 *      Author: phooky
 6 */
 7
 8#ifndef UTIL_DEBUGPACKETPROCESSOR_HH_
 9#define UTIL_DEBUGPACKETPROCESSOR_HH_
10
11#include "Packet.hh"
12
13/// Identify a debug packet, and process it.  If the packet is a debug
14/// packet, return true, indicating that no further processing should
15/// be done.  Otherwise, processing of this packet should drop through
16/// to the next processing level.
17bool processDebugPacket(const InPacket& from_host, OutPacket& to_host);
18
19
20#endif // UTIL_DEBUGPACKETPROCESSOR_HH_