HQP  1.9.6
If_Bool Class Reference

Interface variable of boolean type. More...

#include <If_Bool.h>

Inheritance diagram for If_Bool:
[legend]

Public Member Functions

 If_Bool (const char *ifName, If_GetIf< If_Bool_t > *getCb, If_SetIf< If_Bool_t > *setCb=NULL)
 Constructor taking callback methods as arguments. More...
 
 If_Bool (const char *ifName, If_Bool_t *varPtr)
 Alternative constructor for direct access to a variable pointer. More...
 
- Public Member Functions inherited from If_Variable< If_Bool_t >
virtual ~If_Variable ()
 Destructor.
 
virtual If_Bool_t get () const
 Get value of interface variable.
 
virtual void set (If_Bool_tvalue)
 Set value of interface variable.
 
- Public Member Functions inherited from If_Element
 If_Element (const char *ifName)
 constructor
 
virtual ~If_Element ()
 destructor
 
const char * ifName ()
 get interface name
 
- Public Member Functions inherited from If_ListElement
 If_ListElement ()
 constructor
 
virtual ~If_ListElement ()
 destructor
 

Protected Member Functions

int getTclObj (Tcl_Interp *)
 Get the value of the interface variable and create a Tcl object containing it. More...
 
int setTclObj (Tcl_Interp *, Tcl_Obj *CONST objPtr)
 Convert Tcl object to internal type and set the value of the interface variable. More...
 
- Protected Member Functions inherited from If_Variable< If_Bool_t >
 If_Variable (const char *ifName, If_GetIf< If_Bool_t > *getCb, If_SetIf< If_Bool_t > *setCb=NULL)
 Constructor taking callback methods as arguments. More...
 
int invoke (Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[])
 Process command invokation.
 

Additional Inherited Members

- Protected Attributes inherited from If_Variable< If_Bool_t >
If_GetIf< If_Bool_t > * _getCb
 callback for reading
 
If_SetIf< If_Bool_t > * _setCb
 callback for writing
 

Detailed Description

Interface variable of boolean type.

Constructor & Destructor Documentation

If_Bool::If_Bool ( const char *  ifName,
If_GetIf< If_Bool_t > *  getCb,
If_SetIf< If_Bool_t > *  setCb = NULL 
)
inline

Constructor taking callback methods as arguments.

If_Bool::If_Bool ( const char *  ifName,
If_Bool_t varPtr 
)
inline

Alternative constructor for direct access to a variable pointer.

Member Function Documentation

int If_Bool::getTclObj ( Tcl_Interp *  )
protectedvirtual

Get the value of the interface variable and create a Tcl object containing it.

Implements If_Variable< If_Bool_t >.

int If_Bool::setTclObj ( Tcl_Interp *  ,
Tcl_Obj *CONST  objPtr 
)
protectedvirtual

Convert Tcl object to internal type and set the value of the interface variable.

Implements If_Variable< If_Bool_t >.


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