/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. #ifndef UTIL_DEBUGPACKETPROCESSOR_HH_
  8. #define UTIL_DEBUGPACKETPROCESSOR_HH_
  9. #include "Packet.hh"
  10. /// Identify a debug packet, and process it. If the packet is a debug
  11. /// packet, return true, indicating that no further processing should
  12. /// be done. Otherwise, processing of this packet should drop through
  13. /// to the next processing level.
  14. bool processDebugPacket(const InPacket& from_host, OutPacket& to_host);
  15. #endif // UTIL_DEBUGPACKETPROCESSOR_HH_