Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::GenericSelectionMessage Class Reference
[Messages]

GenericSelectionMessage class. More...

#include <message.h>

Inheritance diagram for VIEW::GenericSelectionMessage:

VIEW::Message VIEW::ControlSelectionMessage List of all members.

Public Member Functions

Constructors and Destructors
 GenericSelectionMessage () throw ()
 Default Constructor.
 GenericSelectionMessage (const GenericSelectionMessage &message) throw ()
 Copy constructor.
virtual ~GenericSelectionMessage () throw ()
 Destructor.
Accessors: inspectors and mutators
void setSelection (const List< Composite * > &selection) throw ()
 Change the selection of Composite objects.
const List< Composite * > & getSelection () const throw ()
 Non-mutable inspection of the selection of Composite objects.
List< Composite * > & getSelection () throw ()
 mutable inspection of the selection of Composite objects.

Detailed Description

GenericSelectionMessage class.

GenericSelectionMessage is a container for Composite objects that are somehow selected. It will be sent by existing ConnectionObject objects that collect Composites objects for a certain purpose.


Constructor & Destructor Documentation

VIEW::GenericSelectionMessage::GenericSelectionMessage  )  throw ()
 

Default Constructor.

The state is set to:

  • composite list - empty

VIEW::GenericSelectionMessage::GenericSelectionMessage const GenericSelectionMessage message  )  throw ()
 

Copy constructor.

virtual VIEW::GenericSelectionMessage::~GenericSelectionMessage  )  throw () [virtual]
 

Destructor.


Member Function Documentation

List<Composite*>& VIEW::GenericSelectionMessage::getSelection  )  throw ()
 

mutable inspection of the selection of Composite objects.

const List<Composite*>& VIEW::GenericSelectionMessage::getSelection  )  const throw ()
 

Non-mutable inspection of the selection of Composite objects.

void VIEW::GenericSelectionMessage::setSelection const List< Composite * > &  selection  )  throw ()
 

Change the selection of Composite objects.

The selection list will be copied from the given list.