AuboStudio SDK  0.6.3
installation_node_contribution.h
浏览该文件的文档.
1#ifndef AUBO_SCOPE_INSTALLATION_NODE_CONTRIBUTION_H
2#define AUBO_SCOPE_INSTALLATION_NODE_CONTRIBUTION_H
3
5
6namespace arcs {
7namespace aubo_scope {
9
10/**
11 * API for installation node contributions.
12 */
14{
15public:
16 virtual ~InstallationNodeContribution() = default;
17
18 /**
19 * Called each time the end user opens this AuboCap contribution in the
20 * Installation Tab.
21 */
22 virtual void openView() = 0;
23
24 /**
25 * Called each time the end user exits this AuboCap contribution in the
26 * Installation Tab.
27 */
28 virtual void closeView() = 0;
29
30 /**
31 * Defines script code that is added to the beginning of the script code
32 * executed when a program is launched.
33 *
34 * @param writer serves to add script commands to program script code
35 * preamble.
36 */
37 virtual void generateScript(ScriptWriterPtr script_writer) = 0;
38};
39
40} // namespace aubo_scope
41} // namespace arcs
42
43#endif // AUBO_SCOPE_INSTALLATIONNODECONTRIBUTION_H
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
virtual void generateScript(ScriptWriterPtr script_writer)=0
Defines script code that is added to the beginning of the script code executed when a program is laun...
virtual void openView()=0
Called each time the end user opens this AuboCap contribution in the Installation Tab.
virtual void closeView()=0
Called each time the end user exits this AuboCap contribution in the Installation Tab.