// $Id: RtclRw11.hpp 504 2013-04-13 15:37:24Z mueller $
|
// $Id: RtclRw11.hpp 504 2013-04-13 15:37:24Z mueller $
|
//
|
//
|
// Copyright 2013- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
// 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
|
// 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-03-06 495 1.0 Initial version
|
// 2013-03-06 495 1.0 Initial version
|
// 2013-01-27 478 0.1 First draft
|
// 2013-01-27 478 0.1 First draft
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
|
|
/*!
|
/*!
|
\file
|
\file
|
\version $Id: RtclRw11.hpp 504 2013-04-13 15:37:24Z mueller $
|
\version $Id: RtclRw11.hpp 504 2013-04-13 15:37:24Z mueller $
|
\brief Declaration of class RtclRw11.
|
\brief Declaration of class RtclRw11.
|
*/
|
*/
|
|
|
#ifndef included_Retro_RtclRw11
|
#ifndef included_Retro_RtclRw11
|
#define included_Retro_RtclRw11 1
|
#define included_Retro_RtclRw11 1
|
|
|
#include <cstddef>
|
#include <cstddef>
|
#include <string>
|
#include <string>
|
|
|
#include "boost/shared_ptr.hpp"
|
#include "boost/shared_ptr.hpp"
|
|
|
#include "librtcltools/RtclProxyOwned.hpp"
|
#include "librtcltools/RtclProxyOwned.hpp"
|
|
|
#include "librlink/RlinkServer.hpp"
|
#include "librlink/RlinkServer.hpp"
|
#include "librw11/Rw11.hpp"
|
#include "librw11/Rw11.hpp"
|
|
|
namespace Retro {
|
namespace Retro {
|
|
|
class RtclRw11 : public RtclProxyOwned<Rw11> {
|
class RtclRw11 : public RtclProxyOwned<Rw11> {
|
public:
|
public:
|
RtclRw11(Tcl_Interp* interp, const char* name);
|
RtclRw11(Tcl_Interp* interp, const char* name);
|
~RtclRw11();
|
~RtclRw11();
|
|
|
virtual int ClassCmdConfig(RtclArgs& args);
|
virtual int ClassCmdConfig(RtclArgs& args);
|
|
|
protected:
|
protected:
|
int M_start(RtclArgs& args);
|
int M_start(RtclArgs& args);
|
int M_dump(RtclArgs& args);
|
int M_dump(RtclArgs& args);
|
int M_default(RtclArgs& args);
|
int M_default(RtclArgs& args);
|
|
|
protected:
|
protected:
|
boost::shared_ptr<RlinkServer> fspServ;
|
boost::shared_ptr<RlinkServer> fspServ;
|
};
|
};
|
|
|
} // end namespace Retro
|
} // end namespace Retro
|
|
|
//#include "RtclRw11.ipp"
|
//#include "RtclRw11.ipp"
|
|
|
#endif
|
#endif
|
|
|