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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librtcltools/] [RtclClassBase.hpp] - Diff between revs 10 and 12

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

Rev 10 Rev 12
Line 1... Line 1...
// $Id: RtclClassBase.hpp 365 2011-02-28 07:28:26Z mueller $
// $Id: RtclClassBase.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-02-20   363   1.0    Initial version
// 2011-02-20   363   1.0    Initial version
// 2011-02-11   360   0.1    First draft
// 2011-02-11   360   0.1    First draft
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
 
 
/*!
/*!
  \file
  \file
  \version $Id: RtclClassBase.hpp 365 2011-02-28 07:28:26Z mueller $
  \version $Id: RtclClassBase.hpp 380 2011-04-25 18:14:52Z mueller $
  \brief   Declaration of class RtclClassBase.
  \brief   Declaration of class RtclClassBase.
*/
*/
 
 
#ifndef included_Retro_RtclClassBase
#ifndef included_Retro_RtclClassBase
#define included_Retro_RtclClassBase 1
#define included_Retro_RtclClassBase 1
 
 
 
#include "boost/utility.hpp"
 
 
#include "tcl.h"
#include "tcl.h"
 
 
namespace Retro {
namespace Retro {
 
 
  class RtclClassBase {
  class RtclClassBase : private boost::noncopyable {
    public:
    public:
      static const int kOK  = TCL_OK;
      static const int kOK  = TCL_OK;
      static const int kERR = TCL_ERROR;
      static const int kERR = TCL_ERROR;
 
 
      explicit      RtclClassBase(const std::string& type = std::string());
      explicit      RtclClassBase(const std::string& type = std::string());
Line 62... Line 65...
 
 
    protected:
    protected:
      std::string   fType;                  //!< classed type name
      std::string   fType;                  //!< classed type name
      Tcl_Interp*   fInterp;                //!< tcl interpreter
      Tcl_Interp*   fInterp;                //!< tcl interpreter
      Tcl_Command   fCmdToken;              //!< cmd token for class command
      Tcl_Command   fCmdToken;              //!< cmd token for class command
 
 
    // RtclClassBase is not copy or assignable
 
    private:
 
                    RtclClassBase(const RtclClassBase& rhs);
 
      RtclClassBase&  operator=(const RtclClassBase& rhs);
 
 
 
 
 
  };
  };
 
 
} // end namespace Retro
} // end namespace Retro
 
 
#if !(defined(Retro_NoInline) || defined(Retro_RtclClassBase_NoInline))
#if !(defined(Retro_NoInline) || defined(Retro_RtclClassBase_NoInline))

powered by: WebSVN 2.1.0

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