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

Subversion Repositories w11

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 21 wfjm
// $Id: RtclRw11UnitStream.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: RtclRw11UnitStream.cpp 515 2013-05-04 17:28:59Z mueller $
22
  \brief   Implemenation of RtclRw11UnitStream.
23
*/
24
 
25
using namespace std;
26
 
27
#include "RtclRw11UnitStream.hpp"
28
 
29
/*!
30
  \class Retro::RtclRw11UnitStream
31
  \brief FIXME_docs
32
*/
33
 
34
// all method definitions in namespace Retro
35
namespace Retro {
36
 
37
//------------------------------------------+-----------------------------------
38
//! Constructor
39
 
40
RtclRw11UnitStream::RtclRw11UnitStream(RtclRw11Unit* ptcl, Rw11UnitStream* pobj)
41
  : fpTcl(ptcl),
42
    fpObj(pobj)
43
{
44
  RtclGetList& gets = ptcl->GetList();
45
  RtclSetList& sets = ptcl->SetList();
46
  gets.Add<int>           ("pos",
47
                            boost::bind(&Rw11UnitStream::Pos,  pobj));
48
 
49
  sets.Add<int>           ("pos",
50
                            boost::bind(&Rw11UnitStream::SetPos,pobj, _1));
51
}
52
 
53
//------------------------------------------+-----------------------------------
54
//! FIXME_docs
55
 
56
RtclRw11UnitStream::~RtclRw11UnitStream()
57
{}
58
 
59
 
60
} // end namespace Retro

powered by: WebSVN 2.1.0

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