w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclRw11CpuBase.hpp
Go to the documentation of this file.
1// $Id: RtclRw11CpuBase.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2013-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2018-12-07 1078 1.1 use std::shared_ptr instead of boost
8// 2013-02-23 491 1.0 Initial version
9// 2013-02-08 484 0.1 First draft
10// ---------------------------------------------------------------------------
11
12
17#ifndef included_Retro_RtclRw11CpuBase
18#define included_Retro_RtclRw11CpuBase 1
19
20#include <memory>
21
22#include "RtclRw11Cpu.hpp"
23
24namespace Retro {
25
26 template <class TO>
28 public:
29 RtclRw11CpuBase(Tcl_Interp* interp, const char* name,
30 const std::string& type);
32
33 TO& Obj();
34 const std::shared_ptr<TO>& ObjSPtr();
35
36 protected:
37 std::shared_ptr<TO> fspObj;
38 };
39
40} // end namespace Retro
41
42// implementation is all inline
43#include "RtclRw11CpuBase.ipp"
44
45#endif
Implemenation (all inline) of RtclRw11CpuBase.
std::shared_ptr< TO > fspObj
sptr to managed object
const std::shared_ptr< TO > & ObjSPtr()
FIXME_docs.
TO & Obj()
FIXME_docs.
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47