Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

SelectColleague Class Reference

SelectColleague provides support for selecting a sentence from a list. More...

#include <SelectColleague.hpp>

Inheritance diagram for SelectColleague::

corelinux::Colleague List of all members.

Public Methods

 SelectColleague (ListMediatorPtr)
 Default constructor.

 SelectColleague (SelectColleagueCref)
 Copy constructor.

virtual ~SelectColleague (void)
 Virtual destructor.

SelectColleagueRef operator= (SelectColleagueCref)
 Assignment operator.

bool operator== (SelectColleagueCref) const
 Equality operator.

virtual void getEventsGenerated (corelinux::EventIdentifiersRef)
 Implementation defined to return the identifiers of the events that this Colleague generates. More...

virtual void getInterestedEvents (corelinux::EventIdentifiersRef)
 Implementation defined to return the identifiers of the events that this Colleague is interested in. More...

bool getSelection (void)
 Returns true if selection was made.

virtual void action (corelinux::Event< corelinux::Identifier > *)
 Called by the mediator when another Colleague has generated an event that this colleague instance is interested in. More...


Detailed Description

SelectColleague provides support for selecting a sentence from a list.

When this occurs, it fires off an event with a SelectionMemento


Member Function Documentation

void SelectColleague::action corelinux::Event< corelinux::Identifier > *    [virtual]
 

Called by the mediator when another Colleague has generated an event that this colleague instance is interested in.

Parameters:
Event  pointer to event

void SelectColleague::getEventsGenerated corelinux::EventIdentifiersRef    [virtual]
 

Implementation defined to return the identifiers of the events that this Colleague generates.

Parameters:
EventIdentifiers  vector reference

Reimplemented from corelinux::Colleague.

void SelectColleague::getInterestedEvents corelinux::EventIdentifiersRef    [virtual]
 

Implementation defined to return the identifiers of the events that this Colleague is interested in.

Parameters:
EventIdentifiers  vector reference

Reimplemented from corelinux::Colleague.


The documentation for this class was generated from the following files:
This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium