16 map<string, DEPICSvalue_data_t>::iterator result_itr =
stored_values.find(name);
20 return result_itr->second.value;
25 map<string, DEPICSvalue_data_t>::iterator result_itr =
stored_values.find(name);
29 return result_itr->second.cumulative_average;
34 map<string, DEPICSvalue_data_t>::iterator result_itr =
stored_values.find(new_value->
name);
52 for(map<string, DEPICSvalue_data_t>::iterator val_itr =
stored_values.begin();
54 val_itr->second.cumulative_average = 0.;
61 for(map<string, DEPICSvalue_data_t>::iterator val_itr =
stored_values.begin();
63 val_itr->second.first_time = new_start_time;
71 for(map<string, DEPICSvalue_data_t>::iterator val_itr =
stored_values.begin();
73 names.push_back(val_itr->first);
void AddValue(const DEPICSvalue *new_value)
void ResetStartTimes(time_t new_start_time)
const double GetAverage(string name)
struct DEPICSvalue_data DEPICSvalue_data_t
const DEPICSvalue * GetValue(string key)
vector< string > GetNames()
map< string, DEPICSvalue_data_t > stored_values
A DEPICSvalue object holds information for a single EPICS value read from the data stream...