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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librlinktpp/] [RtclRlinkServer.hpp] - Blame information for rev 24

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
// $Id: RtclRlinkServer.hpp 486 2013-02-10 22:34:43Z mueller $
2
//
3
// Copyright 2013- 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
// 2013-02-05   482   1.0.1  add shared_ptr to RlinkConnect object
17
// 2013-01-12   474   1.0    Initial version
18
// ---------------------------------------------------------------------------
19
 
20
/*!
21
  \file
22
  \version $Id: RtclRlinkServer.hpp 486 2013-02-10 22:34:43Z mueller $
23
  \brief   Declaration of class RtclRlinkServer.
24
*/
25
 
26
#ifndef included_Retro_RtclRlinkServer
27
#define included_Retro_RtclRlinkServer 1
28
 
29
#include <cstddef>
30
#include <list>
31
 
32
#include "boost/shared_ptr.hpp"
33
 
34
#include "librtcltools/RtclOPtr.hpp"
35
#include "librtcltools/RtclProxyOwned.hpp"
36
#include "RtclAttnShuttle.hpp"
37
#include "librlink/RlinkServer.hpp"
38
 
39
namespace Retro {
40
 
41
  class RlinkConnect;
42
 
43
  class RtclRlinkServer : public RtclProxyOwned<RlinkServer> {
44
    public:
45
                    RtclRlinkServer(Tcl_Interp* interp, const char* name);
46
                   ~RtclRlinkServer();
47
 
48
      virtual int   ClassCmdConfig(RtclArgs& args);
49
 
50
    protected:
51
      int           M_server(RtclArgs& args);
52
      int           M_attn(RtclArgs& args);
53
      int           M_stats(RtclArgs& args);
54
      int           M_print(RtclArgs& args);
55
      int           M_dump(RtclArgs& args);
56
      int           M_default(RtclArgs& args);
57
 
58
    protected:
59
      typedef std::list<RtclAttnShuttle*> alist_t;
60
      typedef alist_t::iterator           alist_it_t;
61
 
62
      boost::shared_ptr<RlinkConnect> fspConn;
63
      alist_t       fAttnHdl; //<! list of attn handlers
64
  };
65
 
66
} // end namespace Retro
67
 
68
//#include "RtclRlinkServer.ipp"
69
 
70
#endif

powered by: WebSVN 2.1.0

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