Line 1... |
Line 1... |
// $Id: RtclContext.hpp 380 2011-04-25 18:14:52Z mueller $
|
// $Id: RtclContext.hpp 490 2013-02-22 18:43:26Z 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 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
|
|
// 2013-01-12 474 1.0.3 add FindProxy() method
|
// 2011-04-24 380 1.0.2 use boost::noncopyable (instead of private dcl's)
|
// 2011-04-24 380 1.0.2 use boost::noncopyable (instead of private dcl's)
|
// 2011-03-12 368 1.0.1 drop fExitSeen, get exit handling right
|
// 2011-03-12 368 1.0.1 drop fExitSeen, get exit handling right
|
// 2011-02-18 362 1.0 Initial version
|
// 2011-02-18 362 1.0 Initial version
|
// 2011-02-18 362 0.1 First draft
|
// 2011-02-18 362 0.1 First draft
|
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
|
|
/*!
|
/*!
|
\file
|
\file
|
\version $Id: RtclContext.hpp 380 2011-04-25 18:14:52Z mueller $
|
\version $Id: RtclContext.hpp 490 2013-02-22 18:43:26Z mueller $
|
\brief Declaration of class RtclContext.
|
\brief Declaration of class RtclContext.
|
*/
|
*/
|
|
|
#ifndef included_Retro_RtclContext
|
#ifndef included_Retro_RtclContext
|
#define included_Retro_RtclContext 1
|
#define included_Retro_RtclContext 1
|
Line 62... |
Line 63... |
bool CheckProxy(RtclProxyBase* pobj);
|
bool CheckProxy(RtclProxyBase* pobj);
|
bool CheckProxy(RtclProxyBase* pobj, const std::string& type);
|
bool CheckProxy(RtclProxyBase* pobj, const std::string& type);
|
|
|
void ListProxy(std::vector<RtclProxyBase*>& list,
|
void ListProxy(std::vector<RtclProxyBase*>& list,
|
const std::string& type);
|
const std::string& type);
|
|
RtclProxyBase* FindProxy(const std::string& type,
|
|
const std::string& name);
|
|
|
static RtclContext& Find(Tcl_Interp* interp);
|
static RtclContext& Find(Tcl_Interp* interp);
|
|
|
static void ThunkTclExitProc(ClientData cdata);
|
static void ThunkTclExitProc(ClientData cdata);
|
|
|
Line 78... |
Line 81... |
static xmap_t fMapContext; //!< map of contexts
|
static xmap_t fMapContext; //!< map of contexts
|
};
|
};
|
|
|
} // end namespace Retro
|
} // end namespace Retro
|
|
|
#if !(defined(Retro_NoInline) || defined(Retro_RtclContext_NoInline))
|
//#include "RtclContext.ipp"
|
#include "RtclContext.ipp"
|
|
#endif
|
|
|
|
#endif
|
#endif
|
|
|
No newline at end of file
|
No newline at end of file
|