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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [librlink/] [RlinkPort.hpp] - Diff between revs 19 and 21

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 19 Rev 21
Line 1... Line 1...
// $Id: RlinkPort.hpp 492 2013-02-24 22:14:47Z mueller $
// $Id: RlinkPort.hpp 513 2013-05-01 14:02:06Z mueller $
//
//
// Copyright 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
// Copyright 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
//
//
// This program is free software; you may redistribute and/or modify it under
// This program is free software; you may redistribute and/or modify it under
// the terms of the GNU General Public License as published by the Free
// the terms of the GNU General Public License as published by the Free
Line 11... Line 11...
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
// for complete details.
// for complete details.
// 
// 
// Revision History: 
// Revision History: 
// Date         Rev Version  Comment
// Date         Rev Version  Comment
 
// 2013-05-01   513   1.2.1  fTraceLevel now uint32_t
// 2013-02-23   492   1.2    use RparseUrl
// 2013-02-23   492   1.2    use RparseUrl
// 2013-02-22   491   1.1    use new RlogFile/RlogMsg interfaces
// 2013-02-22   491   1.1    use new RlogFile/RlogMsg interfaces
// 2013-01-27   477   1.0.3  add RawRead(),RawWrite() methods
// 2013-01-27   477   1.0.3  add RawRead(),RawWrite() methods
// 2012-12-26   465   1.0.2  add CloseFd() method
// 2012-12-26   465   1.0.2  add CloseFd() method
// 2011-04-24   380   1.0.1  use boost::noncopyable (instead of private dcl's)
// 2011-04-24   380   1.0.1  use boost::noncopyable (instead of private dcl's)
Line 23... Line 24...
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
 
 
 
 
/*!
/*!
  \file
  \file
  \version $Id: RlinkPort.hpp 492 2013-02-24 22:14:47Z mueller $
  \version $Id: RlinkPort.hpp 513 2013-05-01 14:02:06Z mueller $
  \brief   Declaration of class RlinkPort.
  \brief   Declaration of class RlinkPort.
*/
*/
 
 
#ifndef included_Retro_RlinkPort
#ifndef included_Retro_RlinkPort
#define included_Retro_RlinkPort 1
#define included_Retro_RlinkPort 1
Line 67... Line 68...
 
 
      int           FdRead() const;
      int           FdRead() const;
      int           FdWrite() const;
      int           FdWrite() const;
 
 
      void          SetLogFile(const boost::shared_ptr<RlogFile>& splog);
      void          SetLogFile(const boost::shared_ptr<RlogFile>& splog);
      void          SetTraceLevel(size_t level);
      void          SetTraceLevel(uint32_t level);
      size_t        TraceLevel() const;
      uint32_t      TraceLevel() const;
 
 
      const Rstats& Stats() const;
      const Rstats& Stats() const;
 
 
      virtual void  Dump(std::ostream& os, int ind=0, const char* text=0) const;
      virtual void  Dump(std::ostream& os, int ind=0, const char* text=0) const;
 
 
Line 99... Line 100...
      bool          fIsOpen;                //!< is open flag
      bool          fIsOpen;                //!< is open flag
      RparseUrl     fUrl;                   //!< parsed url
      RparseUrl     fUrl;                   //!< parsed url
      int           fFdRead;                //!< fd for read
      int           fFdRead;                //!< fd for read
      int           fFdWrite;               //!< fd for write
      int           fFdWrite;               //!< fd for write
      boost::shared_ptr<RlogFile>  fspLog;  //!< log file ptr
      boost::shared_ptr<RlogFile>  fspLog;  //!< log file ptr
      size_t        fTraceLevel;            //!< trace level
      uint32_t      fTraceLevel;            //!< trace level
      Rstats        fStats;                 //!< statistics
      Rstats        fStats;                 //!< statistics
  };
  };
 
 
} // end namespace Retro
} // end namespace Retro
 
 

powered by: WebSVN 2.1.0

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