Line 1... |
Line 1... |
// $Id: RlinkPort.hpp 375 2011-04-02 07:56:47Z mueller $
|
// $Id: RlinkPort.hpp 380 2011-04-25 18:14:52Z mueller $
|
//
|
//
|
// Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
// Copyright 2011- 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
|
|
// 2011-04-24 380 1.0.1 use boost::noncopyable (instead of private dcl's)
|
// 2011-03-27 375 1.0 Initial version
|
// 2011-03-27 375 1.0 Initial version
|
// 2011-01-15 356 0.1 First draft
|
// 2011-01-15 356 0.1 First draft
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
|
|
|
|
/*!
|
/*!
|
\file
|
\file
|
\version $Id: RlinkPort.hpp 375 2011-04-02 07:56:47Z mueller $
|
\version $Id: RlinkPort.hpp 380 2011-04-25 18:14:52Z 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
|
|
|
#include <string>
|
#include <string>
|
#include <map>
|
#include <map>
|
|
|
|
#include "boost/utility.hpp"
|
|
|
#include "librtools/RerrMsg.hpp"
|
#include "librtools/RerrMsg.hpp"
|
#include "librtools/RlogFile.hpp"
|
#include "librtools/RlogFile.hpp"
|
#include "librtools/Rstats.hpp"
|
#include "librtools/Rstats.hpp"
|
|
|
namespace Retro {
|
namespace Retro {
|
|
|
class RlinkPort {
|
class RlinkPort : private boost::noncopyable {
|
public:
|
public:
|
typedef std::map<std::string, std::string> omap_t;
|
typedef std::map<std::string, std::string> omap_t;
|
typedef omap_t::iterator omap_it_t;
|
typedef omap_t::iterator omap_it_t;
|
typedef omap_t::const_iterator omap_cit_t;
|
typedef omap_t::const_iterator omap_cit_t;
|
typedef omap_t::value_type omap_val_t;
|
typedef omap_t::value_type omap_val_t;
|
Line 104... |
Line 107... |
int fFdRead; //!< fd for read
|
int fFdRead; //!< fd for read
|
int fFdWrite; //!< fd for write
|
int fFdWrite; //!< fd for write
|
RlogFile* fpLogFile; //!< ptr to log file dsc
|
RlogFile* fpLogFile; //!< ptr to log file dsc
|
size_t fTraceLevel; //!< trace level
|
size_t fTraceLevel; //!< trace level
|
Rstats fStats; //!< statistics
|
Rstats fStats; //!< statistics
|
|
|
// RlinkPort is not copyable and assignable
|
|
private:
|
|
RlinkPort(const RlinkPort& rhs);
|
|
RlinkPort& operator=(const RlinkPort& rhs);
|
|
|
|
};
|
};
|
|
|
} // end namespace Retro
|
} // end namespace Retro
|
|
|
#if !(defined(Retro_NoInline) || defined(Retro_RlinkPort_NoInline))
|
#if !(defined(Retro_NoInline) || defined(Retro_RlinkPort_NoInline))
|