AuboCaps  0.6.0
function.h
Go to the documentation of this file.
1 #ifndef AUBO_SCOPE_FUNCTION_H
2 #define AUBO_SCOPE_FUNCTION_H
3 
4 #include <vector>
6 
7 namespace arcs {
8 namespace aubo_scope {
9 ARCS_CLASS_FORWARD(Function);
10 
11 /**
12  * <p>
13  * Represents a function shown in the Expression Editor.
14  * </p>
15  *
16  * See also {@link FunctionModel}.
17  */
19 {
20 public:
21  Function(Function &f);
22  Function(Function &&f);
23  ~Function();
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 
43 private:
44  friend class DataSwitch;
45  Function();
46  void *d_{ nullptr };
47 };
48 
49 } // namespace aubo_scope
50 } // namespace arcs
51 
52 #endif // AUBO_SCOPE_FUNCTION_H
ARCS_CLASS_FORWARD(GripForceCapability)
#define ARCS_ABI_EXPORT
Definition: class_forward.h:16