HQP
1.9.6
|
Interface variable of integer type. More...
#include <If_Int.h>
Public Member Functions | |
If_Int (const char *ifName, If_GetIf< If_Int_t > *getCb, If_SetIf< If_Int_t > *setCb=NULL) | |
Constructor taking callback methods as arguments. More... | |
If_Int (const char *ifName, If_Int_t *varPtr) | |
Alternative constructor for direct access to a variable pointer. More... | |
Public Member Functions inherited from If_Variable< If_Int_t > | |
virtual | ~If_Variable () |
Destructor. | |
virtual If_Int_t | get () const |
Get value of interface variable. | |
virtual void | set (If_Int_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_Int_t > | |
If_Variable (const char *ifName, If_GetIf< If_Int_t > *getCb, If_SetIf< If_Int_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_Int_t > | |
If_GetIf< If_Int_t > * | _getCb |
callback for reading | |
If_SetIf< If_Int_t > * | _setCb |
callback for writing | |
Interface variable of integer 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_Int_t >.
|
protectedvirtual |
Convert Tcl object to internal type and set the value of the interface variable.
Implements If_Variable< If_Int_t >.