#include <one_phase_pull.hh>
Collaboration diagram for DataForwardingHistory:

Definition at line 228 of file one_phase_pull.hh.
Public Member Functions | |
| bool | alreadyForwardedToLibrary (u_int16_t agent_id) |
| bool | alreadyForwardedToLibrary (u_int16_t sink_id) |
| bool | alreadyForwardedToNetwork (int32_t node_id) |
| bool | alreadyForwardedToNetwork (int32_t node_id) |
| bool | alreadyReinforced () |
| bool | alreadyReinforced () |
| DataForwardingHistory () | |
| DataForwardingHistory () | |
| void | forwardingToLibrary (u_int16_t agent_id) |
| void | forwardingToLibrary (u_int16_t sink_id) |
| void | forwardingToNetwork (int32_t node_id) |
| void | forwardingToNetwork (int32_t node_id) |
| void | sendingReinforcement () |
| void | sendingReinforcement () |
| ~DataForwardingHistory () | |
| ~DataForwardingHistory () | |
Private Attributes | |
| list< u_int16_t > | agent_list_ |
| bool | data_reinforced_ |
| list< int32_t > | node_list_ |
| list< int32_t > | node_list_ |
| list< u_int16_t > | sink_list_ |
|
|
Definition at line 230 of file one_phase_pull.hh. References data_reinforced_. 00231 { 00232 data_reinforced_ = false; 00233 };
|
|
|
Definition at line 235 of file one_phase_pull.hh. References node_list_, and sink_list_. 00236 { 00237 node_list_.clear(); 00238 sink_list_.clear(); 00239 };
|
|
|
Definition at line 201 of file two_phase_pull.hh. References data_reinforced_. 00202 { 00203 data_reinforced_ = false; 00204 };
|
|
|
Definition at line 206 of file two_phase_pull.hh. References agent_list_, and node_list_. 00207 { 00208 node_list_.clear(); 00209 agent_list_.clear(); 00210 };
|
|
|
Definition at line 222 of file two_phase_pull.hh. References agent_list_. 00223 { 00224 list<u_int16_t>::iterator list_itr; 00225 00226 list_itr = find(agent_list_.begin(), agent_list_.end(), agent_id); 00227 if (list_itr == agent_list_.end()) 00228 return false; 00229 return true; 00230 };
|
|
|
Definition at line 251 of file one_phase_pull.hh. References sink_list_. Referenced by GradientFilter::forwardData(), OnePhasePullFilter::forwardData(), GradientFilter::forwardExploratoryData(), and GradientFilter::forwardPushExploratoryData(). 00252 { 00253 list<u_int16_t>::iterator list_itr; 00254 00255 list_itr = find(sink_list_.begin(), sink_list_.end(), sink_id); 00256 if (list_itr == sink_list_.end()) 00257 return false; 00258 return true; 00259 };
|
|
|
Definition at line 212 of file two_phase_pull.hh. References node_list_. 00213 { 00214 list<int32_t>::iterator list_itr; 00215 00216 list_itr = find(node_list_.begin(), node_list_.end(), node_id); 00217 if (list_itr == node_list_.end()) 00218 return false; 00219 return true; 00220 };
|
|
|
Definition at line 241 of file one_phase_pull.hh. References node_list_. 00242 { 00243 list<int32_t>::iterator list_itr; 00244 00245 list_itr = find(node_list_.begin(), node_list_.end(), node_id); 00246 if (list_itr == node_list_.end()) 00247 return false; 00248 return true; 00249 };
|
|
|
Definition at line 232 of file two_phase_pull.hh. References data_reinforced_. 00233 { 00234 return data_reinforced_; 00235 };
|
|
|
Definition at line 261 of file one_phase_pull.hh. References data_reinforced_. 00262 { 00263 return data_reinforced_; 00264 };
|
|
|
Definition at line 247 of file two_phase_pull.hh. References agent_list_. 00248 { 00249 agent_list_.push_back(agent_id); 00250 };
|
|
|
Definition at line 276 of file one_phase_pull.hh. References sink_list_. Referenced by GradientFilter::forwardData(), OnePhasePullFilter::forwardData(), GradientFilter::forwardExploratoryData(), and GradientFilter::forwardPushExploratoryData(). 00277 { 00278 sink_list_.push_back(sink_id); 00279 };
|
|
|
Definition at line 242 of file two_phase_pull.hh. References node_list_. 00243 { 00244 node_list_.push_back(node_id); 00245 };
|
|
|
Definition at line 271 of file one_phase_pull.hh. References node_list_. 00272 { 00273 node_list_.push_back(node_id); 00274 };
|
|
|
Definition at line 237 of file two_phase_pull.hh. References data_reinforced_. 00238 { 00239 data_reinforced_ = true; 00240 };
|
|
|
Definition at line 266 of file one_phase_pull.hh. References data_reinforced_. 00267 { 00268 data_reinforced_ = true; 00269 };
|
|
|
Definition at line 254 of file two_phase_pull.hh. Referenced by alreadyForwardedToLibrary(), forwardingToLibrary(), and ~DataForwardingHistory(). |
|
|
Definition at line 284 of file one_phase_pull.hh. Referenced by alreadyReinforced(), DataForwardingHistory(), and sendingReinforcement(). |
|
|
Definition at line 250 of file two_phase_pull.hh. |
|
|
Definition at line 279 of file one_phase_pull.hh. Referenced by alreadyForwardedToNetwork(), forwardingToNetwork(), and ~DataForwardingHistory(). |
|
|
Definition at line 283 of file one_phase_pull.hh. Referenced by alreadyForwardedToLibrary(), forwardingToLibrary(), and ~DataForwardingHistory(). |
1.4.6