AuboCaps
0.6.0
Main Page
Namespaces
Classes
Files
File List
File Members
include
aubo_caps
contribution
program
program_creation_context.h
Go to the documentation of this file.
1
#ifndef AUBO_SCOPE_PROGRAM_CREATION_CONTEXT_H
2
#define AUBO_SCOPE_PROGRAM_CREATION_CONTEXT_H
3
4
#include <
aubo_caps/class_forward.h
>
5
6
namespace
arcs
{
7
namespace
aubo_scope {
8
ARCS_CLASS_FORWARD
(ProgramCreationContext);
9
10
/**
11
* Provides information about the context in which an installation node is
12
* created
13
*/
14
class
ProgramCreationContext
15
{
16
public
:
17
enum
NodeCreationType
18
{
19
NEW
,
20
LOAD
21
};
22
23
ProgramCreationContext
(
ProgramCreationContext
&f);
24
ProgramCreationContext
(
ProgramCreationContext
&&f);
25
~ProgramCreationContext
();
26
27
NodeCreationType
getNodeCreationType
();
28
29
std::string
getCreatedVersion
();
30
std::string
getLastSavedVersion
();
31
32
private
:
33
friend
class
DataSwitch
;
34
ProgramCreationContext
();
35
void
*
d_
{
nullptr
};
36
};
37
38
}
// namespace aubo_scope
39
}
// namespace arcs
40
41
#endif // AUBO_SCOPE_PROGRAM_CREATION_CONTEXT_H
arcs::aubo_scope::ProgramCreationContext::getLastSavedVersion
std::string getLastSavedVersion()
arcs::aubo_scope::ProgramCreationContext::getCreatedVersion
std::string getCreatedVersion()
arcs::aubo_scope::ProgramCreationContext::ProgramCreationContext
ProgramCreationContext()
arcs::aubo_scope::ARCS_CLASS_FORWARD
ARCS_CLASS_FORWARD(GripForceCapability)
arcs::aubo_scope::ProgramCreationContext::getNodeCreationType
NodeCreationType getNodeCreationType()
class_forward.h
arcs::aubo_scope::ProgramCreationContext::~ProgramCreationContext
~ProgramCreationContext()
arcs::aubo_scope::ProgramCreationContext
Provides information about the context in which an installation node is created.
Definition:
program_creation_context.h:14
arcs::aubo_scope::ProgramCreationContext::d_
void * d_
Definition:
program_creation_context.h:35
arcs::aubo_scope::ProgramCreationContext::LOAD
Definition:
program_creation_context.h:20
arcs::aubo_scope::ProgramCreationContext::NodeCreationType
NodeCreationType
Definition:
program_creation_context.h:17
arcs::aubo_scope::ProgramCreationContext::DataSwitch
friend class DataSwitch
Definition:
program_creation_context.h:33
arcs
Definition:
contribution_provider.h:7
arcs::aubo_scope::ProgramCreationContext::NEW
Definition:
program_creation_context.h:19
Generated by
1.8.11