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

Subversion Repositories w11

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 21 wfjm
// $Id: Rw11UnitLP11.cpp 515 2013-05-04 17:28:59Z 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-05-01   513   1.0    Initial version
17
// ---------------------------------------------------------------------------
18
 
19
/*!
20
  \file
21
  \version $Id: Rw11UnitLP11.cpp 515 2013-05-04 17:28:59Z mueller $
22
  \brief   Implemenation of Rw11UnitLP11.
23
*/
24
 
25
#include "boost/bind.hpp"
26
 
27
#include "librtools/RosFill.hpp"
28
#include "Rw11CntlLP11.hpp"
29
 
30
#include "Rw11UnitLP11.hpp"
31
 
32
using namespace std;
33
 
34
/*!
35
  \class Retro::Rw11UnitLP11
36
  \brief FIXME_docs
37
*/
38
 
39
// all method definitions in namespace Retro
40
namespace Retro {
41
 
42
//------------------------------------------+-----------------------------------
43
//! Constructor
44
 
45
Rw11UnitLP11::Rw11UnitLP11(Rw11CntlLP11* pcntl, size_t index)
46
  : Rw11UnitStreamBase<Rw11CntlLP11>(pcntl, index)
47
{
48
  SetAttachOpts("?wonly");                  // use write only (output) streams
49
}
50
 
51
//------------------------------------------+-----------------------------------
52
//! Destructor
53
 
54
Rw11UnitLP11::~Rw11UnitLP11()
55
{}
56
 
57
//------------------------------------------+-----------------------------------
58
//! FIXME_docs
59
 
60
void Rw11UnitLP11::Dump(std::ostream& os, int ind, const char* text) const
61
{
62
  RosFill bl(ind);
63
  os << bl << (text?text:"--") << "Rw11UnitLP11 @ " << this << endl;
64
  Rw11UnitStreamBase<Rw11CntlLP11>::Dump(os, ind, " ^");
65
  return;
66
}
67
 
68
} // end namespace Retro

powered by: WebSVN 2.1.0

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