OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [librlink/] [RlinkConnect.ipp] - Diff between revs 27 and 28

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 27 Rev 28
Line 1... Line 1...
// $Id: RlinkConnect.ipp 604 2014-11-16 22:33:09Z mueller $
// $Id: RlinkConnect.ipp 626 2015-01-03 14:41:37Z mueller $
//
//
// Copyright 2011-2013 by Walter F.J. Mueller 
// Copyright 2011-2015 by Walter F.J. Mueller 
//
//
// 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
// Software Foundation, either version 2, or at your option any later version.
// Software Foundation, either version 2, or at your option any later version.
//
//
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
 
// 2015-01-01   626   2.1    full rlink v4 implementation
// 2013-03-05   495   1.2.1  add Exec() without emsg (will send emsg to LogFile)
// 2013-03-05   495   1.2.1  add Exec() without emsg (will send emsg to LogFile)
// 2013-02-23   492   1.2    use scoped_ptr for Port; Close allways allowed
// 2013-02-23   492   1.2    use scoped_ptr for Port; Close allways allowed
//                           use RlinkContext, add Context(), Exec(..., cntx)
//                           use RlinkContext, add Context(), Exec(..., cntx)
// 2013-02-22   491   1.1    use new RlogFile/RlogMsg interfaces
// 2013-02-22   491   1.1    use new RlogFile/RlogMsg interfaces
// 2013-02-03   481   1.0.1  add SetServer(),Server()
// 2013-02-03   481   1.0.1  add SetServer(),Server()
Line 22... Line 23...
// 2011-01-15   356   0.1    First draft
// 2011-01-15   356   0.1    First draft
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
 
 
/*!
/*!
  \file
  \file
  \version $Id: RlinkConnect.ipp 604 2014-11-16 22:33:09Z mueller $
  \version $Id: RlinkConnect.ipp 626 2015-01-03 14:41:37Z mueller $
  \brief   Implemenation (inline) of RlinkConnect.
  \brief   Implemenation (inline) of RlinkConnect.
*/
*/
 
 
// all method definitions in namespace Retro
// all method definitions in namespace Retro
namespace Retro {
namespace Retro {
Line 86... Line 87...
  return Exec(clist, fContext);
  return Exec(clist, fContext);
}
}
 
 
//------------------------------------------+-----------------------------------
//------------------------------------------+-----------------------------------
//! FIXME_docs
//! FIXME_docs
 
inline uint32_t RlinkConnect::SysId() const
 
{
 
  return fSysId;
 
}
 
 
 
//------------------------------------------+-----------------------------------
 
//! FIXME_docs
 
inline size_t RlinkConnect::RbufSize() const
 
{
 
  return fRbufSize;
 
}
 
 
 
//------------------------------------------+-----------------------------------
 
//! FIXME_docs
 
inline size_t RlinkConnect::BlockSizeMax() const
 
{
 
  return (fRbufSize-kRbufBlkDelta)/2;
 
}
 
 
 
//------------------------------------------+-----------------------------------
 
//! FIXME_docs
 
inline size_t RlinkConnect::BlockSizePrudent() const
 
{
 
  return (fRbufSize-kRbufPrudentDelta)/2;
 
}
 
 
 
//------------------------------------------+-----------------------------------
 
//! FIXME_docs
 
 
inline bool RlinkConnect::AddrMapInsert(const std::string& name, uint16_t addr)
inline bool RlinkConnect::AddrMapInsert(const std::string& name, uint16_t addr)
{
{
  return fAddrMap.Insert(name, addr);
  return fAddrMap.Insert(name, addr);
}
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.