Group CIBoolean¶
The functions in this section provide access to boolean nodes using the bool8_t data type, values represented with 'True' and 'False'. This includes value getters and setters.
Public Functions¶
| Type | Name |
|---|---|
| spinBooleanGetValue (spinNodeHandle hNode, bool8_t * pbValue) |
|
| spinBooleanSetValue (spinNodeHandle hNode, bool8_t value) |
Public Functions Documentation¶
function spinBooleanGetValue¶
Retrieves the value of a boolean node; boolean values are represented by 'True' (which equals '0') and 'False' (which equals '1')
See also: spinError
Parameters:
hNodeThe boolean node of the value to readpValueThe boolean pointer in which the value is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinBooleanSetValue¶
Sets the value of a boolean node; boolean values are represented by 'True' (which equals '0') and 'False' (which equals '1')
See also: spinError
Parameters:
hNodeThe boolean node having its value changedvalueThe boolean value to set
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error