MCPcopy Create free account
hub / github.com/devosoft/avida / AddMessagePredicate

Method AddMessagePredicate

avida-core/source/main/cStats.cc:1884–1887  ·  view source on GitHub ↗

! This method adds a message predicate to the list of all predicates. Each predicate in the list is evaluated for every sent message. NOTE: cStats does NOT own the predicate pointer! (It DOES NOT delete them!) */

Source from the content-addressed store, hash-verified

1882 NOTE: cStats does NOT own the predicate pointer! (It DOES NOT delete them!)
1883 */
1884void cStats::AddMessagePredicate(cOrgMessagePredicate* predicate)
1885{
1886 m_message_predicates.push_back(predicate);
1887}
1888
1889void cStats::RemoveMessagePredicate(cOrgMessagePredicate* predicate)
1890{

Callers 4

ProcessMethod · 0.80
cActionDistributeDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected