w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RtclRw11UnitBase.hpp
Go to the documentation of this file.
1// $Id: RtclRw11UnitBase.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.3 use std::shared_ptr instead of boost
8// 2017-04-08 870 1.2 add TUV,TB; add TUV* ObjUV(); inherit from TB
9// 2017-04-02 863 1.1 add AttachDone()
10// 2013-03-06 495 1.0 Initial version
11// 2013-02-16 488 0.1 First draft
12// ---------------------------------------------------------------------------
13
14
19#ifndef included_Retro_RtclRw11UnitBase
20#define included_Retro_RtclRw11UnitBase 1
21
22#include <memory>
23
24#include "RtclRw11Unit.hpp"
25
26namespace Retro {
27
28 template <class TU, class TUV, class TB>
29 class RtclRw11UnitBase : public TB {
30 public:
31 RtclRw11UnitBase(const std::string& type,
32 const std::shared_ptr<TU>& spunit);
34
35 virtual TU& Obj();
36 virtual TUV& ObjUV();
37 virtual Rw11Cpu& Cpu() const;
38 const std::shared_ptr<TU>& ObjSPtr();
39
40 protected:
41 virtual void AttachDone();
42 int M_stats(RtclArgs& args);
43
44 protected:
45 std::shared_ptr<TU> fspObj;
46 };
47
48} // end namespace Retro
49
50// implementation is all inline
51#include "RtclRw11UnitBase.ipp"
52
53#endif
FIXME_docs.
Definition: RtclArgs.hpp:41
Implemenation (all inline) of RtclRw11UnitBase.
virtual void AttachDone()
FIXME_docs.
std::shared_ptr< TU > fspObj
sptr to managed object
virtual Rw11Cpu & Cpu() const
FIXME_docs.
virtual TUV & ObjUV()
FIXME_docs.
const std::shared_ptr< TU > & ObjSPtr()
FIXME_docs.
virtual TU & Obj()
FIXME_docs.
int M_stats(RtclArgs &args)
FIXME_docs.
FIXME_docs.
Definition: Rw11Cpu.hpp:66
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47