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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [src/] [librw11/] [Rw11Unit.ipp] - Rev 40

Go to most recent revision | Compare with Previous | Blame | View Log

// $Id: Rw11Unit.ipp 513 2013-05-01 14:02:06Z mueller $
//
// Copyright 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
// 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
// 2013-05-01   513   1.0.1  add fAttachOpts, (Set)AttachOpts()
// 2013-03-06   495   1.0    Initial version
// 2013-02-13   488   0.1    First draft
// ---------------------------------------------------------------------------

/*!
  \file
  \version $Id: Rw11Unit.ipp 513 2013-05-01 14:02:06Z mueller $
  \brief   Implemenation (inline) of Rw11Unit.
*/

// all method definitions in namespace Retro
namespace Retro {

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline size_t Rw11Unit::Index() const
{
  return fIndex;
}

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline std::string Rw11Unit::Name() const
{
  return fpCntlBase->UnitName(fIndex);
}

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline void Rw11Unit::SetAttachOpts(const std::string& opts)
{
  fAttachOpts = opts;
  return;
}

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline const std::string& Rw11Unit::AttachOpts() const
{
  return fAttachOpts;
}

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline Rw11Cntl& Rw11Unit::CntlBase() const
{
  return *fpCntlBase;
}

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline Rw11Cpu& Rw11Unit::Cpu() const
{
  return fpCntlBase->Cpu();
}

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline Rw11& Rw11Unit::W11() const
{
  return fpCntlBase->W11();
}

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline RlinkServer& Rw11Unit::Server() const
{
  return fpCntlBase->Server();
}

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline RlinkConnect& Rw11Unit::Connect() const
{
  return fpCntlBase->Connect();
}

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline RlogFile& Rw11Unit::LogFile() const
{
  return fpCntlBase->LogFile();
}

//------------------------------------------+-----------------------------------
//! FIXME_docs

inline const Rstats& Rw11Unit::Stats() const
{
  return fStats;
}

} // end namespace Retro

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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