Line 1... |
Line 1... |
// $Id: RlinkPacketBufRcv.hpp 607 2014-11-30 20:02:48Z mueller $
|
// $Id: RlinkPacketBufRcv.hpp 621 2014-12-26 21:20:05Z mueller $
|
//
|
//
|
// Copyright 2014- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
// Copyright 2014- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
//
|
//
|
// This program is free software; you may redistribute and/or modify it under
|
// This program is free software; you may redistribute and/or modify it under
|
// the terms of the GNU General Public License as published by the Free
|
// the terms of the GNU General Public License as published by the Free
|
Line 11... |
Line 11... |
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// for complete details.
|
// for complete details.
|
//
|
//
|
// Revision History:
|
// Revision History:
|
// Date Rev Version Comment
|
// Date Rev Version Comment
|
|
// 2014-12-25 621 1.0.1 Reorganize packet send/revd stats
|
// 2014-11-30 607 1.0 Initial version
|
// 2014-11-30 607 1.0 Initial version
|
// 2014-11-02 600 0.1 First draft (re-organize PacketBuf for rlink v4)
|
// 2014-11-02 600 0.1 First draft (re-organize PacketBuf for rlink v4)
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/*!
|
/*!
|
\file
|
\file
|
\version $Id: RlinkPacketBufRcv.hpp 607 2014-11-30 20:02:48Z mueller $
|
\version $Id: RlinkPacketBufRcv.hpp 621 2014-12-26 21:20:05Z mueller $
|
\brief Declaration of class RlinkPacketBuf.
|
\brief Declaration of class RlinkPacketBuf.
|
*/
|
*/
|
|
|
#ifndef included_Retro_RlinkPacketBufRcv
|
#ifndef included_Retro_RlinkPacketBufRcv
|
#define included_Retro_RlinkPacketBufRcv 1
|
#define included_Retro_RlinkPacketBufRcv 1
|
Line 61... |
Line 62... |
|
|
void Dump(std::ostream& os, int ind=0, const char* text=0) const;
|
void Dump(std::ostream& os, int ind=0, const char* text=0) const;
|
|
|
// statistics counter indices
|
// statistics counter indices
|
enum stats {
|
enum stats {
|
kStatNRxDrop=0, //!< Rx bytes dropped
|
kStatNRxPktByt=0, //!< Rx packet bytes rcvd
|
|
kStatNRxDrop, //!< Rx bytes dropped
|
kStatNRxSop, //!< Rx SOP commas seen
|
kStatNRxSop, //!< Rx SOP commas seen
|
kStatNRxEop, //!< Rx EOP commas seen
|
kStatNRxEop, //!< Rx EOP commas seen
|
kStatNRxNak, //!< Rx NAK commas seen
|
kStatNRxNak, //!< Rx NAK commas seen
|
kStatNRxAttn, //!< Rx ATTN commas seen
|
kStatNRxAttn, //!< Rx ATTN commas seen
|
kStatNRxEsc, //!< Rx data escapes
|
kStatNRxEsc, //!< Rx data escapes
|