AuboStudio SDK
0.6.3
value_factory_provider.h
浏览该文件的文档.
1
#ifndef AUBO_SCOPE_VALUE_FACTORY_H
2
#define AUBO_SCOPE_VALUE_FACTORY_H
3
4
#include <
aubo_caps/class_forward.h
>
5
#include <
aubo_caps/domain/value/expression/expression.h
>
6
7
namespace
arcs
{
8
namespace
aubo_scope
{
9
ARCS_CLASS_FORWARD
(
ValueFactory
);
10
11
/**
12
* @ingroup ApplicationApi
13
* <h1>Summary</h1>
14
* This interface provides a mean to create immutable value objects using
15
* factories. The {@link SimpleValueFactory} helps creating simple value
16
* objects. The {@link ExpressionBuilder} helps building valid expressions. The
17
* {@link BlendFactory} helps creating blend objects. The {@link
18
* JointPositionFactory} helps creating joint positions objects. The {@link
19
* PoseFactory} helps creating Pose objects.
20
*/
21
class
ARCS_ABI_EXPORT
ValueFactory
22
{
23
public
:
24
ValueFactory
(
ValueFactory
&f);
25
ValueFactory
(
ValueFactory
&&f);
26
virtual
~ValueFactory
();
27
28
/**
29
* This method instantiates a new {@link ExpressionBuilder} to create a
30
* single valid expression.
31
*
32
* @return the builder to build a single expression.
33
*/
34
ExpressionPtr
createExpression
();
35
ExpressionPtr
createExpression
(
const
std::string &str);
36
37
private
:
38
friend
class
DataSwitch
;
39
ValueFactory
();
40
void
*
d_
{
nullptr
};
41
};
42
}
// namespace aubo_scope
43
}
// namespace arcs
44
45
#endif
class_forward.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::ValueFactory
定义
value_factory_provider.h:22
arcs::aubo_scope::ValueFactory::ValueFactory
ValueFactory()
arcs::aubo_scope::ValueFactory::d_
void * d_
定义
value_factory_provider.h:40
arcs::aubo_scope::ValueFactory::ValueFactory
ValueFactory(ValueFactory &&f)
arcs::aubo_scope::ValueFactory::DataSwitch
friend class DataSwitch
定义
value_factory_provider.h:38
arcs::aubo_scope::ValueFactory::createExpression
ExpressionPtr createExpression(const std::string &str)
arcs::aubo_scope::ValueFactory::ValueFactory
ValueFactory(ValueFactory &f)
arcs::aubo_scope::ValueFactory::~ValueFactory
virtual ~ValueFactory()
arcs::aubo_scope::ValueFactory::createExpression
ExpressionPtr createExpression()
This method instantiates a new ExpressionBuilder to create a single valid expression.
expression.h
arcs::aubo_scope
定义
contribution_provider.h:8
arcs
定义
contribution_provider.h:7
include
aubo_caps
domain
value
value_factory_provider.h
制作者
1.16.1