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

Inheritance graph
[legend]
Collaboration diagram for ListColleague:

Collaboration graph
[legend]
List of all members.

Public Methods

 ListColleague ( ListMediatorPtr )
 Copy 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. More...

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

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

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

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 ( Event< Identifier >* aEvent ) [virtual]
 

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

Parameters:
Event   pointer to event

Reimplemented from corelinux::Colleague.

void ListColleague::getEventsGenerated ( EventIdentifiersRef aVector ) [virtual]
 

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

Parameters:
EventIdentifiers   vector reference

Reimplemented from corelinux::Colleague.

void ListColleague::getInterestedEvents ( EventIdentifiersRef aVector ) [virtual]
 

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

Parameters:
EventIdentifiers   vector reference

Reimplemented from 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