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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librw11/] [Rw11Virt.cpp] - Blame information for rev 24

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
// $Id: Rw11Virt.cpp 495 2013-03-06 17:13:48Z mueller $
2
//
3
// Copyright 2013- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
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-03-06   495   1.0    Initial version
17
// 2013-02-13   488   0.1    First draft
18
// ---------------------------------------------------------------------------
19
 
20
/*!
21
  \file
22
  \version $Id: Rw11Virt.cpp 495 2013-03-06 17:13:48Z mueller $
23
  \brief   Implemenation of Rw11Virt.
24
*/
25
 
26
#include "librtools/RosFill.hpp"
27
 
28
#include "Rw11Virt.hpp"
29
 
30
using namespace std;
31
 
32
/*!
33
  \class Retro::Rw11Virt
34
  \brief FIXME_docs
35
*/
36
 
37
// all method definitions in namespace Retro
38
namespace Retro {
39
 
40
//------------------------------------------+-----------------------------------
41
//! Default constructor
42
 
43
Rw11Virt::Rw11Virt(Rw11Unit* punit)
44
  : fpUnit(punit),
45
    fUrl(),
46
    fStats()
47
{}
48
 
49
//------------------------------------------+-----------------------------------
50
//! Destructor
51
 
52
Rw11Virt::~Rw11Virt()
53
{}
54
 
55
//------------------------------------------+-----------------------------------
56
//! FIXME_docs
57
 
58
void Rw11Virt::Dump(std::ostream& os, int ind, const char* text) const
59
{
60
  RosFill bl(ind);
61
  os << bl << (text?text:"--") << "Rw11Virt @ " << this << endl;
62
 
63
  os << bl << "  fpUnit:          " << fpUnit << endl;
64
  fUrl.Dump(os, ind+2, "fUrl: ");
65
  fStats.Dump(os, ind+2, "fStats: ");
66
  return;
67
}
68
 
69
 
70
} // end namespace Retro

powered by: WebSVN 2.1.0

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