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
定义
class_forward.h:16
ARCS_CLASS_FORWARD
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
定义
class_forward.h:68
arcs::aubo_scope::Function
定义
function.h:19
arcs::aubo_scope::Function::Function
Function(Function &&f)
arcs::aubo_scope::Function::getArguments
std::vector< std::string > getArguments()
arcs::aubo_scope::Function::Function
Function(Function &f)
arcs::aubo_scope::Function::DataSwitch
friend class DataSwitch
定义
function.h:44
arcs::aubo_scope::Function::d_
void * d_
定义
function.h:46
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
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
include
aubo_caps
domain
function
function.h
制作者
1.16.1