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

ListColleague Class Reference

Does anybody read these things? Anyway, ListColleage is the maintainer of the list, and is interested in changes made to keep it current. More...

#include <ListColleague.hpp>

Inheritance diagram for ListColleague:

corelinux::Colleague List of all members.

Public Member Functions

 ListColleague (ListMediatorPtr)
 Default constructor.

 ListColleague (ListColleagueCref)
 Copy constructor.

virtual ~ListColleague (void)
 Virtual destructor.

ListColleagueRef operator= (ListColleagueCref)
 Assignment operator.

bool operator== (ListColleagueCref) const
 Equality test.

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.

void initialize (void)
 Called once to get the list ready.

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

Does anybody read these things? Anyway, ListColleage is the maintainer of the list, and is interested in changes made to keep it current.


Member Function Documentation

void ListColleague::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 ListColleague::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 ListColleague::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.

void ListColleague::initialize void   ) 
 

Called once to get the list ready.

I'm sure there are more imaginitive ways. This is actually a by product of hurried example writing, violating many of my own standards. Well, my son had a baseball game I had to go to so I cut it short!


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