- Main
- Tutorials
- Library
- Samples

- File List
- Globals

mx_node_interface_basic.h
Go to the documentation of this file.
1 /* Copyright (C) 2019 Moxa Inc. All rights reserved. */
2 /* SPDX-License-Identifier: Apache-2.0 */
13 #ifndef __MX_NODE_INTERFACE_BASIC__
14 #define __MX_NODE_INTERFACE_BASIC__
15
16 #include "mx_node_node.h"
17
42 #define INTERFACE_MX_NODE_BASIC (1ll << 0)
43
48 #define INTERFACE_MX_NODE_DATA_ACCESS (1ll << 1)
49
54 const char* mx_node_operator_get_version();
55
60 long long mx_node_operator_get_supported_interfaces();
61
66 MX_NODE_RESULT mx_node_operator_initialize(MX_NODE_NODE_OPERATOR_HANDLE operator_handle);
67
71 void mx_node_operator_uninitialize();
72
77 void mx_node_operator_start();
78
83 void mx_node_operator_stop();
84
86
88
90
92
93 #endif
mx_node_operator_start
void mx_node_operator_start()
A notify to inform node operator start with non-blocking.
MX_NODE_RESULT
enum _MX_NODE_RESULT MX_NODE_RESULT
A result enumeration represents success or not.
mx_node_operator_stop
void mx_node_operator_stop()
A notify to inform node operator stopping.
mx_node_operator_get_version
const char * mx_node_operator_get_version()
Get node operator&#39;s version.
mx_node_operator_get_supported_interfaces
long long mx_node_operator_get_supported_interfaces()
Get supported interfaces.
mx_node_node.h
MX_NODE_NODE &#39;s related APIs.
mx_node_operator_uninitialize
void mx_node_operator_uninitialize()
Do node operator&#39;s uninitialize.
mx_node_operator_initialize
MX_NODE_RESULT mx_node_operator_initialize(MX_NODE_NODE_OPERATOR_HANDLE operator_handle)
Do node operator&#39;s initialize, like create nodes.
MX_NODE_NODE_OPERATOR_HANDLE
size_t MX_NODE_NODE_OPERATOR_HANDLE
Handle of a node operator.
Definition: mx_node_node.h:37