Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_task_backend_t Struct Reference

Backend vtable: an integrator's implementation of the task scheduling service for a specific OS/RTOS (ADR-005). Any slot may be NULL if unsupported by the backend (-> SAPI_STATUS_NOT_SUPPORTED). More...

#include <sapi_task_backend.h>

Data Fields

sapi_status_t(*) create (sapi_task_storage_t *storage, const sapi_task_config_t *config, sapi_task_handle_t *out_handle)
 Backend implementation of sapi_task_create(). May be NULL.
sapi_status_t(*) start (sapi_task_handle_t handle)
 Backend implementation of sapi_task_start(). May be NULL.
sapi_status_t(*) suspend (sapi_task_handle_t handle)
 Backend implementation of sapi_task_suspend(). May be NULL.
sapi_status_t(*) destroy (sapi_task_handle_t handle)
 Backend implementation of sapi_task_destroy(). May be NULL.

Detailed Description

Backend vtable: an integrator's implementation of the task scheduling service for a specific OS/RTOS (ADR-005). Any slot may be NULL if unsupported by the backend (-> SAPI_STATUS_NOT_SUPPORTED).

Definition at line 30 of file sapi_task_backend.h.

Field Documentation

◆ create

sapi_status_t(*) sapi_task_backend_t::create(sapi_task_storage_t *storage, const sapi_task_config_t *config, sapi_task_handle_t *out_handle)

Backend implementation of sapi_task_create(). May be NULL.

Definition at line 33 of file sapi_task_backend.h.

◆ start

sapi_status_t(*) sapi_task_backend_t::start(sapi_task_handle_t handle)

Backend implementation of sapi_task_start(). May be NULL.

Definition at line 37 of file sapi_task_backend.h.

◆ suspend

sapi_status_t(*) sapi_task_backend_t::suspend(sapi_task_handle_t handle)

Backend implementation of sapi_task_suspend(). May be NULL.

Definition at line 39 of file sapi_task_backend.h.

◆ destroy

sapi_status_t(*) sapi_task_backend_t::destroy(sapi_task_handle_t handle)

Backend implementation of sapi_task_destroy(). May be NULL.

Definition at line 41 of file sapi_task_backend.h.


The documentation for this struct was generated from the following file: