BALL::VIEW::GenericSelectionMessage Class Reference
[Messages]

#include <BALL/VIEW/KERNEL/message.h>

Inheritance diagram for BALL::VIEW::GenericSelectionMessage:
BALL::VIEW::Message BALL::VIEW::ControlSelectionMessage

List of all members.


Public Member Functions

Constructors and Destructors
 GenericSelectionMessage ()
 GenericSelectionMessage (const GenericSelectionMessage &message)
virtual ~GenericSelectionMessage ()
Accessors: inspectors and mutators
void setSelection (const List< Composite * > &selection)
const List< Composite * > & getSelection () const
List< Composite * > & getSelection ()

Private Attributes

List< Composite * > selection_

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

BALL::VIEW::GenericSelectionMessage::GenericSelectionMessage (  ) 

Default Constructor. The state is set to:

  • composite list - empty
BALL::VIEW::GenericSelectionMessage::GenericSelectionMessage ( const GenericSelectionMessage message  ) 

Copy constructor.

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

Destructor.


Member Function Documentation

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

mutable inspection of the selection of Composite objects.

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

Non-mutable inspection of the selection of Composite objects.

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

Change the selection of Composite objects. The selection list will be copied from the given list.


Member Data Documentation