mirror of
https://github.com/wfjm/w11.git
synced 2026-05-04 07:09:48 +00:00
- C++ and Tcl based backend server: many support classes for interfacing to w11 system designs, and the associated Tcl bindings. - add 'asm-11', a simple, Macro-11 syntax subset combatible, assembler. - use now doxygen 1.8.3.1, generate c++,tcl, and vhdl source docs
59 lines
1.7 KiB
C++
59 lines
1.7 KiB
C++
// $Id: RtclRw11UnitBase.hpp 504 2013-04-13 15:37:24Z 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-03-06 495 1.0 Initial version
|
|
// 2013-02-16 488 0.1 First draft
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
/*!
|
|
\file
|
|
\version $Id: RtclRw11UnitBase.hpp 504 2013-04-13 15:37:24Z mueller $
|
|
\brief Declaration of class RtclRw11UnitBase.
|
|
*/
|
|
|
|
#ifndef included_Retro_RtclRw11UnitBase
|
|
#define included_Retro_RtclRw11UnitBase 1
|
|
|
|
#include "boost/shared_ptr.hpp"
|
|
|
|
#include "RtclRw11Unit.hpp"
|
|
|
|
namespace Retro {
|
|
|
|
template <class TO>
|
|
class RtclRw11UnitBase : public RtclRw11Unit {
|
|
public:
|
|
RtclRw11UnitBase(const std::string& type,
|
|
const boost::shared_ptr<TO>& spunit);
|
|
~RtclRw11UnitBase();
|
|
|
|
TO& Obj();
|
|
const boost::shared_ptr<TO>& ObjSPtr();
|
|
|
|
protected:
|
|
int M_stats(RtclArgs& args);
|
|
|
|
protected:
|
|
boost::shared_ptr<TO> fspObj; //!< sptr to managed object
|
|
};
|
|
|
|
} // end namespace Retro
|
|
|
|
// implementation is all inline
|
|
#include "RtclRw11UnitBase.ipp"
|
|
|
|
#endif
|