| 1116 | } |
| 1117 | |
| 1118 | DDS::ReturnCode_t |
| 1119 | WriteDataContainer::obtain_buffer_for_control(DataSampleElement*& element) |
| 1120 | { |
| 1121 | DBG_ENTRY_LVL("WriteDataContainer","obtain_buffer_for_control", 6); |
| 1122 | |
| 1123 | ACE_NEW_MALLOC_RETURN( |
| 1124 | element, |
| 1125 | static_cast<DataSampleElement*>( |
| 1126 | sample_list_element_allocator_.malloc( |
| 1127 | sizeof(DataSampleElement))), |
| 1128 | DataSampleElement(publication_id_, |
| 1129 | this->writer_, |
| 1130 | PublicationInstance_rch()), |
| 1131 | DDS::RETCODE_ERROR); |
| 1132 | |
| 1133 | return DDS::RETCODE_OK; |
| 1134 | } |
| 1135 | |
| 1136 | DDS::ReturnCode_t |
| 1137 | WriteDataContainer::obtain_buffer(DataSampleElement*& element, |
no test coverage detected