mirror of
https://github.com/wfjm/w11.git
synced 2026-02-05 08:15:19 +00:00
- Goals for rlink v4
- 16 bit addresses (instead of 8 bit)
- more robust encoding, support for error recovery at transport level
- add features to reduce round trips
- improved attention handling
- new 'list abort' command
- For further details see README_Rlink_V4.txt
- use own C++ based tcl shell tclshcpp instead of tclsh
75 lines
2.0 KiB
C++
75 lines
2.0 KiB
C++
// $Id: RlinkCommandList.ipp 606 2014-11-24 07:08:51Z mueller $
|
|
//
|
|
// Copyright 2011-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
|
|
// the terms of the GNU General Public License as published by the Free
|
|
// Software Foundation, either version 2, or at your option any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful, but
|
|
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
|
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
// for complete details.
|
|
//
|
|
// Revision History:
|
|
// Date Rev Version Comment
|
|
// 2014-11-23 606 1.2 new rlink v4 iface
|
|
// 2013-05-06 495 1.0.1 add RlinkContext to Print() args; drop oper<<()
|
|
// 2011-03-05 366 1.0 Initial version
|
|
// 2011-01-15 355 0.1 First draft
|
|
// ---------------------------------------------------------------------------
|
|
|
|
/*!
|
|
\file
|
|
\version $Id: RlinkCommandList.ipp 606 2014-11-24 07:08:51Z mueller $
|
|
\brief Implemenation (inline) of class RlinkCommandList.
|
|
*/
|
|
|
|
|
|
// all method definitions in namespace Retro
|
|
namespace Retro {
|
|
|
|
//------------------------------------------+-----------------------------------
|
|
//! FIXME_docs
|
|
|
|
inline void RlinkCommandList::SetLaboIndex(int ind)
|
|
{
|
|
fLaboIndex = ind;
|
|
return;
|
|
}
|
|
|
|
//------------------------------------------+-----------------------------------
|
|
//! FIXME_docs
|
|
|
|
inline void RlinkCommandList::ClearLaboIndex()
|
|
{
|
|
fLaboIndex = -1;
|
|
return;
|
|
}
|
|
|
|
//------------------------------------------+-----------------------------------
|
|
//! FIXME_docs
|
|
|
|
inline int RlinkCommandList::LaboIndex() const
|
|
{
|
|
return fLaboIndex;
|
|
}
|
|
|
|
//------------------------------------------+-----------------------------------
|
|
//! FIXME_docs
|
|
|
|
inline bool RlinkCommandList::LaboActive() const
|
|
{
|
|
return fLaboIndex >= 0;
|
|
}
|
|
|
|
//------------------------------------------+-----------------------------------
|
|
//! FIXME_docs
|
|
|
|
inline size_t RlinkCommandList::Size() const
|
|
{
|
|
return fList.size();
|
|
}
|
|
|
|
} // end namespace Retro
|