Access for nodeclass method specific attributes.
More...
Access for nodeclass method specific attributes.
int ua_method_get_executable |
( |
ua_node_t |
node, |
|
|
bool * |
executable |
|
) |
| |
Sets the executable bit on the given method.
- Parameters
-
node | Node handle of method. |
executable | Pointer to boolean variable where the executable status will be returned. |
- Returns
- Zero on success, a negative error code on failure.
int ua_method_get_index |
( |
ua_node_t |
node, |
|
|
unsigned int * |
methodindex |
|
) |
| |
Get the method index of a method node.
- Parameters
-
node | Node handle of method. |
methodindex | Pointer to value where the method index is written to. |
- Returns
- Zero on success, or errorcode on failure.
int ua_method_set_executable |
( |
ua_node_t |
node, |
|
|
bool |
executable |
|
) |
| |
Sets the executable bit on the given method.
- Parameters
-
node | Node handle of method. |
executable | Bool variable containing the executable status. |
- Returns
- Zero on success, a negative error code on failure.
int ua_method_set_index |
( |
ua_node_t |
node, |
|
|
unsigned int |
methodindex |
|
) |
| |
Set the method index of a method node.
The method index can be used to store an index to a function implementing the method to be executed.
- Parameters
-
node | Node handle of method. |
methodindex | Value for the method index |
- Returns
- Zero on success, or errorcode on failure.