AuboStudio SDK 0.6.3

function.h
浏览该文件的文档.
1 #ifndef AUBO_SCOPE_FUNCTION_H
2 #define AUBO_SCOPE_FUNCTION_H
3
4 #include <vector>
5 #include <aubo_caps/domain/extension_info.h>
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 */
18 class ARCS_ABI_EXPORT Function
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_ABI_EXPORT
#define ARCS_ABI_EXPORT
Definition: class_forward.h:16
arcs::aubo_scope::Function
Definition: function.h:19
arcs::aubo_scope::Function::Function
Function(Function &&f)
arcs::aubo_scope::Function::Function
Function(Function &f)
arcs::aubo_scope::Function::getArguments
std::vector< std::string > getArguments()
arcs::aubo_scope::Function::Function
Function()
arcs::aubo_scope::Function::~Function
~Function()
arcs::aubo_scope::Function::getName
std::string getName()
arcs::aubo_scope::Function::getContributorInfo
AuboCapInfoPtr getContributorInfo()
Get information about the AuboCap that added/contributed this gripper device to AuboScope.
extension_info.h
arcs::aubo_scope::ARCS_CLASS_FORWARD
ARCS_CLASS_FORWARD(GripForceCapability)
arcs
Definition: contribution_provider.h:7