Group CIIntegerAccess¶
The functions in this section provide access to integer nodes using the int64_t data type. This includes value getters and setters, min, max, and increment functions, and node representation.
Public Functions¶
| Type | Name |
|---|---|
| spinIntegerGetInc (spinNodeHandle hNode, int64_t * pValue) |
|
| spinIntegerGetMax (spinNodeHandle hNode, int64_t * pValue) |
|
| spinIntegerGetMin (spinNodeHandle hNode, int64_t * pValue) |
|
| spinIntegerGetRepresentation (spinNodeHandle hNode, spinRepresentation * pValue) |
|
| spinIntegerGetValue (spinNodeHandle hNode, int64_t * pValue) |
|
| spinIntegerGetValueEx (spinNodeHandle hNode, bool8_t bVerify, int64_t * pValue) |
|
| spinIntegerSetValue (spinNodeHandle hNode, int64_t value) |
|
| spinIntegerSetValueEx (spinNodeHandle hNode, bool8_t bVerify, int64_t value) |
Public Functions Documentation¶
function spinIntegerGetInc¶
Retrieves the increment of an integer node; all possible values must be divisible by the increment
See also: spinError
Parameters:
hNodeThe integer node of the increment to retrievepValueThe integer pointer in which the increment is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinIntegerGetMax¶
Retrieves the maximum value of an integer node; all potential values must be lesser than or equal to the maximum
See also: spinError
Parameters:
hNodeThe integer node of the maximum value to retrievepValueThe integer pointer in which the maximum value is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinIntegerGetMin¶
Retrieves the minimum value of an integer node; all potential values must be greater than or equal to the minimum
See also: spinError
Parameters:
hNodeThe integer node of the minimum value to retrievepValueThe integer pointer in which the minimum value is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinIntegerGetRepresentation¶
Retrieves the numerical representation of the value of a node; i.e. linear, logarithmic, hexidecimal, MAC address, etc.
See also: spinError
Parameters:
hNodeThe integer node of the numerical representation to retrievepValueThe representation enum pointer in which the type of numerical representation is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinIntegerGetValue¶
Retrieves the value of an integer node
See also: spinError
Parameters:
hNodeThe integer node of the value to readpValueThe integer pointer in which the value is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinIntegerGetValueEx¶
Retrieves the value of an integer node; manually set whether to verify the node
See also: spinError
Parameters:
hNodeThe integer node of the value to readbVerifyThe boolean of whether to verify the nodepValueThe integer pointer in which the value is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinIntegerSetValue¶
Sets the value of an integer node
See also: spinError
Parameters:
hNodeThe integer node having its value changedvalueThe integer value to set
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinIntegerSetValueEx¶
Sets the value of an integer node; manually set whether to verify the node
See also: spinError
Parameters:
hNodeThe integer node having its value changedbVerifyThe boolean of whether to verify the nodevalueThe integer value to set
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error