File: message.sip

package info (click to toggle)
ball 1.5.0%2Bgit20180813.37fc53c-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 239,888 kB
  • sloc: cpp: 326,149; ansic: 4,208; python: 2,303; yacc: 1,778; lex: 1,099; xml: 958; sh: 322; makefile: 95
file content (213 lines) | stat: -rw-r--r-- 4,377 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
class Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End
	public:
	Message() throw();
	Message(const Message&) throw();
};

class CompositeMessage
	: Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End
	public:

	enum CompositeMessageType
	{
		UNDEFINED = -1,
		NEW_COMPOSITE,
		REMOVED_COMPOSITE,
		CHANGED_COMPOSITE,
		CHANGED_COMPOSITE_HIERARCHY,
		SELECTED_COMPOSITE,
		DESELECTED_COMPOSITE,
		CENTER_CAMERA,
		NEW_MOLECULE
	};

	CompositeMessage() throw();
	CompositeMessage(const Composite& , CompositeMessageType , bool = true) throw();
	CompositeMessage(const CompositeMessage&) throw();
	void setComposite(const Composite&) throw();
	Composite* getComposite() const throw();
	void setCompositeName(const String&) throw();
	const String& getCompositeName() const throw();
	void setType(CompositeMessageType) throw();
	CompositeMessageType getType() const throw();
	void setUpdateRepresentations(bool) throw();
	bool updateRepresentations() const throw();
	void setShowSelectionInfos(bool) throw();
	bool showSelectionInfos() throw();
};

class SceneMessage
	: Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End
	public:

	enum SceneMessageType
	{
		UNDEFINED = 0,
		REBUILD_DISPLAY_LISTS,
		REDRAW,
		UPDATE_CAMERA,
		REMOVE_COORDINATE_SYSTEM,
		EXPORT_PNG,
		EXPORT_POVRAY,
		ENTER_ROTATE_MODE,
		ENTER_PICKING_MODE,
		ENTER_MOVE_MODE
	};
	SceneMessage(SceneMessageType = UNDEFINED) throw();
	SceneMessage(const SceneMessage&) throw();

	void setType(SceneMessageType) throw();
	SceneMessageType getType() const throw();
	void setStage(Stage) throw();
	Stage& getStage() throw();
};

class GenericSelectionMessage
	: Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End
	public:
	GenericSelectionMessage() throw();
	GenericSelectionMessage(const GenericSelectionMessage& ) throw();
	void setSelection(const PyCompositeList&) throw();
	PyCompositeList getSelection() const throw();
};

class ControlSelectionMessage
	: GenericSelectionMessage
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End
	public:
	ControlSelectionMessage() throw();
};

class NewSelectionMessage
	: Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End
	public:
	NewSelectionMessage() throw();
	bool openItems() throw();
	void setOpenItems(bool) throw();
};

class GeometricObjectSelectionMessage
	: Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
	#include <list>
	using std::list;
%End
	public:
	GeometricObjectSelectionMessage() throw();
	void setSelection(const list<GeometricObject*>& ) throw();
	const list<GeometricObject*>& getSelection() const throw();
	void setSelected(bool ) throw();
	bool isSelected() const throw();
};

class RepresentationMessage
	: Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End
	public:

	enum RepresentationMessageType
	{
		UNDEFINED = -1,
		ADD = 0,
		REMOVE,
		UPDATE,
		SELECTED,
		STARTED_UPDATE,
		FINISHED_UPDATE,
		ADD_TO_GEOMETRIC_CONTROL
	};

	RepresentationMessage() throw();
	RepresentationMessage(Representation& , RepresentationMessageType ) throw();
	void setRepresentation(Representation& ) throw();
	Representation* getRepresentation() throw();
	void setType(RepresentationMessageType ) throw();
	RepresentationMessageType getType() const throw();
};

class MolecularTaskMessage
	: Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End
	public:

	enum MolecularTaskMessageType
	{
		UNDEFINED = -1,
		BUILD_BONDS,
		CHECK_RESIDUE,
		ADD_HYDROGENS,
		CREATE_DISTANCE_GRID
	};

	MolecularTaskMessage(MolecularTaskMessageType = UNDEFINED) throw();
	void setType(MolecularTaskMessageType) throw();
	MolecularTaskMessageType getType() const throw();
};


class ShowDisplayPropertiesMessage
	:Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End
	public:
	ShowDisplayPropertiesMessage();
};


class CreateRepresentationMessage
	:Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End

	public:
	CreateRepresentationMessage() throw();
	CreateRepresentationMessage(const PyCompositeList&, ModelType,
		ColoringMethod) throw();
	ModelType getModelType() const throw();
	ColoringMethod getColoringMethod() const throw();
};

class DeselectControlsMessage
	: Message
{
%TypeHeaderCode
	#include <BALL/VIEW/KERNEL/message.h>
%End
	public:
	DeselectControlsMessage();
};