BALL
1.4.2
|
#include <BALL/VIEW/KERNEL/message.h>
Public Member Functions | |
Constructors and Destructors | |
GenericSelectionMessage () | |
GenericSelectionMessage (const GenericSelectionMessage &message) | |
virtual | ~GenericSelectionMessage () |
Accessors: inspectors and mutators | |
void | setSelection (const std::list< Composite * > &selection) |
const std::list< Composite * > & | getSelection () const |
std::list< Composite * > & | getSelection () |
Public Member Functions inherited from BALL::VIEW::Message | |
Message () | |
Message (const Message &message) | |
virtual | ~Message () |
void | setSender (const ConnectionObject *sender) |
const ConnectionObject * | getSender () const |
void | setDeletable (bool flag=true) |
bool | isDeletable () const |
boost::any & | data () |
Private Attributes | |
std::list< Composite * > | selection_ |
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.
BALL::VIEW::GenericSelectionMessage::GenericSelectionMessage | ( | ) |
Default Constructor. The state is set to:
BALL::VIEW::GenericSelectionMessage::GenericSelectionMessage | ( | const GenericSelectionMessage & | message | ) |
Copy constructor.
|
virtual |
Destructor.
const std::list<Composite*>& BALL::VIEW::GenericSelectionMessage::getSelection | ( | ) | const |
Non-mutable inspection of the selection of Composite objects.
std::list<Composite*>& BALL::VIEW::GenericSelectionMessage::getSelection | ( | ) |
mutable inspection of the selection of Composite objects.
void BALL::VIEW::GenericSelectionMessage::setSelection | ( | const std::list< Composite * > & | selection | ) |
Change the selection of Composite objects. The selection list will be copied from the given list.