0.4.3
BaseParameterNode.h
浏览该文件的文档.
1//
2// Created by ALSON08 on 2023/7/28.
3//
4
5#ifndef ALSON_COMMUNICATION_CLIENT_BASE_PARAMETER_NODE_H
6#define ALSON_COMMUNICATION_CLIENT_BASE_PARAMETER_NODE_H
7
8
9// std
10#include <string>
11
12// alson
15
16
17namespace ALSON {
18
19
32public:
33 BaseParameterNode(ClientContextPtr clientContextPtr, std::string key);
34 virtual ~BaseParameterNode() = default;
35
38 BaseParameterNode(BaseParameterNode&&) noexcept = default;
39 BaseParameterNode& operator=(BaseParameterNode&&) noexcept = default;
40
41public:
55 std::string getKey();
56
76 std::string getName();
77
97 std::string getDescription();
98
112 ParameterVisibility getVisibility();
113
127 ParameterType getType();
128
148 void resetValue();
149
150protected:
151 ClientContextPtr m_clientContextPtr;
152 std::string m_key;
153}; // class BaseParameterNode
154
155
156} // namespace ALSON
157
158
159
160#endif // !ALSON_COMMUNICATION_CLIENT_BASE_PARAMETER_NODE_H
BaseParameterNode(ClientContextPtr clientContextPtr, std::string key)
virtual ~BaseParameterNode()=default
BaseParameterNode(const BaseParameterNode &)=default
BaseParameterNode(BaseParameterNode &&) noexcept=default
BaseParameterNode & operator=(const BaseParameterNode &)=default
std::shared_ptr< ClientContext > ClientContextPtr
#define ALSON_API
My Custom Doxygen Footer
Data Processing Programmer's Guide 0.4.3
Copyright © 2014-2024 Henan Alson Intelligent Technology Co, Ltd 河南埃尔森智能科技有限公司 版权所有 豫ICP备15002212号