OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [src/] [librwxxtpp/] [RtclRw11CpuBase.ipp] - Blame information for rev 26

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
// $Id: RtclRw11CpuBase.ipp 504 2013-04-13 15:37:24Z mueller $
2
//
3
// Copyright 2013- by Walter F.J. Mueller 
4
//
5
// This program is free software; you may redistribute and/or modify it under
6
// the terms of the GNU General Public License as published by the Free
7
// Software Foundation, either version 2, or at your option any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but
10
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
// for complete details.
13
//
14
// Revision History:
15
// Date         Rev Version  Comment
16
// 2013-02-23   491   1.0    Initial version
17
// 2013-02-08   484   0.1    First draft
18
// ---------------------------------------------------------------------------
19
 
20
/*!
21
  \file
22
  \version $Id: RtclRw11CpuBase.ipp 504 2013-04-13 15:37:24Z mueller $
23
  \brief   Implemenation (all inline) of RtclRw11CpuBase.
24
*/
25
 
26
/*!
27
  \class Retro::RtclRw11CpuBase
28
  \brief FIXME_docs
29
*/
30
 
31
// all method definitions in namespace Retro
32
namespace Retro {
33
 
34
//------------------------------------------+-----------------------------------
35
//! Constructor
36
 
37
template 
38
inline RtclRw11CpuBase::RtclRw11CpuBase(Tcl_Interp* interp,
39
                                            const char* name,
40
                                            const std::string& type)
41
  : RtclRw11Cpu(type),
42
    fspObj(new TO())
43
{
44
  CreateObjectCmd(interp, name);
45
}
46
 
47
//------------------------------------------+-----------------------------------
48
//! FIXME_docs
49
 
50
template 
51
inline RtclRw11CpuBase::~RtclRw11CpuBase()
52
{}
53
 
54
//------------------------------------------+-----------------------------------
55
//! FIXME_docs
56
 
57
template 
58
inline TO& RtclRw11CpuBase::Obj()
59
{
60
  return *fspObj;
61
}
62
 
63
//------------------------------------------+-----------------------------------
64
//! FIXME_docs
65
 
66
template 
67
inline const boost::shared_ptr& RtclRw11CpuBase::ObjSPtr()
68
{
69
  return fspObj;
70
}
71
 
72
 
73
} // end namespace Retro

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.