Created by Scott Robert Ladd at Coyote Gulch Productions.
An listener implementation that ignores all events. More...
#include <listener.h>
This listener ignores anything it hears.
virtual void libevocosm::null_listener< OrganismType >::ping_fitness_test_begin | ( | const OrganismType & | a_organism_number | ) | [inline, virtual] |
Ping that fitness testing of an organism begins.
a_organism_number | One-based number of the organism |
Implements libevocosm::listener< OrganismType >.
virtual void libevocosm::null_listener< OrganismType >::ping_fitness_test_end | ( | const OrganismType & | a_organism_number | ) | [inline, virtual] |
Ping that processing a generation has ended.
a_organism_number | One-based number of the organism |
Implements libevocosm::listener< OrganismType >.
virtual void libevocosm::null_listener< OrganismType >::ping_generation_begin | ( | const std::vector< OrganismType > & | a_population, |
size_t | a_iteration | ||
) | [inline, virtual] |
Ping that processing a generation begins.
a_population | Population before this generation's evolution |
a_iteration | One-based number of the generation begun |
Implements libevocosm::listener< OrganismType >.
virtual void libevocosm::null_listener< OrganismType >::ping_generation_end | ( | const std::vector< OrganismType > & | a_population, |
size_t | a_iteration | ||
) | [inline, virtual] |
Ping that processing a generation has ended.
a_population | population for which processing has ended |
a_iteration | One-based number of the generation ended |
Implements libevocosm::listener< OrganismType >.
virtual void libevocosm::null_listener< OrganismType >::report | ( | const std::string & | a_text | ) | [inline, virtual] |
This event provide status text specific to a given type of evocosm. The base evocosm
class does not call this function. The intention is that this function will be called from classes derived from evocosm
to report progress, statistics, or other useful information.
a_text | Application-specific text |
Implements libevocosm::listener< OrganismType >.
virtual void libevocosm::null_listener< OrganismType >::report_error | ( | const std::string & | a_text | ) | [inline, virtual] |
This event provides error text specific to a given type of evocosm. The base evocosm
class does not call this function. The intention is that this function will be called from classes derived from evocosm
to report problems.
a_text | Application-specific error text |
Implements libevocosm::listener< OrganismType >.
virtual void libevocosm::null_listener< OrganismType >::run_complete | ( | const std::vector< OrganismType > & | a_population | ) | [inline, virtual] |
Invoked when an evocosm finishes all processing. This way God can rest on the seventh day.
Implements libevocosm::listener< OrganismType >.
© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.