w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::RtclContext Class Reference

FIXME_docs. More...

#include <RtclContext.hpp>

Collaboration diagram for Retro::RtclContext:
[legend]

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
 
RtclContextoperator= (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.
 
RtclProxyBaseFindProxy (const std::string &type, const std::string &name)
 FIXME_docs.
 

Static Public Member Functions

static RtclContextFind (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
 

Detailed Description

FIXME_docs.

Definition at line 34 of file RtclContext.hpp.

Member Typedef Documentation

◆ cset_t

Definition at line 36 of file RtclContext.hpp.

◆ pset_t

Definition at line 37 of file RtclContext.hpp.

◆ xmap_t

typedef std::map<Tcl_Interp*, RtclContext*> Retro::RtclContext::xmap_t

Definition at line 38 of file RtclContext.hpp.

Constructor & Destructor Documentation

◆ RtclContext() [1/2]

Retro::RtclContext::RtclContext ( Tcl_Interp *  interp)
explicit

Default constructor.

Definition at line 43 of file RtclContext.cpp.

◆ ~RtclContext()

Retro::RtclContext::~RtclContext ( )
virtual

Destructor.

Definition at line 52 of file RtclContext.cpp.

◆ RtclContext() [2/2]

Retro::RtclContext::RtclContext ( const RtclContext )
delete

Member Function Documentation

◆ operator=()

RtclContext & Retro::RtclContext::operator= ( const RtclContext )
delete

◆ RegisterClass()

void Retro::RtclContext::RegisterClass ( RtclClassBase pobj)

FIXME_docs.

Definition at line 58 of file RtclContext.cpp.

References fSetClass.

Referenced by Retro::RtclClassBase::CreateClassCmd().

◆ UnRegisterClass()

void Retro::RtclContext::UnRegisterClass ( RtclClassBase pobj)

FIXME_docs.

Definition at line 70 of file RtclContext.cpp.

References fSetClass.

Referenced by Retro::RtclClassBase::~RtclClassBase().

◆ RegisterProxy()

void Retro::RtclContext::RegisterProxy ( RtclProxyBase pobj)

FIXME_docs.

Definition at line 79 of file RtclContext.cpp.

References fSetProxy.

Referenced by Retro::RtclProxyBase::CreateObjectCmd().

◆ UnRegisterProxy()

void Retro::RtclContext::UnRegisterProxy ( RtclProxyBase pobj)

FIXME_docs.

Definition at line 91 of file RtclContext.cpp.

References fSetProxy.

Referenced by Retro::RtclProxyBase::~RtclProxyBase().

◆ CheckProxy() [1/2]

bool Retro::RtclContext::CheckProxy ( RtclProxyBase pobj)

FIXME_docs.

Definition at line 100 of file RtclContext.cpp.

References fSetProxy.

Referenced by Retro::RtclClassBase::ClassCmdDelete().

◆ CheckProxy() [2/2]

bool Retro::RtclContext::CheckProxy ( RtclProxyBase pobj,
const std::string &  type 
)

FIXME_docs.

Definition at line 109 of file RtclContext.cpp.

References fSetProxy.

◆ ListProxy()

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().

◆ FindProxy()

RtclProxyBase * Retro::RtclContext::FindProxy ( const std::string &  type,
const std::string &  name 
)

◆ Find()

◆ ThunkTclExitProc()

void Retro::RtclContext::ThunkTclExitProc ( ClientData  cdata)
static

FIXME_docs.

Definition at line 173 of file RtclContext.cpp.

References fSetClass, and fSetProxy.

Referenced by Find().

Member Data Documentation

◆ fInterp

Tcl_Interp* Retro::RtclContext::fInterp
protected

associated tcl interpreter

Definition at line 65 of file RtclContext.hpp.

Referenced by FindProxy().

◆ fSetClass

cset_t Retro::RtclContext::fSetClass
protected

set for Class objects

Definition at line 66 of file RtclContext.hpp.

Referenced by RegisterClass(), ThunkTclExitProc(), and UnRegisterClass().

◆ fSetProxy

pset_t Retro::RtclContext::fSetProxy
protected

set for Proxy objects

Definition at line 67 of file RtclContext.hpp.

Referenced by CheckProxy(), FindProxy(), ListProxy(), RegisterProxy(), ThunkTclExitProc(), and UnRegisterProxy().

◆ fContextMap

RtclContext::xmap_t Retro::RtclContext::fContextMap
staticprotected

map of contexts

Definition at line 69 of file RtclContext.hpp.

Referenced by Find().


The documentation for this class was generated from the following files: