#include <message.h>
Inheritance diagram for VIEW::CompositeMessage:
Public Types | |
enum | CompositeMessageType { UNDEFINED = -1, NEW_COMPOSITE, REMOVED_COMPOSITE, CHANGED_COMPOSITE, CHANGED_COMPOSITE_HIERARCHY, SELECTED_COMPOSITE, DESELECTED_COMPOSITE, CENTER_CAMERA, NEW_MOLECULE } |
Public Member Functions | |
Constructors and Destructors | |
CompositeMessage () throw () | |
Default Constructor. | |
CompositeMessage (const Composite &composite, CompositeMessageType type, bool update_representations=true) throw () | |
CompositeMessage (const CompositeMessage &message) throw () | |
Copy constructor. | |
virtual | ~CompositeMessage () throw () |
Destructor. | |
Accessors: inspectors and mutators | |
void | setComposite (const Composite &composite) throw () |
Change the composite. | |
Composite * | getComposite () const throw () |
Inspection of the composite. | |
void | setCompositeName (const String &name) throw () |
Change the name of the composite. | |
const String & | getCompositeName () const throw () |
Inspection of the name of the composite. | |
void | setType (CompositeMessageType type) throw () |
CompositeMessageType | getType () const throw () |
void | setUpdateRepresentations (bool state) throw () |
bool | updateRepresentations () const throw () |
void | setShowSelectionInfos (bool state) throw () |
bool | showSelectionInfos () throw () |
Protected Attributes | |
CompositeMessageType | type_ |
Composite * | composite_ |
String | composite_name_ |
bool | update_representations_ |
bool | show_selection_infos_ |
With it ConnectionObject can notify and react to Composite changes.
|
|
|
Default Constructor. The state is set to:
|
|
Inspection of the composite.
|
|
Inspection of the name of the composite.
|
|
Change the composite.
|
|
Change the name of the composite.
|