Line 1... |
Line 1... |
// $Id: RlinkPacketBuf.cpp 492 2013-02-24 22:14:47Z mueller $
|
// $Id: RlinkPacketBuf.cpp 509 2013-04-21 20:46:20Z mueller $
|
//
|
//
|
// Copyright 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
// Copyright 2011-2013 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
|
|
// 2013-04-21 509 1.0.4 add SndAttn() method
|
// 2013-02-03 481 1.0.3 use Rexception
|
// 2013-02-03 481 1.0.3 use Rexception
|
// 2013-01-13 474 1.0.2 add PollAttn() method
|
// 2013-01-13 474 1.0.2 add PollAttn() method
|
// 2013-01-04 469 1.0.1 SndOob(): Add filler 0 to ensure escape state
|
// 2013-01-04 469 1.0.1 SndOob(): Add filler 0 to ensure escape state
|
// 2011-04-02 375 1.0 Initial version
|
// 2011-04-02 375 1.0 Initial version
|
// 2011-03-05 366 0.1 First draft
|
// 2011-03-05 366 0.1 First draft
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
|
|
/*!
|
/*!
|
\file
|
\file
|
\version $Id: RlinkPacketBuf.cpp 492 2013-02-24 22:14:47Z mueller $
|
\version $Id: RlinkPacketBuf.cpp 509 2013-04-21 20:46:20Z mueller $
|
\brief Implemenation of class RlinkPacketBuf.
|
\brief Implemenation of class RlinkPacketBuf.
|
*/
|
*/
|
|
|
#include <sys/time.h>
|
#include <sys/time.h>
|
|
|
Line 331... |
Line 332... |
|
|
return SndRaw(port, emsg);
|
return SndRaw(port, emsg);
|
}
|
}
|
|
|
//------------------------------------------+-----------------------------------
|
//------------------------------------------+-----------------------------------
|
|
//! FIXME_docs
|
|
|
|
bool RlinkPacketBuf::SndAttn(RlinkPort* port, RerrMsg& emsg)
|
|
{
|
|
Init();
|
|
|
|
fRawBuf.clear();
|
|
fRawBuf.push_back(kCommaAttn); // Attn
|
|
|
|
return SndRaw(port, emsg);
|
|
}
|
|
|
|
//------------------------------------------+-----------------------------------
|
//! FIXME_docs
|
//! FIXME_docs
|
|
|
void RlinkPacketBuf::Dump(std::ostream& os, int ind, const char* text) const
|
void RlinkPacketBuf::Dump(std::ostream& os, int ind, const char* text) const
|
{
|
{
|
RosFill bl(ind);
|
RosFill bl(ind);
|