SNIP_CLASSIC_OS_SECTION_8_4_12_NextScheduleTable
Wortlaut
8.4.12 NextScheduleTable
[SWS_Os_00191] Definition of API function NextScheduleTable
Upstream requirements: SRS_Os_00099
⌈
Service Name
NextScheduleTable
Syntax
StatusType NextScheduleTable (
ScheduleTableType ScheduleTableID_From,
ScheduleTableType ScheduleTableID_To
)
Service ID [hex]
0x0a
Sync/Async
Synchronous
Reentrancy
Reentrant
ScheduleTableID_From
Currently processed schedule table
Parameters (in)
ScheduleTableID_To
Schedule table that provides its series of expiry points
Parameters (inout)
None
Parameters (out)
None
Return value
StatusType
E_OK: No error
E_OS_ID (only in EXTENDED status): ScheduleTableID_From or
ScheduleTableID_To
not valid
E_OS_NOFUNC: ScheduleTableID_From not started
E_OS_STATE: ScheduleTableID_To is started or next
Description
This service switches the processing from one schedule table to another schedule table.
Available via
Os.h
⌋
[SWS_Os_00282]
Upstream requirements: SRS_BSW_00323
⌈If the input parameter <ScheduleTableID_From> or <ScheduleTableID_To> in a call
of NextScheduleTable is not valid, NextScheduleTable shall return E_OS_ID.⌋
[SWS_Os_00330]
Upstream requirements: SRS_BSW_00323
⌈If in a call of NextScheduleTable ScheduleTable <ScheduleTableID_To> is
driven by different Counter than ScheduleTable <ScheduleTableID_From> then
NextScheduleTable shall return an error E_OS_ID.⌋
[SWS_Os_00283]
Upstream requirements: SRS_BSW_00323
⌈If the ScheduleTable <ScheduleTableID_From> in a call of NextScheduleTable
is in state SCHEDULETABLE_STOPPED OR in state SCHEDULETABLE_NEXT,
NextScheduleTable shall leave the state of <ScheduleTable_From> and <ScheduleTable_To> unchanged and return E_OS_NOFUNC.⌋
[SWS_Os_00309]
Upstream requirements: SRS_BSW_00323
⌈If the ScheduleTable <ScheduleTableID_To> in a call of NextScheduleTable
is not in state SCHEDULETABLE_STOPPED, NextScheduleTable shall leave the
state of <ScheduleTable_From> and <ScheduleTable_To> unchanged and return
E_OS_STATE.⌋
[SWS_Os_00484]
Upstream requirements: SRS_BSW_00323
⌈If
OsScheduleTblSyncStrategy
of
<ScheduleTableID_To>
in
a
call
of
NextScheduleTable is not equal to the OsScheduleTblSyncStrategy of
<ScheduleTableID_From> then NextScheduleTable shall return E_OS_ID.⌋
[SWS_Os_00284]
Upstream requirements: SRS_Os_00099
⌈If the input parameters of NextScheduleTable are valid then NextScheduleTable shall start the processing of ScheduleTable <ScheduleTableID_To>
<ScheduleTableID_From>.FinalDelay ticks after the Final Expiry Point on <ScheduleTableID_From> is processed and shall return E_OK. NextScheduleTable shall
process the Initial Expiry Point on <ScheduleTableID_To> at <ScheduleTableID_
From>.Final Delay + <ScheduleTable_To>.Initial Offset ticks after the Final Expiry Point
on <ScheduleTableID_From> is processed .⌋
[SWS_Os_00324]
Upstream requirements: SRS_Os_00099
⌈If the input parameters of NextScheduleTable are valid AND the <ScheduleTableID_From> already has a "next" ScheduleTable then NextScheduleTableshall
replace the previous "next" ScheduleTable with <ScheduleTableID_To> and shall
change the old "next" ScheduleTable state to SCHEDULETABLE_STOPPED.⌋
[SWS_Os_00505]
Upstream requirements: SRS_Os_11002
⌈If OsScheduleTblSyncStrategy of the ScheduleTables <ScheduleTableID_
From> and <ScheduleTableID_To> in a call of NextScheduleTable is EXPLICIT
and the Operating System module already synchronizes <ScheduleTableID_From>,
NextScheduleTable shall continue synchonization after the start of processing
<ScheduleTableID_To>.⌋
[SWS_Os_00453]
Upstream requirements: SRS_Os_00099
⌈If the <ScheduleTableID_From> in a call of NextScheduleTable is stopped,
NextScheduleTable shall not start the "next" ScheduleTable and change its state
to SCHEDULETABLE_STOPPED.⌋
[SWS_Os_00524]
Upstream requirements: SRS_Os_11016
⌈Availability of NextScheduleTable: Available in all Scalability Classes.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Cited verbatim in the snippet (deterministic citation).
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_OS.pdf |
|---|---|
| Dokumentseite | Seite 184 |
| Ziel-Modul | os (classic) |
| Ziel-Anforderung | SWS_Os_00783 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |