w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::RtclProxyOwned< TO > Class Template Reference

Implemenation (all inline) of class RtclProxyOwned. More...

#include <RtclProxyOwned.hpp>

Inheritance diagram for Retro::RtclProxyOwned< TO >:
[legend]
Collaboration diagram for Retro::RtclProxyOwned< TO >:
[legend]

Public Member Functions

 RtclProxyOwned ()
 Default constructor.
 
 RtclProxyOwned (const std::string &type)
 FIXME_docs.
 
 RtclProxyOwned (const std::string &type, Tcl_Interp *interp, const char *name, TO *pobj=nullptr)
 FIXME_docs.
 
 ~RtclProxyOwned ()
 FIXME_docs.
 
TO & Obj ()
 FIXME_docs.
 
const std::shared_ptr< TO > & ObjSPtr ()
 FIXME_docs.
 
- Public Member Functions inherited from Retro::RtclProxyBase
 RtclProxyBase (const std::string &type=std::string())
 FIXME_docs.
 
 RtclProxyBase (const std::string &type, Tcl_Interp *interp, const char *name)
 FIXME_docs.
 
virtual ~RtclProxyBase ()
 Destructor.
 
virtual int ClassCmdConfig (RtclArgs &args)
 FIXME_docs.
 
const std::string & Type () const
 FIXME_docs.
 
Tcl_Command Token () const
 FIXME_docs.
 
std::string CommandName () const
 FIXME_docs.
 
- Public Member Functions inherited from Retro::RtclCmdBase
 RtclCmdBase ()
 FIXME_docs.
 
virtual ~RtclCmdBase ()
 Destructor.
 
 RtclCmdBase (const RtclCmdBase &)=delete
 
RtclCmdBaseoperator= (const RtclCmdBase &)=delete
 
int DispatchCmd (RtclArgs &args)
 FIXME_docs.
 
void AddMeth (const std::string &name, methfo_t &&methfo)
 FIXME_docs.
 
void DelMeth (const std::string &name)
 FIXME_docs.
 
bool TstMeth (const std::string &name)
 FIXME_docs.
 

Protected Attributes

std::shared_ptr< TO > fspObj
 sptr to managed object
 
- Protected Attributes inherited from Retro::RtclProxyBase
std::string fType
 proxied type name
 
Tcl_Interp * fInterp
 tcl interpreter
 
Tcl_Command fCmdToken
 cmd token for object command
 
- Protected Attributes inherited from Retro::RtclCmdBase
mmap_t fMethMap
 map for named methods
 

Additional Inherited Members

- Public Types inherited from Retro::RtclCmdBase
typedef std::function< int(RtclArgs &)> methfo_t
 
typedef std::map< std::string, methfo_tmmap_t
 
typedef mmap_t::iterator mmap_it_t
 
typedef mmap_t::const_iterator mmap_cit_t
 
- Static Public Attributes inherited from Retro::RtclCmdBase
static const int kOK = TCL_OK
 
static const int kERR = TCL_ERROR
 
- Protected Member Functions inherited from Retro::RtclProxyBase
void SetType (const std::string &type)
 FIXME_docs.
 
void CreateObjectCmd (Tcl_Interp *interp, const char *name)
 FIXME_docs.
 
int TclObjectCmd (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
 FIXME_docs.
 
- Protected Member Functions inherited from Retro::RtclCmdBase
bool GetArgsDump (RtclArgs &args, int &detail)
 FIXME_docs.
 
int M_info (RtclArgs &args)
 FIXME_docs.
 
- Static Protected Member Functions inherited from Retro::RtclProxyBase
static int ThunkTclObjectCmd (ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
 FIXME_docs.
 
static void ThunkTclCmdDeleteProc (ClientData cdata)
 FIXME_docs.
 
static void ThunkTclExitProc (ClientData cdata)
 FIXME_docs.
 

Detailed Description

template<class TO>
class Retro::RtclProxyOwned< TO >

Implemenation (all inline) of class RtclProxyOwned.

FIXME_docs

Definition at line 27 of file RtclProxyOwned.hpp.

Constructor & Destructor Documentation

◆ RtclProxyOwned() [1/3]

template<class TO >
Retro::RtclProxyOwned< TO >::RtclProxyOwned
inline

Default constructor.

Definition at line 29 of file RtclProxyOwned.ipp.

◆ RtclProxyOwned() [2/3]

template<class TO >
Retro::RtclProxyOwned< TO >::RtclProxyOwned ( const std::string &  type)
inline

FIXME_docs.

Definition at line 38 of file RtclProxyOwned.ipp.

◆ RtclProxyOwned() [3/3]

template<class TO >
Retro::RtclProxyOwned< TO >::RtclProxyOwned ( const std::string &  type,
Tcl_Interp *  interp,
const char *  name,
TO *  pobj = nullptr 
)
inline

FIXME_docs.

Definition at line 47 of file RtclProxyOwned.ipp.

References Retro::RtclProxyBase::CreateObjectCmd().

◆ ~RtclProxyOwned()

template<class TO >
Retro::RtclProxyOwned< TO >::~RtclProxyOwned
inline

FIXME_docs.

Definition at line 60 of file RtclProxyOwned.ipp.

Member Function Documentation

◆ Obj()

template<class TO >
TO & Retro::RtclProxyOwned< TO >::Obj
inline

FIXME_docs.

Definition at line 67 of file RtclProxyOwned.ipp.

◆ ObjSPtr()

template<class TO >
const std::shared_ptr< TO > & Retro::RtclProxyOwned< TO >::ObjSPtr
inline

FIXME_docs.

Definition at line 76 of file RtclProxyOwned.ipp.

Member Data Documentation

◆ fspObj

template<class TO >
std::shared_ptr<TO> Retro::RtclProxyOwned< TO >::fspObj
protected

sptr to managed object

Definition at line 39 of file RtclProxyOwned.hpp.


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