DDS::ReturnCode_t DDS::OpenSplice::Utils::copyStatusOut( const v_deadlineMissedInfo &from, DDS::OfferedDeadlineMissedStatus &to) { DDS::ReturnCode_t result; v_object instance; result = DDS::RETCODE_ERROR; to.total_count = from.totalCount; to.total_count_change = from.totalChanged; if (!v_handleIsNil(from.instanceHandle)) { if (v_handleClaim(from.instanceHandle, &instance) == V_HANDLE_OK) { to.last_instance_handle = u_instanceHandleNew(v_public(instance)); if (v_handleRelease(from.instanceHandle) == V_HANDLE_OK) { result = DDS::RETCODE_OK; } } } else { result = DDS::RETCODE_OK; } return result; }
c_bool u_handleIsNil( u_handle h) { return v_handleIsNil (h); }