// $Id: RtclRw11CntlBase.hpp 504 2013-04-13 15:37:24Z mueller $
|
// $Id: RtclRw11CntlBase.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-02-08 484 0.1 First draft
|
// 2013-02-08 484 0.1 First draft
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/*!
|
/*!
|
\file
|
\file
|
\version $Id: RtclRw11CntlBase.hpp 504 2013-04-13 15:37:24Z mueller $
|
\version $Id: RtclRw11CntlBase.hpp 504 2013-04-13 15:37:24Z mueller $
|
\brief Declaration of class RtclRw11CntlBase.
|
\brief Declaration of class RtclRw11CntlBase.
|
*/
|
*/
|
|
|
#ifndef included_Retro_RtclRw11CntlBase
|
#ifndef included_Retro_RtclRw11CntlBase
|
#define included_Retro_RtclRw11CntlBase 1
|
#define included_Retro_RtclRw11CntlBase 1
|
|
|
#include "boost/shared_ptr.hpp"
|
#include "boost/shared_ptr.hpp"
|
|
|
#include "RtclRw11Cntl.hpp"
|
#include "RtclRw11Cntl.hpp"
|
|
|
namespace Retro {
|
namespace Retro {
|
|
|
template <class TO>
|
template <class TO>
|
class RtclRw11CntlBase : public RtclRw11Cntl {
|
class RtclRw11CntlBase : public RtclRw11Cntl {
|
public:
|
public:
|
explicit RtclRw11CntlBase(const std::string& type);
|
explicit RtclRw11CntlBase(const std::string& type);
|
~RtclRw11CntlBase();
|
~RtclRw11CntlBase();
|
|
|
TO& Obj();
|
TO& Obj();
|
const boost::shared_ptr<TO>& ObjSPtr();
|
const boost::shared_ptr<TO>& ObjSPtr();
|
|
|
protected:
|
protected:
|
int M_bootcode(RtclArgs& args);
|
int M_bootcode(RtclArgs& args);
|
|
|
protected:
|
protected:
|
boost::shared_ptr<TO> fspObj; //!< sptr to managed object
|
boost::shared_ptr<TO> fspObj; //!< sptr to managed object
|
};
|
};
|
|
|
} // end namespace Retro
|
} // end namespace Retro
|
|
|
// implementation is all inline
|
// implementation is all inline
|
#include "RtclRw11CntlBase.ipp"
|
#include "RtclRw11CntlBase.ipp"
|
|
|
#endif
|
#endif
|
|
|