// $Id: RtclRw11CpuBase.ipp 504 2013-04-13 15:37:24Z mueller $
|
// $Id: RtclRw11CpuBase.ipp 504 2013-04-13 15:37:24Z mueller $
|
//
|
//
|
// Copyright 2013- by Walter F.J. Mueller
|
// Copyright 2013- 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.
|
//
|
//
|
// This program is distributed in the hope that it will be useful, but
|
// This program is distributed in the hope that it will be useful, but
|
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
// 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-02-23 491 1.0 Initial version
|
// 2013-02-23 491 1.0 Initial version
|
// 2013-02-08 484 0.1 First draft
|
// 2013-02-08 484 0.1 First draft
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
|
|
/*!
|
/*!
|
\file
|
\file
|
\version $Id: RtclRw11CpuBase.ipp 504 2013-04-13 15:37:24Z mueller $
|
\version $Id: RtclRw11CpuBase.ipp 504 2013-04-13 15:37:24Z mueller $
|
\brief Implemenation (all inline) of RtclRw11CpuBase.
|
\brief Implemenation (all inline) of RtclRw11CpuBase.
|
*/
|
*/
|
|
|
/*!
|
/*!
|
\class Retro::RtclRw11CpuBase
|
\class Retro::RtclRw11CpuBase
|
\brief FIXME_docs
|
\brief FIXME_docs
|
*/
|
*/
|
|
|
// all method definitions in namespace Retro
|
// all method definitions in namespace Retro
|
namespace Retro {
|
namespace Retro {
|
|
|
//------------------------------------------+-----------------------------------
|
//------------------------------------------+-----------------------------------
|
//! Constructor
|
//! Constructor
|
|
|
template
|
template
|
inline RtclRw11CpuBase::RtclRw11CpuBase(Tcl_Interp* interp,
|
inline RtclRw11CpuBase::RtclRw11CpuBase(Tcl_Interp* interp,
|
const char* name,
|
const char* name,
|
const std::string& type)
|
const std::string& type)
|
: RtclRw11Cpu(type),
|
: RtclRw11Cpu(type),
|
fspObj(new TO())
|
fspObj(new TO())
|
{
|
{
|
CreateObjectCmd(interp, name);
|
CreateObjectCmd(interp, name);
|
}
|
}
|
|
|
//------------------------------------------+-----------------------------------
|
//------------------------------------------+-----------------------------------
|
//! FIXME_docs
|
//! FIXME_docs
|
|
|
template
|
template
|
inline RtclRw11CpuBase::~RtclRw11CpuBase()
|
inline RtclRw11CpuBase::~RtclRw11CpuBase()
|
{}
|
{}
|
|
|
//------------------------------------------+-----------------------------------
|
//------------------------------------------+-----------------------------------
|
//! FIXME_docs
|
//! FIXME_docs
|
|
|
template
|
template
|
inline TO& RtclRw11CpuBase::Obj()
|
inline TO& RtclRw11CpuBase::Obj()
|
{
|
{
|
return *fspObj;
|
return *fspObj;
|
}
|
}
|
|
|
//------------------------------------------+-----------------------------------
|
//------------------------------------------+-----------------------------------
|
//! FIXME_docs
|
//! FIXME_docs
|
|
|
template
|
template
|
inline const boost::shared_ptr& RtclRw11CpuBase::ObjSPtr()
|
inline const boost::shared_ptr& RtclRw11CpuBase::ObjSPtr()
|
{
|
{
|
return fspObj;
|
return fspObj;
|
}
|
}
|
|
|
|
|
} // end namespace Retro
|
} // end namespace Retro
|
|
|