Reference

SelectColleague(3)

SelectColleague provides support for selecting a sentence from a list.

NAME

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

SYNOPSIS

#include <SelectColleague.hpp>

Inherits corelinux::Colleague.

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.

Author

Generated automatically by Doxygen for CoreLinux++ from the source code.

History