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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.61/] [tools/] [src/] [librtcltools/] [RtclProxyOwned.ipp] - Diff between revs 19 and 26

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 19 Rev 26
// $Id: RtclProxyOwned.ipp 491 2013-02-23 12:41:18Z mueller $
// $Id: RtclProxyOwned.ipp 491 2013-02-23 12:41:18Z mueller $
//
//
// Copyright 2011-2013 by Walter F.J. Mueller 
// Copyright 2011-2013 by Walter F.J. Mueller 
//
//
// 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.
//
//
// This program is distributed in the hope that it will be useful, but
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
// 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
// 2013-02-05   482   1.1    use shared_ptr to TO*; add ObjPtr();
// 2013-02-05   482   1.1    use shared_ptr to TO*; add ObjPtr();
// 2011-02-13   361   1.0    Initial version
// 2011-02-13   361   1.0    Initial version
// 2011-02-11   360   0.1    First draft
// 2011-02-11   360   0.1    First draft
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
/*!
/*!
  \file
  \file
  \version $Id:
  \version $Id:
  \brief   Implemenation (all inline) of class RtclProxyOwned.
  \brief   Implemenation (all inline) of class RtclProxyOwned.
*/
*/
/*!
/*!
  \class Retro::RtclProxyOwned
  \class Retro::RtclProxyOwned
  \brief FIXME_docs
  \brief FIXME_docs
*/
*/
// all method definitions in namespace Retro
// all method definitions in namespace Retro
namespace Retro {
namespace Retro {
//------------------------------------------+-----------------------------------
//------------------------------------------+-----------------------------------
//! Default constructor
//! Default constructor
template 
template 
inline RtclProxyOwned::RtclProxyOwned()
inline RtclProxyOwned::RtclProxyOwned()
  : RtclProxyBase(),
  : RtclProxyBase(),
    fspObj()
    fspObj()
{}
{}
//------------------------------------------+-----------------------------------
//------------------------------------------+-----------------------------------
//! FIXME_docs
//! FIXME_docs
template 
template 
inline RtclProxyOwned::RtclProxyOwned(const std::string& type)
inline RtclProxyOwned::RtclProxyOwned(const std::string& type)
  : RtclProxyBase(type),
  : RtclProxyBase(type),
    fspObj()
    fspObj()
{}
{}
//------------------------------------------+-----------------------------------
//------------------------------------------+-----------------------------------
//! FIXME_docs
//! FIXME_docs
template 
template 
inline RtclProxyOwned::RtclProxyOwned(const std::string& type,
inline RtclProxyOwned::RtclProxyOwned(const std::string& type,
                                          Tcl_Interp* interp, const char* name,
                                          Tcl_Interp* interp, const char* name,
                                          TO* pobj)
                                          TO* pobj)
  : RtclProxyBase(type),
  : RtclProxyBase(type),
    fspObj(pobj)
    fspObj(pobj)
{
{
  CreateObjectCmd(interp, name);
  CreateObjectCmd(interp, name);
}
}
//------------------------------------------+-----------------------------------
//------------------------------------------+-----------------------------------
//! FIXME_docs
//! FIXME_docs
template 
template 
inline RtclProxyOwned::~RtclProxyOwned()
inline RtclProxyOwned::~RtclProxyOwned()
{}
{}
//------------------------------------------+-----------------------------------
//------------------------------------------+-----------------------------------
//! FIXME_docs
//! FIXME_docs
template 
template 
inline TO& RtclProxyOwned::Obj()
inline TO& RtclProxyOwned::Obj()
{
{
  return *fspObj;
  return *fspObj;
}
}
//------------------------------------------+-----------------------------------
//------------------------------------------+-----------------------------------
//! FIXME_docs
//! FIXME_docs
template 
template 
inline const boost::shared_ptr& RtclProxyOwned::ObjSPtr()
inline const boost::shared_ptr& RtclProxyOwned::ObjSPtr()
{
{
  return fspObj;
  return fspObj;
}
}
} // end namespace Retro
} // end namespace Retro
 
 

powered by: WebSVN 2.1.0

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