SNIP_CLASSIC_OS_SECTION_8_4_16_GetScheduleTableStatus
Wortlaut
8.4.16 GetScheduleTableStatus
[SWS_Os_00227] Definition of API function GetScheduleTableStatus
Upstream requirements: SRS_Os_11002
⌈
Service Name
GetScheduleTableStatus
Syntax
StatusType GetScheduleTableStatus (
ScheduleTableType ScheduleTableID,
ScheduleTableStatusRefType ScheduleStatus
)
Service ID [hex]
0x0e
Sync/Async
Synchronous
Reentrancy
Reentrant
Parameters (in)
ScheduleTableID
Schedule table for which status is requested
Parameters (inout)
None
Parameters (out)
ScheduleStatus
Reference to ScheduleTableStatusType
Return value
StatusType
E_OK: No Error
E_OS_ID (only in EXTENDED status): Invalid ScheduleTableID
Description
This service queries the state of a schedule table (also with respect to synchronization).
Available via
Os.h
⌋
[SWS_Os_00289]
Upstream requirements: SRS_Os_00098
⌈If the ScheduleTable <ScheduleTableID> in a call of GetScheduleTableStatus
is
NOT
started,
GetScheduleTableStatus
shall
pass
back
SCHEDULETABLE_STOPPED via the reference parameter <ScheduleStatus> AND shall return
E_OK.⌋
[SWS_Os_00353]
Upstream requirements: SRS_Os_00098
⌈If the ScheduleTable <ScheduleTableID> in a call of GetScheduleTableStatus
was used in a NextScheduleTable call AND waits for the end of the current ScheduleTable, GetScheduleTableStatus shall return SCHEDULETABLE_NEXT via the
reference parameter <ScheduleStatus> AND shall return E_OK.⌋
[SWS_Os_00354]
Upstream requirements: SRS_Os_11002
⌈If the ScheduleTable <ScheduleTableID> in a call of GetScheduleTableStatus is configured with explicit synchronization AND <ScheduleTableID> was started
with StartScheduleTableSynchronAND no synchronization count was provided to
the Operating System, GetScheduleTableStatus shall return SCHEDULETABLE_
WAITING via the reference parameter <ScheduleStatus> AND shall return E_OK.⌋
[SWS_Os_00290]
Upstream requirements: SRS_Os_11002
⌈If the ScheduleTable <ScheduleTableID> in a call of GetScheduleTableStatus
is started AND synchronous, GetScheduleTableStatus shall pass back SCHEDULETABLE_RUNNING_AND_SYNCHRONOUS via the reference parameter <Schedule
Status> AND shall return E_OK.⌋
[SWS_Os_00291]
Upstream requirements: SRS_Os_00098
⌈If the ScheduleTable <ScheduleTableID> in a call of GetScheduleTableStatus is started AND NOT synchronous (deviation is not within the precision interval
OR the ScheduleTable has been set asynchronous), GetScheduleTableStatus
shall pass back SCHEDULETABLE_RUNNING via the reference parameter Schedule
Status AND shall return E_OK.⌋
[SWS_Os_00293]
Upstream requirements: SRS_BSW_00323
⌈If the identifier <ScheduleTableID> in a call of GetScheduleTableStatus is NOT
valid, GetScheduleTableStatus shall return E_OS_ID.⌋
[SWS_Os_00528]
Upstream requirements: SRS_Os_11016
⌈Availability of GetScheduleTableStatus: 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 189 |
| Ziel-Modul | os (classic) |
| Ziel-Anforderung | SWS_Os_00785 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |