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

Method NotifyData

avida-core/source/data/TimeSeriesRecorder.cc:151–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150 template <>
151 void TimeSeriesRecorder<PackagePtr>::NotifyData(Update update, DataRetrievalFunctor retrieve_data)
152 {
153 if (shouldRecordValue(update)) {
154 m_data.Push(DataEntry(update, retrieve_data(m_data_id)));
155 didRecordValue();
156 }
157 }
158
159
160 template <>

Callers 2

AttachRecorderMethod · 0.45
PerformUpdateMethod · 0.45

Calls 6

DataEntryClass · 0.85
PushMethod · 0.45
BoolValueMethod · 0.45
IntValueMethod · 0.45
DoubleValueMethod · 0.45
StringValueMethod · 0.45

Tested by

no test coverage detected