All the methods related to nodemap managed by GenApi.
◆ NODEMAP_GetNode()
ITALA_API_C ItalaError NODEMAP_GetNode |
( |
H_NODEMAP |
hNodeMap, |
|
|
const char * |
nodeName, |
|
|
H_NODE * |
phNode |
|
) |
| |
Get a node by its name.
- Parameters
-
[in] | hNodeMap | Handle to NodeMap instance. |
[in] | nodeName | Name of the node to retrieve. |
[out] | phNode | Handle to Node instance. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODEMAP_GetNumNodes()
ITALA_API_C ItalaError NODEMAP_GetNumNodes |
( |
H_NODEMAP |
hNodeMap, |
|
|
size_t * |
pNumNodes |
|
) |
| |
Get number of nodes in the nodemap.
- Parameters
-
[in] | hNodeMap | Handle to NodeMap instance. |
[out] | pNumNodes | Number of nodes. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODEMAP_GetNodeByIndex()
ITALA_API_C ItalaError NODEMAP_GetNodeByIndex |
( |
H_NODEMAP |
hNodeMap, |
|
|
size_t |
index, |
|
|
H_NODE * |
phNode |
|
) |
| |
Get a node handler, given the specific index.
- Parameters
-
[in] | hNodeMap | Handle to NodeMap instance. |
[in] | index | Index of Node. |
[out] | phNode | Handle to Node instance. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODEMAP_InvalidateNodes()
ITALA_API_C ItalaError NODEMAP_InvalidateNodes |
( |
H_NODEMAP |
hNodeMap | ) |
|
Invalidate all the node of the nodemap.
- Parameters
-
[in] | hNodeMap | Handle to NodeMap instance. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODEMAP_GetDeviceName()
ITALA_API_C ItalaError NODEMAP_GetDeviceName |
( |
H_NODEMAP |
hNodeMap, |
|
|
char * |
deviceName, |
|
|
size_t * |
pSize |
|
) |
| |
Get the device name that owns the nodemap.
- Parameters
-
[in] | hNodeMap | Handle to NodeMap instance. |
[out] | deviceName | The name of the device. |
[in,out] | pSize | Maximum element of the array in input, number of element filled in output. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
◆ NODEMAP_Poll()
ITALA_API_C ItalaError NODEMAP_Poll |
( |
H_NODEMAP |
hNodeMap, |
|
|
int64_t |
elapsedTime |
|
) |
| |
Fires nodes which have a polling time in the nodemap.
- Parameters
-
[in] | hNodeMap | Handle to NodeMap instance. |
[out] | elapsedTime | Elapsed time. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.