Sample node operator More...
#include <unistd.h>#include <string.h>#include <mx_node_sdk/mx_node_interface_basic.h>#include <mx_node_sdk/mx_node_interface_data_access.h>Go to the source code of this file.
Data Structures | |
| struct | _MY_DATA |
Typedefs | |
| typedef enum _OPERATOR_STATE | OPERATOR_STATE |
| include interfaces More... | |
| typedef struct _MY_DATA | MY_DATA |
Enumerations | |
| enum | _OPERATOR_STATE { OPERATOR_STATE_STOP, OPERATOR_STATE_STOPPING, OPERATOR_STATE_RUNNING } |
| include interfaces More... | |
Functions | |
| struct timeval | now () |
| custom function More... | |
Variables | |
| volatile OPERATOR_STATE | g_state |
| custom variables More... | |
| MY_DATA | g_my_node |
Sample node operator
Introduction: This is sample node operator code.
Definition in file sample_node_operator.c.
| typedef enum _OPERATOR_STATE OPERATOR_STATE |
include interfaces
custom types
| enum _OPERATOR_STATE |
include interfaces
custom types
| Enumerator | |
|---|---|
| OPERATOR_STATE_STOP | |
| OPERATOR_STATE_STOPPING | |
| OPERATOR_STATE_RUNNING | |
Definition at line 33 of file sample_node_operator.c.
| struct timeval now | ( | ) |
custom function
Definition at line 48 of file sample_node_operator.c.
| volatile OPERATOR_STATE g_state |
custom variables
Definition at line 56 of file sample_node_operator.c.
| MY_DATA g_my_node |
Definition at line 57 of file sample_node_operator.c.