AuboStudio SDK  0.6.3
function.h
浏览该文件的文档.
1#ifndef AUBO_SCOPE_FUNCTION_H
2#define AUBO_SCOPE_FUNCTION_H
3
4#include <vector>
6
7namespace arcs {
8namespace aubo_scope {
10
11/**
12 * <p>
13 * Represents a function shown in the Expression Editor.
14 * </p>
15 *
16 * See also {@link FunctionModel}.
17 */
19{
20public:
24
25 /**
26 * @return The name of the function.
27 */
28 std::string getName();
29
30 /**
31 * @return A list of the arguments of the function.
32 */
33 std::vector<std::string> getArguments();
34
35 /**
36 * Get information about the AuboCap that added/contributed this gripper
37 * device to AuboScope.
38 *
39 * @return AuboCap information for this gripper device
40 */
41 AuboCapInfoPtr getContributorInfo();
42
43private:
44 friend class DataSwitch;
46 void *d_{ nullptr };
47};
48
49} // namespace aubo_scope
50} // namespace arcs
51
52#endif // AUBO_SCOPE_FUNCTION_H
#define ARCS_ABI_EXPORT
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
std::vector< std::string > getArguments()
AuboCapInfoPtr getContributorInfo()
Get information about the AuboCap that added/contributed this gripper device to AuboScope.