w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclRw11CpuBase.ipp
Go to the documentation of this file.
1// $Id: RtclRw11CpuBase.ipp 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.0.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
21// all method definitions in namespace Retro
22namespace Retro {
23
24//------------------------------------------+-----------------------------------
26
27template <class TO>
28inline RtclRw11CpuBase<TO>::RtclRw11CpuBase(Tcl_Interp* interp,
29 const char* name,
30 const std::string& type)
31 : RtclRw11Cpu(type),
32 fspObj(new TO())
34 CreateObjectCmd(interp, name);
35}
36
37//------------------------------------------+-----------------------------------
39
40template <class TO>
42{}
43
44//------------------------------------------+-----------------------------------
46
47template <class TO>
49{
50 return *fspObj;
51}
52
53//------------------------------------------+-----------------------------------
55
56template <class TO>
57inline const std::shared_ptr<TO>& RtclRw11CpuBase<TO>::ObjSPtr()
58{
59 return fspObj;
60}
61
62
63} // end namespace Retro
const std::shared_ptr< TO > & ObjSPtr()
FIXME_docs.
TO & Obj()
FIXME_docs.
RtclRw11CpuBase(Tcl_Interp *interp, const char *name, const std::string &type)
Constructor.
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47