SNIP_CLASSIC_OS_SECTION_8_4_8_CheckObjectOwnership
Wortlaut
8.4.8 CheckObjectOwnership
[SWS_Os_00017] Definition of API function CheckObjectOwnership
Upstream requirements: SRS_Os_11010
⌈
Service Name
CheckObjectOwnership
Syntax
ApplicationType CheckObjectOwnership (
ObjectTypeType ObjectType,
void ...
)
Service ID [hex]
0x06
Sync/Async
Synchronous
Reentrancy
Reentrant
ObjectType
Type of the following parameter
Parameters (in)
...
The object to be examined
Parameters (inout)
None
Parameters (out)
None
Return value
ApplicationType
<OS-Application>: the OS-Application to which the object Object
Type belongs or
INVALID_OSAPPLICATION if the object does not exists
Description
This service determines to which OS-Application a given Task, ISR, Counter, Alarm or
Schedule Table belongs
Available via
Os.h
⌋
[SWS_Os_00273]
Upstream requirements: SRS_Os_11001
⌈If the object <ObjectType> specified in a call of CheckObjectOwnership exists,
CheckObjectOwnership shall return the identifier of the OS-Application to which
the object belongs.⌋
[SWS_Os_00274]
Upstream requirements: SRS_BSW_00323
⌈If in a call of CheckObjectOwnership the specified object <ObjectType> is invalid
OR the argument of the type (the ". . . ") is invalid OR the object does not belong to any
OS-Application, CheckObjectOwnership shall return INVALID_OSAPPLICATION.⌋
[SWS_Os_00520]
Upstream requirements: SRS_Os_11016
⌈Availability of CheckObjectOwnership: Available in Scalability Classes 3 and 4 and
in multi-core systems.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
ApplicationType valid range and INVALID_OSAPPLICATION
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_OS.pdf |
|---|---|
| Dokumentseite | Seite 178 |
| Ziel-Modul | os (classic) |
| Ziel-Anforderung | SWS_Os_00826 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.70 |