AuboStudio SDK 0.6.3

installation_creation_context.h
浏览该文件的文档.
1 #ifndef AUBO_SCOPE_INSTALLATION_CREATION_CONTEXT_H
2 #define AUBO_SCOPE_INSTALLATION_CREATION_CONTEXT_H
3
4 #include <aubo_caps/class_forward.h>
5
6 namespace arcs {
7 namespace aubo_scope {
8
9 ARCS_CLASS_FORWARD(InstallationCreationContext);
10
11 /**
12 * Provides information about the context in which an installation node is
13 * created
14 */
15 class InstallationCreationContext
16 {
17 public:
18 enum NodeCreationType
19 {
20 NEW,
21 LOAD
22 };
23
24 InstallationCreationContext(InstallationCreationContext &f);
25 InstallationCreationContext(InstallationCreationContext &&f);
26 ~InstallationCreationContext();
27
28 NodeCreationType getNodeCreationType();
29
30 std::string getCreatedVersion();
31 std::string getLastSavedVersion();
32
33 private:
34 friend class DataSwitch;
35 InstallationCreationContext();
36 void *d_{ nullptr };
37 };
38
39 } // namespace aubo_scope
40 } // namespace arcs
41
42 #endif // AUBO_SCOPE_INSTALLATION_CREATION_CONTEXT_H
class_forward.h
arcs::aubo_scope::InstallationCreationContext
Provides information about the context in which an installation node is created
Definition: installation_creation_context.h:16
arcs::aubo_scope::InstallationCreationContext::getLastSavedVersion
std::string getLastSavedVersion()
arcs::aubo_scope::InstallationCreationContext::getCreatedVersion
std::string getCreatedVersion()
arcs::aubo_scope::InstallationCreationContext::InstallationCreationContext
InstallationCreationContext()
arcs::aubo_scope::InstallationCreationContext::~InstallationCreationContext
~InstallationCreationContext()
arcs::aubo_scope::InstallationCreationContext::DataSwitch
friend class DataSwitch
Definition: installation_creation_context.h:34
arcs::aubo_scope::InstallationCreationContext::NodeCreationType
NodeCreationType
Definition: installation_creation_context.h:19
arcs::aubo_scope::InstallationCreationContext::NEW
@ NEW
Definition: installation_creation_context.h:20
arcs::aubo_scope::InstallationCreationContext::LOAD
@ LOAD
Definition: installation_creation_context.h:21
arcs::aubo_scope::InstallationCreationContext::getNodeCreationType
NodeCreationType getNodeCreationType()
arcs::aubo_scope::InstallationCreationContext::InstallationCreationContext
InstallationCreationContext(InstallationCreationContext &&f)
arcs::aubo_scope::InstallationCreationContext::InstallationCreationContext
InstallationCreationContext(InstallationCreationContext &f)
arcs::aubo_scope::InstallationCreationContext::d_
void * d_
Definition: installation_creation_context.h:36
arcs::aubo_scope::ARCS_CLASS_FORWARD
ARCS_CLASS_FORWARD(GripForceCapability)
arcs
Definition: contribution_provider.h:7