The functions in this section provide access to information and objects retrieved from nodes. This includes node properties and callback registration. More...
Functions | |
| SPINNAKERC_API | spinNodeIsImplemented (spinNodeHandle hNode, bool8_t *pbResult) |
| Checks whether a node is implemented. More... | |
| SPINNAKERC_API | spinNodeIsReadable (spinNodeHandle hNode, bool8_t *pbResult) |
| Checks whether a node is readable. More... | |
| SPINNAKERC_API | spinNodeIsWritable (spinNodeHandle hNode, bool8_t *pbResult) |
| Checks whether a node is writable. More... | |
| SPINNAKERC_API | spinNodeIsAvailable (spinNodeHandle hNode, bool8_t *pbResult) |
| Checks whether a node is available. More... | |
| SPINNAKERC_API | spinNodeIsEqual (spinNodeHandle hNodeFirst, spinNodeHandle hNodeSecond, bool8_t *pbResult) |
| Checks whether two nodes are equal. More... | |
| SPINNAKERC_API | spinNodeGetAccessMode (spinNodeHandle hNode, spinAccessMode *pAccessMode) |
| Retrieves the access mode of a node (as an enum, spinAccessMode) More... | |
| SPINNAKERC_API | spinNodeGetName (spinNodeHandle hNode, char *pBuf, size_t *pBufLen) |
| Retrieves the name of a node (no whitespace) More... | |
| SPINNAKERC_API | spinNodeGetNameSpace (spinNodeHandle hNode, spinNameSpace *pNamespace) |
| Retrieve the namespace of a node (as an enum, spinNameSpace) More... | |
| SPINNAKERC_API | spinNodeGetVisibility (spinNodeHandle hNode, spinVisibility *pVisibility) |
| Retrieves the recommended visibility of a node (as an enum, spinVisibility) More... | |
| SPINNAKERC_API | spinNodeInvalidateNode (spinNodeHandle hNode) |
| Invalidates a node in case its values may have changed, rendering it no longer valid. More... | |
| SPINNAKERC_API | spinNodeGetCachingMode (spinNodeHandle hNode, spinCachingMode *pCachingMode) |
| Retrieves the caching mode of a node (as an enum, spinCachingMode) More... | |
| SPINNAKERC_API | spinNodeGetToolTip (spinNodeHandle hNode, char *pBuf, size_t *pBufLen) |
| Retrieves a short description of a node. More... | |
| SPINNAKERC_API | spinNodeGetDescription (spinNodeHandle hNode, char *pBuf, size_t *pBufLen) |
| Retrieves a longer description of a node. More... | |
| SPINNAKERC_API | spinNodeGetDisplayName (spinNodeHandle hNode, char *pBuf, size_t *pBufLen) |
| Retrieves the display name of a node (whitespace possible) More... | |
| SPINNAKERC_API | spinNodeGetType (spinNodeHandle hNode, spinNodeType *pType) |
| Retrieves the type of a node (as an enum, spinNodeType) More... | |
| SPINNAKERC_API | spinNodeGetPollingTime (spinNodeHandle hNode, int64_t *pPollingTime) |
| Retrieve the polling time of a node. More... | |
| SPINNAKERC_API | spinNodeRegisterCallback (spinNodeHandle hNode, spinNodeCallbackFunction pCbFunction, spinNodeCallbackHandle *phCb) |
| Registers a callback to a node. More... | |
| SPINNAKERC_API | spinNodeDeregisterCallback (spinNodeHandle hNode, spinNodeCallbackHandle hCb) |
| Unregisters a callback from a node. More... | |
| SPINNAKERC_API | spinNodeGetImposedAccessMode (spinNodeHandle hNode, spinAccessMode imposedAccessMode) |
| Retrieves the imposed access mode of a node. More... | |
| SPINNAKERC_API | spinNodeGetImposedVisibility (spinNodeHandle hNode, spinVisibility imposedVisibility) |
| Retrieves the imposed visibility of a node. More... | |
The functions in this section provide access to information and objects retrieved from nodes. This includes node properties and callback registration.
| SPINNAKERC_API spinNodeDeregisterCallback | ( | spinNodeHandle | hNode, |
| spinNodeCallbackHandle | hCb | ||
| ) |
Unregisters a callback from a node.
| hNode | The node from which to unregister the callback |
| hCb | The callback handle to unregister |
| SPINNAKERC_API spinNodeGetAccessMode | ( | spinNodeHandle | hNode, |
| spinAccessMode * | pAccessMode | ||
| ) |
Retrieves the access mode of a node (as an enum, spinAccessMode)
| hNode | The node of the access mode to retrieve |
| pAccessMode | The access mode enum pointer in which the access mode is returned |
| SPINNAKERC_API spinNodeGetCachingMode | ( | spinNodeHandle | hNode, |
| spinCachingMode * | pCachingMode | ||
| ) |
Retrieves the caching mode of a node (as an enum, spinCachingMode)
| hNode | The node of the caching mode to retrieve |
| pCachingMode | The caching mode enum pointer in which the caching mode is returned |
| SPINNAKERC_API spinNodeGetDescription | ( | spinNodeHandle | hNode, |
| char * | pBuf, | ||
| size_t * | pBufLen | ||
| ) |
Retrieves a longer description of a node.
| hNode | The node of the description to retrieve |
| pBuf | The c-string character buffer in which the longer descrition of the node is returned |
| pBufLen | The unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length |
| SPINNAKERC_API spinNodeGetDisplayName | ( | spinNodeHandle | hNode, |
| char * | pBuf, | ||
| size_t * | pBufLen | ||
| ) |
Retrieves the display name of a node (whitespace possible)
| hNode | The node of the display name to retrieve |
| pBuf | The c-string character buffer in which the display name of the node is returned |
| pBufLen | The unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length |
| SPINNAKERC_API spinNodeGetImposedAccessMode | ( | spinNodeHandle | hNode, |
| spinAccessMode | imposedAccessMode | ||
| ) |
Retrieves the imposed access mode of a node.
| hNode | The node of the imposed access mode to retrieve |
| imposedAccessMode | The access mode enum pointer in which the imposed access mode is returned |
| SPINNAKERC_API spinNodeGetImposedVisibility | ( | spinNodeHandle | hNode, |
| spinVisibility | imposedVisibility | ||
| ) |
Retrieves the imposed visibility of a node.
| hNode | The node of the visibility to impose |
| imposedVisibility | The visibility enum pointer in which the imposed visibility is returned |
| SPINNAKERC_API spinNodeGetName | ( | spinNodeHandle | hNode, |
| char * | pBuf, | ||
| size_t * | pBufLen | ||
| ) |
Retrieves the name of a node (no whitespace)
| hNode | The node of the name to retrieve |
| pBuf | The c-string character buffer in which the name of the node is returned |
| pBufLen | The unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length |
| SPINNAKERC_API spinNodeGetNameSpace | ( | spinNodeHandle | hNode, |
| spinNameSpace * | pNamespace | ||
| ) |
Retrieve the namespace of a node (as an enum, spinNameSpace)
| hNode | The node of the namespace to retrieve |
| pNamespace | The namespace enum pointer in which the namespace is returned |
| SPINNAKERC_API spinNodeGetPollingTime | ( | spinNodeHandle | hNode, |
| int64_t * | pPollingTime | ||
| ) |
Retrieve the polling time of a node.
| hNode | The node of the polling time to retrieve |
| pPollingTime | The integer pointer in which the polling time is returned |
| SPINNAKERC_API spinNodeGetToolTip | ( | spinNodeHandle | hNode, |
| char * | pBuf, | ||
| size_t * | pBufLen | ||
| ) |
Retrieves a short description of a node.
| hNode | The node of the tooltip to retrieve |
| pBuf | The c-string character buffer in which the short description of the node is returned |
| pBufLen | The unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length |
| SPINNAKERC_API spinNodeGetType | ( | spinNodeHandle | hNode, |
| spinNodeType * | pType | ||
| ) |
Retrieves the type of a node (as an enum, spinNodeType)
| hNode | The node of the node type to retrieve |
| pType | The node type enum pointer in which the type of node is returned |
| SPINNAKERC_API spinNodeGetVisibility | ( | spinNodeHandle | hNode, |
| spinVisibility * | pVisibility | ||
| ) |
Retrieves the recommended visibility of a node (as an enum, spinVisibility)
| hNode | The node of the visibility to retrieve |
| pVisibility | The visibility enum pointer in which the visibility is returned |
| SPINNAKERC_API spinNodeInvalidateNode | ( | spinNodeHandle | hNode | ) |
Invalidates a node in case its values may have changed, rendering it no longer valid.
| hNode | The node whose values may have changed |
| SPINNAKERC_API spinNodeIsAvailable | ( | spinNodeHandle | hNode, |
| bool8_t * | pbResult | ||
| ) |
Checks whether a node is available.
| hNode | The node to check |
| pbResult | The boolean pointer to return whether or not the node is available |
| SPINNAKERC_API spinNodeIsEqual | ( | spinNodeHandle | hNodeFirst, |
| spinNodeHandle | hNodeSecond, | ||
| bool8_t * | pbResult | ||
| ) |
Checks whether two nodes are equal.
| hNodeFirst | The first node to check |
| hNodeSecond | The second node to check |
| pbResult | The boolean pointer to return whether or not the two nodes are equal |
| SPINNAKERC_API spinNodeIsImplemented | ( | spinNodeHandle | hNode, |
| bool8_t * | pbResult | ||
| ) |
Checks whether a node is implemented.
| hNode | The node to check |
| pbResult | The boolean pointer to return whether or not the node is implemented |
| SPINNAKERC_API spinNodeIsReadable | ( | spinNodeHandle | hNode, |
| bool8_t * | pbResult | ||
| ) |
Checks whether a node is readable.
| hNode | The node to check |
| pbResult | The boolean pointer to return whether or not the node is readable |
| SPINNAKERC_API spinNodeIsWritable | ( | spinNodeHandle | hNode, |
| bool8_t * | pbResult | ||
| ) |
Checks whether a node is writable.
| hNode | The node to check |
| pbResult | The boolean pointer to return whether or not the node is writable |
| SPINNAKERC_API spinNodeRegisterCallback | ( | spinNodeHandle | hNode, |
| spinNodeCallbackFunction | pCbFunction, | ||
| spinNodeCallbackHandle * | phCb | ||
| ) |
Registers a callback to a node.
| hNode | The node on which to register the callback |
| pCbFunction | The function pointer of the function that will execute when the callback is triggered; must match signature "void spinNodeCallbackFunction(spinNodeHandle hNode)" |
| phCb | The callback handle pointer in which the callback is returned; used to unregister callbacks |