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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [librtcltools/] [RtclClassOwned.hpp] - Blame information for rev 36

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
// $Id: RtclClassOwned.hpp 482 2013-02-05 15:53:09Z mueller $
2 10 wfjm
//
3
// Copyright 2011- 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
// 2011-02-20   363   1.0    Initial version
17
// 2011-02-11   360   0.1    First draft
18
// ---------------------------------------------------------------------------
19
 
20
/*!
21
  \file
22 19 wfjm
  \version $Id: RtclClassOwned.hpp 482 2013-02-05 15:53:09Z mueller $
23 10 wfjm
  \brief   Declaration of class RtclClassOwned.
24
*/
25
 
26
#ifndef included_Retro_RtclClassOwned
27
#define included_Retro_RtclClassOwned 1
28
 
29
#include "tcl.h"
30
 
31
#include <string>
32
 
33
#include "RtclClassBase.hpp"
34
 
35
namespace Retro {
36
 
37
  template <class TP>
38
    class RtclClassOwned : public RtclClassBase {
39
    public:
40
 
41
      explicit      RtclClassOwned(const std::string& type = std::string());
42 19 wfjm
                   ~RtclClassOwned();
43 10 wfjm
 
44
      int           ClassCmdCreate(Tcl_Interp* interp, int objc,
45
                                   Tcl_Obj* const objv[]);
46
 
47
      static void   CreateClass(Tcl_Interp* interp, const char* name,
48
                                const std::string& type);
49
  };
50
 
51
} // end namespace Retro
52
 
53
// implementation all inline
54
#include "RtclClassOwned.ipp"
55
 
56
#endif

powered by: WebSVN 2.1.0

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