HQP  1.9.6
If_Real Class Reference

Interface variable of real type. More...

#include <If_Real.h>

Inheritance diagram for If_Real:
[legend]

Public Member Functions

 If_Real (const char *ifName, If_GetIf< If_Real_t > *getCb, If_SetIf< If_Real_t > *setCb=NULL)
 Constructor taking callback methods as arguments. More...
 
 If_Real (const char *ifName, If_Real_t *varPtr)
 Alternative constructor for direct access to a variable pointer. More...
 
- Public Member Functions inherited from If_Variable< If_Real_t >
virtual ~If_Variable ()
 Destructor.
 
virtual If_Real_t get () const
 Get value of interface variable.
 
virtual void set (If_Real_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_Real_t >
 If_Variable (const char *ifName, If_GetIf< If_Real_t > *getCb, If_SetIf< If_Real_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_Real_t >
If_GetIf< If_Real_t > * _getCb
 callback for reading
 
If_SetIf< If_Real_t > * _setCb
 callback for writing
 

Detailed Description

Interface variable of real type.

Constructor & Destructor Documentation

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

Constructor taking callback methods as arguments.

If_Real::If_Real ( const char *  ifName,
If_Real_t varPtr 
)
inline

Alternative constructor for direct access to a variable pointer.

Member Function Documentation

int If_Real::getTclObj ( Tcl_Interp *  )
protectedvirtual

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

Implements If_Variable< If_Real_t >.

int If_Real::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_Real_t >.


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