HQP
1.9.6
|
Interface variable of boolean type. More...
#include <If_Bool.h>
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 | |
Interface variable of boolean type.
|
inline |
Constructor taking callback methods as arguments.
|
inline |
Alternative constructor for direct access to a variable pointer.
|
protectedvirtual |
Get the value of the interface variable and create a Tcl object containing it.
Implements If_Variable< If_Bool_t >.
|
protectedvirtual |
Convert Tcl object to internal type and set the value of the interface variable.
Implements If_Variable< If_Bool_t >.