---
name: "ListColleague"
section: "3"
platform: "linux"
package: "libcorelinux-dev"
version: "0.4.32-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/ListColleague"
---

# ListColleague(3)

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

## NAME

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

## SYNOPSIS

`#include <ListColleague.hpp>`

Inherits **corelinux::Colleague**.

### 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!

## Author

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