| 22 | |
| 23 | |
| 24 | bool GroupRakeData::insert_sample(ReceivedDataElement* sample, |
| 25 | ReceivedDataElementList* rdel, |
| 26 | SubscriptionInstance_rch instance, |
| 27 | size_t index_in_instance) |
| 28 | { |
| 29 | // Ignore DISPOSE and UNREGISTER messages in case they are sent |
| 30 | // in the group coherent changes, but it shouldn't. |
| 31 | if (!sample->valid_data_) { |
| 32 | return false; |
| 33 | } |
| 34 | |
| 35 | RakeData rd = {sample, rdel, instance, index_in_instance}; |
| 36 | this->sorted_.insert(rd); |
| 37 | |
| 38 | this->current_sample_ = this->sorted_.begin(); |
| 39 | return true; |
| 40 | } |
| 41 | |
| 42 | |
| 43 | void |
no test coverage detected