URL
https://opencores.org/ocsvn/w11/w11/trunk
Subversion Repositories w11
[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librwxxtpp/] [RtclRw11Unit.hpp] - Rev 24
Compare with Previous | Blame | View Log
// $Id: RtclRw11Unit.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-03 494 1.0 Initial version // 2013-02-16 488 0.1 First draft // --------------------------------------------------------------------------- /*! \file \version $Id: RtclRw11Unit.hpp 504 2013-04-13 15:37:24Z mueller $ \brief Declaration of class RtclRw11Unit. */ #ifndef included_Retro_RtclRw11Unit #define included_Retro_RtclRw11Unit 1 #include <cstddef> #include <string> #include "librtcltools/RtclProxyBase.hpp" #include "librtcltools/RtclGetList.hpp" #include "librtcltools/RtclSetList.hpp" #include "librw11/Rw11Cpu.hpp" #include "librw11/Rw11Unit.hpp" namespace Retro { class RtclRw11Unit : public RtclProxyBase { public: RtclRw11Unit(const std::string& type, Rw11Cpu* pcpu); virtual ~RtclRw11Unit(); virtual Rw11Unit& Obj() = 0; RtclGetList& GetList(); RtclSetList& SetList(); protected: int M_get(RtclArgs& args); int M_set(RtclArgs& args); int M_attach(RtclArgs& args); int M_detach(RtclArgs& args); int M_dump(RtclArgs& args); int M_default(RtclArgs& args); protected: Rw11Cpu* fpCpu; RtclGetList fGets; RtclSetList fSets; }; } // end namespace Retro #include "RtclRw11Unit.ipp" #endif