AuboCaps  0.6.0
installation_node_contribution.h
Go to the documentation of this file.
1 #ifndef AUBO_SCOPE_INSTALLATION_NODE_CONTRIBUTION_H
2 #define AUBO_SCOPE_INSTALLATION_NODE_CONTRIBUTION_H
3 
5 
6 namespace arcs {
7 namespace aubo_scope {
8 ARCS_CLASS_FORWARD(InstallationNodeContribution);
9 
10 /**
11  * API for installation node contributions.
12  */
14 {
15 public:
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
ARCS_CLASS_FORWARD(GripForceCapability)
virtual void openView()=0
Called each time the end user opens this AuboCap contribution in the Installation Tab...
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 closeView()=0
Called each time the end user exits this AuboCap contribution in the Installation Tab...