AuboStudio SDK  0.6.3
popup_node.h
浏览该文件的文档.
1#ifndef AUBO_SCOPE_POPUP_NODE_H
2#define AUBO_SCOPE_POPUP_NODE_H
3
4#include <string>
6
7namespace arcs {
8namespace aubo_scope {
10
12{
13public:
20
23 virtual ~PopupNode();
24
25 /**
26 *
27 * @param message the message in the pop up for the end user
28 * @return this node
29 * @throws IllegalStateException if called from a Swing-based AuboCap
30 * outside of an {@link UndoableChanges} scope (see also {@link
31 * UndoRedoManager})
32 */
33
34 void setMessage(std::string message);
35 std::string getMessage();
36 /**
37 *
38 * @param type the type of pop up
39 * @return this node
40 * @throws IllegalStateException if called from a Swing-based AuboCap
41 * outside of an {@link UndoableChanges} scope (see also {@link
42 * UndoRedoManager})
43 */
44 void setType(Type type);
45 Type getType() const;
46
47private:
48 friend class DataSwitch;
50 void *d_{ nullptr };
51};
52
53} // namespace aubo_scope
54} // namespace arcs
55#endif // AUBO_SCOPE_POPUP_NODE_H
#define ARCS_ABI_EXPORT
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
void setMessage(std::string message)