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 12 and 19

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

Rev 12 Rev 19
Line 1... Line 1...
// $Id: RtclClassBase.hpp 380 2011-04-25 18:14:52Z mueller $
// $Id: RtclClassBase.hpp 486 2013-02-10 22:34:43Z mueller $
//
//
// Copyright 2011- 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
// Software Foundation, either version 2, or at your option any later version.
// Software Foundation, either version 2, or at your option any later version.
//
//
Line 18... Line 18...
// 2011-02-11   360   0.1    First draft
// 2011-02-11   360   0.1    First draft
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
 
 
/*!
/*!
  \file
  \file
  \version $Id: RtclClassBase.hpp 380 2011-04-25 18:14:52Z mueller $
  \version $Id: RtclClassBase.hpp 486 2013-02-10 22:34:43Z 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
Line 33... Line 33...
 
 
namespace Retro {
namespace Retro {
 
 
  class RtclClassBase : private boost::noncopyable {
  class RtclClassBase : private boost::noncopyable {
    public:
    public:
      static const int kOK  = TCL_OK;
 
      static const int kERR = TCL_ERROR;
 
 
 
      explicit      RtclClassBase(const std::string& type = std::string());
      explicit      RtclClassBase(const std::string& type = std::string());
      virtual       ~RtclClassBase();
      virtual       ~RtclClassBase();
 
 
      const std::string& Type() const;
      const std::string& Type() const;
      Tcl_Command        Token() const;
      Tcl_Command        Token() const;
 
 
 
    // some constants (also defined in cpp)
 
      static const int kOK  = TCL_OK;       //<!
 
      static const int kERR = TCL_ERROR;    //<!
 
 
    protected:
    protected:
      void          SetType(const std::string& type);
      void          SetType(const std::string& type);
 
 
      void          CreateClassCmd(Tcl_Interp* interp, const char* name);
      void          CreateClassCmd(Tcl_Interp* interp, const char* name);
 
 
Line 69... Line 71...
      Tcl_Command   fCmdToken;              //!< cmd token for class command
      Tcl_Command   fCmdToken;              //!< cmd token for class command
  };
  };
 
 
} // end namespace Retro
} // end namespace Retro
 
 
#if !(defined(Retro_NoInline) || defined(Retro_RtclClassBase_NoInline))
 
#include "RtclClassBase.ipp"
#include "RtclClassBase.ipp"
#endif
 
 
 
#endif
#endif
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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