w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RtclContext.hpp>
Public Types | |
typedef std::set< RtclClassBase * > | cset_t |
typedef std::set< RtclProxyBase * > | pset_t |
typedef std::map< Tcl_Interp *, RtclContext * > | xmap_t |
Public Member Functions | |
RtclContext (Tcl_Interp *interp) | |
Default constructor. | |
virtual | ~RtclContext () |
Destructor. | |
RtclContext (const RtclContext &)=delete | |
RtclContext & | operator= (const RtclContext &)=delete |
void | RegisterClass (RtclClassBase *pobj) |
FIXME_docs. | |
void | UnRegisterClass (RtclClassBase *pobj) |
FIXME_docs. | |
void | RegisterProxy (RtclProxyBase *pobj) |
FIXME_docs. | |
void | UnRegisterProxy (RtclProxyBase *pobj) |
FIXME_docs. | |
bool | CheckProxy (RtclProxyBase *pobj) |
FIXME_docs. | |
bool | CheckProxy (RtclProxyBase *pobj, const std::string &type) |
FIXME_docs. | |
void | ListProxy (std::vector< RtclProxyBase * > &list, const std::string &type) |
FIXME_docs. | |
RtclProxyBase * | FindProxy (const std::string &type, const std::string &name) |
FIXME_docs. | |
Static Public Member Functions | |
static RtclContext & | Find (Tcl_Interp *interp) |
FIXME_docs. | |
static void | ThunkTclExitProc (ClientData cdata) |
FIXME_docs. | |
Protected Attributes | |
Tcl_Interp * | fInterp |
associated tcl interpreter | |
cset_t | fSetClass |
set for Class objects | |
pset_t | fSetProxy |
set for Proxy objects | |
Static Protected Attributes | |
static xmap_t | fContextMap |
map of contexts | |
FIXME_docs.
Definition at line 34 of file RtclContext.hpp.
typedef std::set<RtclClassBase*> Retro::RtclContext::cset_t |
Definition at line 36 of file RtclContext.hpp.
typedef std::set<RtclProxyBase*> Retro::RtclContext::pset_t |
Definition at line 37 of file RtclContext.hpp.
typedef std::map<Tcl_Interp*, RtclContext*> Retro::RtclContext::xmap_t |
Definition at line 38 of file RtclContext.hpp.
|
explicit |
Default constructor.
Definition at line 43 of file RtclContext.cpp.
|
virtual |
Destructor.
Definition at line 52 of file RtclContext.cpp.
|
delete |
|
delete |
void Retro::RtclContext::RegisterClass | ( | RtclClassBase * | pobj | ) |
FIXME_docs.
Definition at line 58 of file RtclContext.cpp.
References fSetClass.
Referenced by Retro::RtclClassBase::CreateClassCmd().
void Retro::RtclContext::UnRegisterClass | ( | RtclClassBase * | pobj | ) |
FIXME_docs.
Definition at line 70 of file RtclContext.cpp.
References fSetClass.
Referenced by Retro::RtclClassBase::~RtclClassBase().
void Retro::RtclContext::RegisterProxy | ( | RtclProxyBase * | pobj | ) |
FIXME_docs.
Definition at line 79 of file RtclContext.cpp.
References fSetProxy.
Referenced by Retro::RtclProxyBase::CreateObjectCmd().
void Retro::RtclContext::UnRegisterProxy | ( | RtclProxyBase * | pobj | ) |
FIXME_docs.
Definition at line 91 of file RtclContext.cpp.
References fSetProxy.
Referenced by Retro::RtclProxyBase::~RtclProxyBase().
bool Retro::RtclContext::CheckProxy | ( | RtclProxyBase * | pobj | ) |
FIXME_docs.
Definition at line 100 of file RtclContext.cpp.
References fSetProxy.
Referenced by Retro::RtclClassBase::ClassCmdDelete().
bool Retro::RtclContext::CheckProxy | ( | RtclProxyBase * | pobj, |
const std::string & | type | ||
) |
void Retro::RtclContext::ListProxy | ( | std::vector< RtclProxyBase * > & | list, |
const std::string & | type | ||
) |
FIXME_docs.
Definition at line 119 of file RtclContext.cpp.
References fSetProxy.
Referenced by Retro::RtclClassBase::ClassCmdList().
RtclProxyBase * Retro::RtclContext::FindProxy | ( | const std::string & | type, |
const std::string & | name | ||
) |
FIXME_docs.
Definition at line 134 of file RtclContext.cpp.
References fInterp, and fSetProxy.
Referenced by Retro::RtclRlinkServer::ClassCmdConfig(), Retro::RtclRw11::ClassCmdConfig(), and Retro::RtclClassBase::TclClassCmd().
|
static |
FIXME_docs.
Definition at line 149 of file RtclContext.cpp.
References fContextMap, and ThunkTclExitProc().
Referenced by Retro::RtclRlinkServer::ClassCmdConfig(), Retro::RtclRw11::ClassCmdConfig(), Retro::RtclClassBase::ClassCmdDelete(), Retro::RtclClassBase::ClassCmdList(), Retro::RtclClassBase::CreateClassCmd(), Retro::RtclProxyBase::CreateObjectCmd(), Retro::RtclClassBase::TclClassCmd(), Retro::RtclClassBase::~RtclClassBase(), and Retro::RtclProxyBase::~RtclProxyBase().
|
static |
FIXME_docs.
Definition at line 173 of file RtclContext.cpp.
References fSetClass, and fSetProxy.
Referenced by Find().
|
protected |
associated tcl interpreter
Definition at line 65 of file RtclContext.hpp.
Referenced by FindProxy().
|
protected |
set for Class objects
Definition at line 66 of file RtclContext.hpp.
Referenced by RegisterClass(), ThunkTclExitProc(), and UnRegisterClass().
|
protected |
set for Proxy objects
Definition at line 67 of file RtclContext.hpp.
Referenced by CheckProxy(), FindProxy(), ListProxy(), RegisterProxy(), ThunkTclExitProc(), and UnRegisterProxy().
|
staticprotected |