functie Flush [SWS_LOG_00039] Upstream: RS_LT_00003, RS_LT_00049
void Flush () noexcept;
Sends out the current log buffer and initiates a new message stream. Note: Calling ara::log::LogStream::Flush is only necessary if the ara::log::LogStream object is going to be re-used within the same scope. Otherwise, if the object goes out of scope (e.g. end of function block) then the flushing operation will be done internally by the destructor. It is important to note that the ara::log::LogStream::Flush command does not empty the buffer, but it forwards the buffer’s current contents to the Logging framework.
Sends out the current log buffer and initiates a new message stream. Note: Calling ara::log::LogStream::Flush is only necessary if the ara::log::LogStream object is going to be re-used within the same scope. Otherwise, if the object goes out of scope (e.g. end of function block) then the flushing operation will be done internally by the destructor. It is important to note that the ara::log::LogStream::Flush command does not empty the buffer, but it forwards the buffer’s current contents to the Logging framework.
Validate requirementfunction Flush [SWS_LOG_00039] Upstream: RS_LT_00003 , RS_LT_00049
Was muss freigegeben werden?
Bestätige, dass der folgende Requirement-Text fachlich korrekt ist, zur genannten API gehört und ohne irreführende Importartefakte veröffentlicht werden kann.
Sends out the current log buffer and initiates a new message stream. Note: Calling ara::log::LogStream::Flush is only necessary if the ara::log::LogStream object is going to be re-used within the same scope. Otherwise, if the object goes out of scope (e.g. end of function block) then the flushing operation will be done internally by the destructor. It is important to note that the ara::log::LogStream::Flush command does not empty the buffer, but it forwards the buffer’s current contents to the Logging framework.Prüfkontext
De lidfunctie Flush van de klasse ara::log::LogStream (beschikbaar gesteld via het headerbestand ara/log/log_stream.h) verzendt de actuele toestand van de logbuffer naar het logging-framework en leidt tegelijkertijd een nieuwe berichtenstroom in [SWS_LOG_00039]. Belangrijk hierbij is het onderscheid dat de aanroep van ara::log::LogStream::Flush de buffer niet leegt, maar de actuele gegevens ervan ongewijzigd doorstuurt naar het framework [SWS_LOG_00039].
Een expliciete aanroep van de functie is alleen vereist als het ara::log::LogStream-object binnen dezelfde scope opnieuw moet worden gebruikt voor opeenvolgende log-uitvoer [SWS_LOG_00039]. Verlaat het object daarentegen zijn scope – bijvoorbeeld bij het bereiken van het einde van een functieblok –, dan vindt het verzenden van de buffer automatisch intern plaats via de destructor van de klasse [SWS_LOG_00039].
De methode heeft de signatuur void Flush () noexcept;, accepteert geen argumenten en heeft geen retourwaarde [SWS_LOG_00039]. Deze is aangemerkt als uitzonderingsveilig (“exception safe”), maar biedt geen thread-veiligheid (“not thread-safe”) [SWS_LOG_00039].
Deze gebruiksinstructie is gegenereerd door een AI op basis van de specificatie R25-11.
| Header-Datei | #include "ara/log/log_stream.h" |
|---|---|
| Scope | class ara::log::LogStream |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | not thread-safe |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| None |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_LOG_00039- Status
- valid/auto-approved
- Version
AUTOSAR/AP/record/SWS_LOG_00039@rel:R25-11#3bb467b4- Content hash
3bb467b4- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_LogAndTrace.pdf#nameddest=SWS_LOG_00039
Status: valid/auto-approved
Version: rel:R25-11#13a1717f
Versionshistorie & Revisions (3 transitions, 8 revision)
- Current State
valid/auto-approved- Reason
- unchanged
- Campaign
2026-08-sws-log-pilot-after-tool-improvement- Active Version
AUTOSAR/AP/record/SWS_LOG_00039@rel:R25-11#13a1717f
Recorded Revisions (8):
- R25-11
rel:R25-11#57455c372026-09-30 - R19-11
rel:R19-11#1f1e47ec2026-10-14 - R20-11
rel:R20-11#fd1f4b762026-10-14 - R21-11
rel:R21-11#fd1f4b762026-10-14 - R22-11
rel:R22-11#4c987cfb2026-10-14 - R23-11
rel:R23-11#91bc2c892026-10-14 - R24-11
rel:R24-11#13a1717f2026-10-14 - R25-11
rel:R25-11#13a1717f2026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-10 | tool | valid/unversioned → invalid/obsolete | spec update after tool improvement | 2026-08-sws-log-pilot-after-tool-improvement |
| 2026-08-10 | tool | invalid/obsolete → valid/auto-approved | unchanged | 2026-08-sws-log-pilot-after-tool-improvement |
| 2026-08-10T14:00:00Z | assistant | none → valid/auto-approved | Überführung vorhandener Prosa-Beschreibung in requirement_text-Format | legacy-desc-import |
gemini-3.8-flash-low· 2026-10-13 · Duits origineel