Back to Fprime

Svc::PosixTime Component

Svc/PosixTime/docs/sdd.md

4.3.01.6 KB
Original Source

Svc::PosixTime Component

1. Introduction

The Svc::PosixTime is a component that provides system time on Posix systems. It implements the Time interface.

2. Requirements

RequirementDescriptionVerification
SVC-POSIX-TIME-001Svc::PosixTime shall return current system time as an Fw::Time objects in response to the timeGetPort port callUnit Test
SVC-POSIX-TIME-002Svc::PosixTime shall set the time context of returned Fw::Time objects to the value supplied by setTimeContextUnit Test

3. Design

Svc::PosixTime has a single port. It has no data types, commands, events, telemetry channels, nor substantial algorithms.

3.1 Ports

PortKindData TypeDescription
timeGetPortsync inputFw.TimePort returning current system design

3.2 Time Context

Returned Fw::Time objects carry a project-specific time context, which is 0 unless changed by a call to setTimeContext(). setTimeContext() is not synchronized and is intended to be called at startup, before the component is serving timeGetPort calls.

7. Change Log

DateDescription
4/20/2017Initial Version
10/12/2023Reworked into Svc::PosixTime
8/14/2026Added settable time context