Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class 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 Member Functions

 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.

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

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.


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

Implements 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

Implements corelinux::Colleague.


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